castano
035231a928
Minor changes.
2010-05-28 23:16:06 +00:00
castano
1454cbac14
Fix build.
2010-05-28 07:45:11 +00:00
castano
a32d780347
Experiment with output callbacks instead of handlers.
2010-05-18 17:13:30 +00:00
castano
a19e25228f
reorg.
2010-03-16 22:37:25 +00:00
castano
0e5a1877a8
Some progress on the CUDA compressors.
2009-11-05 09:27:03 +00:00
castano
8820c43175
Large refactoring of compressor codes:
...
- Define compressor interface.
- Implement compressor interface for different compressors.
- Add parallel compressor using OpenMP. Experimental.
- Add generic GPU compressor, so far only DXT1 enabled.
2009-10-21 07:48:27 +00:00
castano
568f34d838
Fix color weighted compression for single color blocks. Fixes issue 96.
2009-09-21 18:46:48 +00:00
castano
126816ef72
Experimental quality improvements and speed optimizations.
2009-07-06 09:08:09 +00:00
castano
35ff0e5aa6
Remove verbose error checking.
2009-03-18 05:51:15 +00:00
castano
8529dcf755
Fix memory leaks.
...
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
2009-03-18 05:46:53 +00:00
castano
56543e1a92
Merge changes from 2.0
2009-03-18 04:05:39 +00:00
castano
50b8b67185
Hide file format especific savers. Add generic image saver.
...
Misc fixes under OSX.
2009-03-15 10:18:54 +00:00
castano
d99cf11e2e
Update version checking code.
2009-03-14 03:30:20 +00:00
castano
49409e9d92
Cleanup color rounding and expansion.
2009-01-19 10:42:31 +00:00
castano
2ad15489bb
Try to optimize color rounding and expansion.
...
Detect CUDA 2.1 properly.
2009-01-19 09:54:43 +00:00
castano
e965b0e4a9
Include correct headers.
2009-01-04 07:29:35 +00:00
castano
a03411e451
Check version properly.
2008-12-16 20:25:12 +00:00
castano
931580edc5
Include cuda runtime properly.
2008-12-09 11:26:08 +00:00
castano
321f320bfb
Do not print stupid messages.
2008-11-22 00:13:14 +00:00
castano
7df0885c4f
Fix CUDA detection code on linux.
2008-11-14 01:15:36 +00:00
castano
1c5da0e341
Do not use cuda API when CUDA not found.
...
Fix end of lines.
2008-11-10 21:54:03 +00:00
castano
36ba75b598
Select fastest device.
2008-10-30 04:50:41 +00:00
castano
cf18077eda
Prevent missmatches between incompatible versions of the CUDA runtime and the CUDA driver.
2008-10-16 22:21:21 +00:00
castano
d01a5c1661
Workaround bug in CUDA runtime. When using CUDA 2.0, it's required to use a driver that supports CUDA 2.0.
2008-10-16 08:39:58 +00:00
castano
5234060618
Integrate branch 2.0 to trunk.
2008-10-15 07:16:57 +00:00
castano
2f6e885ced
Add DXT1 compressor that uses texture to avoid CPU swizzling.
...
Fix errors under emulation.
Experiment with DXT5 compressor.
2008-10-01 22:24:53 +00:00
castano
29a720bf82
Do not print text.
2008-05-22 21:32:09 +00:00
castano
a889f2fda6
Add support for alpha modes in the CUDA compressors.
2008-05-06 20:04:05 +00:00
castano
d855d0461b
Add single color checks to CUDA compressors.
...
Use optimized bitmap table for CTX compressor.
2008-05-06 19:52:27 +00:00
castano
8d9bf5c0b3
Fix after refactoring CPU compressors. Changes were not tested with CUDA enabled.
2008-04-29 22:31:55 +00:00
castano
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
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
b7a724448b
Remove unnecesary dependency.
2008-03-14 07:32:59 +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
e3e7fcb226
Check cuda errors to find out whether the cuda context initialization succeeded.
2008-02-28 17:52:32 +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
5dbfb20b60
Add DXT1n and CTX1 CUDA compressors.
2008-02-15 08:58:02 +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
d44b8e9358
Reenable QuickCompress for DXT5n.
...
Fix end of lines.
2008-02-01 02:33:51 +00:00
castano
64020a4cb7
Use tabs instead of spaces.
2008-01-18 23:51:20 +00:00
castano
30f8ef09b5
use tabs
2008-01-16 01:31:24 +00:00
castano
a46a788760
Fix end of lines
2008-01-16 01:30:40 +00:00
castano
2b716b62da
Add comments.
2008-01-07 07:26:40 +00:00
castano
26db14696a
Fix cuda constant initialization.
2007-12-17 06:27:53 +00:00
castano
9cfbb22d73
Update for API changes.
2007-12-17 04:10:58 +00:00
castano
6b016dae96
Fix color weighting metric.
2007-12-13 06:29:03 +00:00