Commit Graph

124 Commits

Author SHA1 Message Date
castano
0294c4ad93 Tag 2.0.2 release. 2008-04-17 08:59:21 +00:00
castano
141a05edf4 Merge private branch. 2008-04-17 06:59:29 +00:00
castano
d10295fbf6 Use DXT1a single color compressor. 2008-04-17 06:55:26 +00:00
castano
fa5e1f5a07 Add single color DXT1a compressor. 2008-04-17 06:54:29 +00:00
castano
4c759f999c Integrate decompressor tool improvements submitted by Amorilia. 2008-04-11 22:03:42 +00:00
castano
299ad176fc Add experimental image based interface. 2008-04-11 08:06:15 +00:00
castano
bd3314f4af Add inputOptions argument to compressors, so that they can access alpha mode. 2008-03-27 04:28:17 +00:00
castano
065c5f0689 Cleanup simple compressors. Move code from FastCompress to QuickCompress. 2008-03-20 01:39:02 +00:00
castano
aff59c22b8 remove unused compressors 2008-03-14 08:40:11 +00:00
castano
b7a724448b Remove unnecesary dependency. 2008-03-14 07:32:59 +00:00
castano
259e7c58fd 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
307c8b99ee Add support for premultiplied alpha. Patch by Charles Nicholson. 2008-03-07 00:41:03 +00:00
castano
65aa7e1eaa Add interface for swizzle color xform. 2008-03-05 22:35:16 +00:00
castano
ff93ad41cb Fix end of lines. 2008-02-28 21:45:46 +00:00
castano
56c7771100 Fix end of lines. 2008-02-28 21:45:26 +00:00
castano
ccced843e3 Use smaller allocations to prevent errors.
Check for allocation errors.
2008-02-28 21:45:04 +00:00
castano
dafe2b8841 Hide copy ctor and operator to prevent compiler warnings.
Wrap pimpl using NVTT_DECLARE_PIMPL macro.
2008-02-28 21:14:40 +00:00
castano
e3e7fcb226 Check cuda errors to find out whether the cuda context initialization succeeded. 2008-02-28 17:52:32 +00:00
castano
970395fba8 Fix osx build. 2008-02-28 17:02:29 +00:00
castano
8a24a93e2f Disable CUDA when memory allocations fail. 2008-02-28 16:06:27 +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
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
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