Commit Graph

25 Commits (8820c431750cb4f75744db028e77f1489a638524)

Author SHA1 Message Date
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.
15 years ago
castano 126816ef72 Experimental quality improvements and speed optimizations. 15 years ago
castano 35ff0e5aa6 Remove verbose error checking. 15 years ago
castano 8529dcf755 Fix memory leaks.
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
15 years ago
castano 931580edc5 Include cuda runtime properly. 16 years ago
castano 321f320bfb Do not print stupid messages. 16 years ago
castano 2f6e885ced Add DXT1 compressor that uses texture to avoid CPU swizzling.
Fix errors under emulation.
Experiment with DXT5 compressor.
16 years ago
castano 29a720bf82 Do not print text. 16 years ago
castano a889f2fda6 Add support for alpha modes in the CUDA compressors. 16 years ago
castano d855d0461b Add single color checks to CUDA compressors.
Use optimized bitmap table for CTX compressor.
16 years ago
castano 8d9bf5c0b3 Fix after refactoring CPU compressors. Changes were not tested with CUDA enabled. 16 years ago
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.
16 years ago
castano bd3314f4af Add inputOptions argument to compressors, so that they can access alpha mode. 16 years ago
castano 065c5f0689 Cleanup simple compressors. Move code from FastCompress to QuickCompress. 16 years ago
castano b7a724448b Remove unnecesary dependency. 16 years ago
castano ccced843e3 Use smaller allocations to prevent errors.
Check for allocation errors.
16 years ago
castano e3e7fcb226 Check cuda errors to find out whether the cuda context initialization succeeded. 16 years ago
castano 8a24a93e2f Disable CUDA when memory allocations fail. 16 years ago
castano 5dbfb20b60 Add DXT1n and CTX1 CUDA compressors. 17 years ago
castano 14ae88bb06 Fix leaks. Allocate CUDA memory only once. Free allocations when Compressor is destroyed. 17 years ago
castano 2b716b62da Add comments. 17 years ago
castano 9cfbb22d73 Update for API changes. 17 years ago
castano 854da30b8e Add nvassemble tool to create cubemaps, volumes, and texture arrays. 17 years ago
castano fc9538baf9 Precompute permutations. 17 years ago
castano e34a12a46f flatten tree. 17 years ago