Commit Graph

212 Commits

Author SHA1 Message Date
castano
056aedea97 Fix error in DXT3 cuda compressor. 2008-04-17 08:16:10 +00:00
castano
dda3b661dd Update version number of DDS files. 2008-04-17 08:15:23 +00:00
castano
08ca2fbe16 Set correct swizzle code for 3Dc files. 2008-04-17 07:14:27 +00:00
castano
de042e828a Add plane class. 2008-04-17 07:06:00 +00:00
castano
64cbd74ef0 Merge trunk fixes. 2008-04-17 07:04:20 +00:00
castano
3d1b9324e1 Add single color compressor for DXT1a. 2008-03-27 05:07:40 +00:00
castano
07df6e7539 Merge trunk fixes to 2.0 branch. Get things ready for 2.0.2 release. 2008-03-27 04:44:29 +00:00
castano
46334cb96a Merge Viktor Linder patch into 2.0 and trunk.
Fixes RGB modes with less than 32 bpp.
2008-03-11 21:22:54 +00:00
castano
21fb83c081 Merge fixes from trunk. 2008-03-05 19:44:00 +00:00
castano
4c3549cb66 Merge copy ctor bug reported by Richard Sim.
Update ChangeLog.
2008-03-05 19:17:06 +00:00
castano
3dae7f9b70 Add missing changes. 2008-02-28 22:34:18 +00:00
castano
ebe47a0f78 Merge fixes from trunk.
- better error CUDA checking.
 - eliminate compiler warnings.
 - fix end of lines.
2008-02-28 22:29:37 +00:00
castano
21859216bc I should be using branches instead of tags. 2008-02-28 07:49:13 +00:00
castano
d0c21cecfb Update stress test.
Fix errors in single color compressor.
2008-02-28 03:09:51 +00:00
castano
b41752aa84 Apply singlecolorpatch.diff from Amir Ebrahimi.
Add single color compressor to CUDA implementation.
2008-02-16 09:53:07 +00:00
castano
eb36ef86a7 Fix single color compressor. 2008-02-16 02:48:28 +00:00
castano
5dbfb20b60 Add DXT1n and CTX1 CUDA compressors. 2008-02-15 08:58:02 +00:00
castano
c7fcc3ef4b Improve stress test to detect errors in the output. 2008-02-14 09:21:57 +00:00
castano
14ae88bb06 Fix leaks. Allocate CUDA memory only once. Free allocations when Compressor is destroyed. 2008-02-14 05:08:26 +00:00
castano
c3749f48cd Bug fix. Only use tonormal conversion for top of the mipmap chain. 2008-02-11 08:35:32 +00:00
castano
9d13742314 Fix errors in DDS loading code. 2008-02-11 07:01:11 +00:00
castano
a9bd20270b Fix DDS reading code. 2008-02-11 07:00:45 +00:00
castano
90eae7a480 Fix compilation error when SIMD is not supported. 2008-02-11 07:00:14 +00:00
castano
525aa5b40b Remove duplicate. 2008-02-06 07:15:13 +00:00
castano
7569ca136b Add missing file. 2008-02-06 07:15:00 +00:00
castano
e1d5bda3e9 prevent overflow when compressing large images. 2008-02-05 22:41:58 +00:00
castano
3c90686e00 Final API changes.
Rename OutputHandler::mipmap method to beginImage.
Add NVTT_VERSION.
Add nvtt::version function.
2008-02-05 00:28:13 +00:00
castano
91ff256adf Do precomputation only when needed. 2008-02-04 10:12:32 +00:00
castano
7b433f08f3 Minor optimizations.
Fix DXT1a support.
2008-02-04 10:01:43 +00:00
castano
357f18c162 Cleanup interface. Provide mipmap filter using a separate method. 2008-02-03 09:30:32 +00:00
castano
3fcf9c9773 Remove commented out code. 2008-02-03 08:27:02 +00:00
castano
039035ae25 Cleanup public header. 2008-02-03 08:24:58 +00:00
castano
79d305008a Add copy constructor and operator=. 2008-02-03 07:34:32 +00:00
castano
3b24951e93 Finish Compressor class.
Move all the image processing to Compressor.cpp.
Finish rescale support, close issue 12.
2008-02-03 07:31:09 +00:00
castano
6f28642282 Set useCuda if CUDA enabled in Compression class. 2008-02-01 19:51:54 +00:00
castano
90a0dc505b Fix typo.
Add bc1n option.
2008-02-01 19:50:55 +00:00
castano
2b291f7871 Fix typos. 2008-02-01 19:50:19 +00:00
castano
67e8ec376d Do not use small keyword. 2008-02-01 19:49:50 +00:00
castano
65842ac7e8 Fix typo.
Do not use small keyword.
2008-02-01 19:49:22 +00:00
castano
1d1dcfe922 Update compressor to new squish interface. 2008-02-01 19:48:51 +00:00
castano
b7f3ce664f Fix weighted cluster fit.
Set metric before color sets.
2008-02-01 19:48:12 +00:00
castano
d44b8e9358 Reenable QuickCompress for DXT5n.
Fix end of lines.
2008-02-01 02:33:51 +00:00
castano
05a760b2f6 Normalize inputs correctly. 2008-01-31 21:48:02 +00:00
castano
6fadaebae5 Disable quick green compressor, until I figure out what's the problem with it. 2008-01-31 21:07:18 +00:00
castano
5475f35262 Some cleanup. 2008-01-31 09:17:32 +00:00
castano
ddc79f69f4 Refactor internals.
Move compression functions to Compressor.cpp.
Implementing rescaling support in a cleaner way.
2008-01-30 08:21:55 +00:00
castano
9ebd736e98 Sync with vc8 file. 2008-01-26 05:37:19 +00:00
castano
ad6597b75e Add create minimal set option. 2008-01-26 05:32:23 +00:00
castano
ebf8234dc6 Update tools to new interface. 2008-01-26 02:47:43 +00:00
castano
d2105f922c More interface changes, update bindings.
Move globals to Compress class, to do CUDA initialization only once.
enableCUDA is broken, will be fixed later tonight.
2008-01-26 02:46:12 +00:00