Commit Graph

138 Commits

Author SHA1 Message Date
castano
7629e396b8 Add SIMD implementation of power method. Fixes issue 94. 2009-06-14 08:18:23 +00:00
castano
cfb7d7e4ed Return correct error codes. Fix issue 92. 2009-06-13 14:15:55 +00:00
castano
5eef915c0b Fix issue 92. Return correct error codes. 2009-06-13 14:00:59 +00:00
castano
dc8fe745c0 Fix msvc warning. 2009-03-19 18:50:17 +00:00
castano
3322367311 Update single color compression tables. Fixes issue 85. 2009-03-19 10:02:53 +00:00
castano
6d9e6881d3 Shutdown CUDA properly. Fixes issue 83. 2009-03-18 05:52:14 +00:00
castano
4f58a1bf8b Merge changes from trunk. 2009-03-18 04:04:09 +00:00
castano
30eb24149e Fix typo. Fixes issue 81. 2009-02-03 08:00:59 +00:00
castano
bdb9502ac6 Include correct header file. 2009-01-17 03:27:49 +00:00
castano
bd7013a37b Detect CUDA 2.1 properly. 2009-01-17 03:21:24 +00:00
castano
1ec9f130e2 Print message indicating whether CUDA is enabled or not. 2009-01-17 03:21:08 +00:00
castano
5910d3f4bf Add -fPIC option for GCC, and cleanup a bit. 2009-01-10 01:28:52 +00:00
castano
d292859745 Remove testing code. 2009-01-05 18:21:50 +00:00
castano
4c197ab48c Include correct CUDA runtime headers. 2009-01-04 07:32:41 +00:00
castano
d827cee863 Fix version checking. 2008-12-16 20:27:18 +00:00
castano
d787b30379 Select fastest CUDA device. Merged from trunk. 2008-12-01 07:56:00 +00:00
castano
dbfb36b812 Fix CUDA Library detection on Linux. 2008-11-14 01:16:27 +00:00
castano
d58fd00fd9 Fix cmake file. Add NVTT_SHARED=1 definition to export DLL symbols. 2008-10-27 09:34:56 +00:00
castano
cd112e2133 Merge fixes from trunk. Prevent CUDA dll mismatches. 2008-10-27 09:17:09 +00:00
castano
112bf2c5c3 Fix error in CUDA single color compressor. 2008-10-27 07:49:32 +00:00
castano
da506404ad Compile nvtt as a shared library. 2008-10-15 18:39:28 +00:00
castano
c59e4db15a Implement general scale filter, including upsampling 2008-09-27 07:32:11 +00:00
castano
5fbeb8d34b Fixed error in CompressRGB, as reported by jonsoh in issue 49.
Added support for RGBA pixel format dithering. Fixes issue 50 and issue 51.
Add PixelFormat.h to vc8 project.
2008-06-12 01:16:52 +00:00
castano
0b17e3095a Update 2.0 project file.
Fix backported cuda kernel.
2008-06-09 19:05:49 +00:00
castano
6e1a87129f Integrate bug fixes from trunk. 2008-06-09 08:27:00 +00:00
castano
f7bbd4b4d7 Merge improved DXT3 compressor from trunk. Fix issue 38. 2008-04-26 08:05:21 +00:00
castano
056aedea97 Fix error in DXT3 cuda compressor. 2008-04-17 08:16:10 +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
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
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