Commit Graph

734 Commits

Author SHA1 Message Date
1df69495fc Precompute fast cluster fit factors, and store as static const.
nvtt is completely reentrant now. Fixes issue 37.
cleanup interface of cuda compressors.
2008-04-18 08:49:32 +00:00
91eb30667f Add TLS class wrapper.
Fix AutoPtr operator=.
Fix typo.
2008-04-17 18:39:01 +00:00
34ae5bcb6f Merge 2.0 branch fixes. 2008-04-17 07:17:46 +00:00
bade8e5e09 Merge private branch. 2008-04-17 07:00:19 +00:00
141a05edf4 Merge private branch. 2008-04-17 06:59:29 +00:00
7d3facd81a Merge private branch. 2008-04-17 06:59:13 +00:00
17a4f765fb Merge private branch. 2008-04-17 06:58:43 +00:00
cb91740591 Merge private branch. 2008-04-17 06:58:18 +00:00
d10295fbf6 Use DXT1a single color compressor. 2008-04-17 06:55:26 +00:00
fa5e1f5a07 Add single color DXT1a compressor. 2008-04-17 06:54:29 +00:00
9d47e100f1 Add better support for the DX10 DDS formats. 2008-04-11 23:58:41 +00:00
4c759f999c Integrate decompressor tool improvements submitted by Amorilia. 2008-04-11 22:03:42 +00:00
299ad176fc Add experimental image based interface. 2008-04-11 08:06:15 +00:00
5070cc98d3 Do not use constructor that initializes POD types. 2008-04-11 06:50:36 +00:00
133ebfb282 Remove unused parameter warnings.
Do not compile tokenizer; it's not being used, and does not work on win64 yet.
2008-04-09 09:06:19 +00:00
ebe8054728 Cache HAVE_* variables so that they can be edited through the cmake gui. 2008-04-06 05:59:13 +00:00
bd3314f4af Add inputOptions argument to compressors, so that they can access alpha mode. 2008-03-27 04:28:17 +00:00
065c5f0689 Cleanup simple compressors. Move code from FastCompress to QuickCompress. 2008-03-20 01:39:02 +00:00
d2384cf47f Remove unused methods. 2008-03-14 08:40:48 +00:00
aff59c22b8 remove unused compressors 2008-03-14 08:40:11 +00:00
59be16d40a Remove unused fitting code. 2008-03-14 08:39:03 +00:00
b7a724448b Remove unnecesary dependency. 2008-03-14 07:32:59 +00:00
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
307c8b99ee Add support for premultiplied alpha. Patch by Charles Nicholson. 2008-03-07 00:41:03 +00:00
65aa7e1eaa Add interface for swizzle color xform. 2008-03-05 22:35:16 +00:00
f5ae4c1a9a Fix indexMirror error reported by Chris Lambert. 2008-03-05 19:42:45 +00:00
75c09220c8 Fix Image copy ctor bug reported by Richard Sim. 2008-03-05 19:11:41 +00:00
9f4b4bd532 Update comments about hole filling algorithms. 2008-03-04 00:13:44 +00:00
ff93ad41cb Fix end of lines. 2008-02-28 21:45:46 +00:00
56c7771100 Fix end of lines. 2008-02-28 21:45:26 +00:00
ccced843e3 Use smaller allocations to prevent errors.
Check for allocation errors.
2008-02-28 21:45:04 +00:00
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
e3e7fcb226 Check cuda errors to find out whether the cuda context initialization succeeded. 2008-02-28 17:52:32 +00:00
970395fba8 Fix osx build. 2008-02-28 17:02:29 +00:00
8a24a93e2f Disable CUDA when memory allocations fail. 2008-02-28 16:06:27 +00:00
d0c21cecfb Update stress test.
Fix errors in single color compressor.
2008-02-28 03:09:51 +00:00
b41752aa84 Apply singlecolorpatch.diff from Amir Ebrahimi.
Add single color compressor to CUDA implementation.
2008-02-16 09:53:07 +00:00
eb36ef86a7 Fix single color compressor. 2008-02-16 02:48:28 +00:00
5dbfb20b60 Add DXT1n and CTX1 CUDA compressors. 2008-02-15 08:58:02 +00:00
c7fcc3ef4b Improve stress test to detect errors in the output. 2008-02-14 09:21:57 +00:00
14ae88bb06 Fix leaks. Allocate CUDA memory only once. Free allocations when Compressor is destroyed. 2008-02-14 05:08:26 +00:00
c3749f48cd Bug fix. Only use tonormal conversion for top of the mipmap chain. 2008-02-11 08:35:32 +00:00
9d13742314 Fix errors in DDS loading code. 2008-02-11 07:01:11 +00:00
a9bd20270b Fix DDS reading code. 2008-02-11 07:00:45 +00:00
90eae7a480 Fix compilation error when SIMD is not supported. 2008-02-11 07:00:14 +00:00
525aa5b40b Remove duplicate. 2008-02-06 07:15:13 +00:00
7569ca136b Add missing file. 2008-02-06 07:15:00 +00:00
e1d5bda3e9 prevent overflow when compressing large images. 2008-02-05 22:41:58 +00:00
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
91ff256adf Do precomputation only when needed. 2008-02-04 10:12:32 +00:00