Commit Graph

883 Commits

Author SHA1 Message Date
castano
f5f0c16d7a Fix readBlock. Fixes issue 145. 2010-10-21 18:58:49 +00:00
castano
800c2f3e85 Merge changes from The-Witness. 2010-10-21 18:48:04 +00:00
castano
6ed91582ef Fix seek bug. Fixes issue 144. 2010-10-21 18:47:27 +00:00
castano
99ba5613fb Merge changes from the-witness. 2010-10-21 18:44:10 +00:00
castano
e0999208c3 Fix cuda compressor. Start work on new UI. 2010-10-18 08:47:50 +00:00
castano
0d8af13f00 Fix TGA loading using FreeImage. Fixes issue 141. 2010-10-13 17:49:16 +00:00
castano
a75c77557a Fix error after changes in Memory.h 2010-10-09 07:45:48 +00:00
castano
6bd759b974 Prefer the GLEW static library. 2010-10-06 02:57:35 +00:00
castano
8965a925dc Stop using custom memory allocators.
Fix aliasing errors. Fixes issue 139 in trunk.
Fix build errors under OSX.
2010-10-06 02:56:35 +00:00
castano
a39cda5634 Fix typo, fixes issue 137. 2010-09-20 17:14:13 +00:00
castano
c96f3e5458 tabs -> spaces 2010-09-20 06:59:24 +00:00
castano
755aee9123 Use posh typedefs.
Enable stacktraces on OS X.
2010-09-20 06:58:20 +00:00
castano
b5a84477c1 Fix alignment assumptions in DDS loading code. Fixes issue 132.
Merge misc changes from the-witness.
2010-09-07 18:24:50 +00:00
castano
ffd0c214df Fix mirror sampling in trunk. Fixes issue 135. 2010-09-07 18:08:53 +00:00
castano
854a38d01d Merge recent changes from the witness. 2010-08-31 01:39:08 +00:00
castano
b288e3db7e Merge fix for issue 134 into trunk. 2010-08-26 16:46:03 +00:00
castano
63a68bd4d9 Use INCLUDE_DIR instead of INCLUDE_PATH. Fixes issue 102. 2010-07-22 14:35:23 +00:00
castano
368b793a2e Merge changes from the-witness.
Fix DXT5n compressor.
2010-07-22 10:25:14 +00:00
castano
22e709b40f DXT1a single color compressor. Fixes issue 131.
Init single color tables at startup.
2010-07-22 09:23:17 +00:00
castano
aafdaf9abb Use noinline. 2010-07-13 23:28:31 +00:00
castano
7196ac6ab1 Merge changes from the witness. 2010-07-13 03:08:45 +00:00
castano
3209fb093f Add glew for real this time... 2010-07-01 00:55:39 +00:00
castano
f880d44d91 Add glew. 2010-07-01 00:50:31 +00:00
castano
b984c26a89 Add simple dds file viewer. 2010-07-01 00:26:37 +00:00
castano
8d109826c0 Add explicit load methods to DirectDrawSurface. 2010-07-01 00:25:44 +00:00
castano
f7ef0ce000 Fix build. Minor cleanups. 2010-06-24 07:45:39 +00:00
castano
a600d6ee93 Write BC6/BC7 headers in TexImage path. 2010-06-24 07:32:17 +00:00
castano
581a1e67d9 Replace tabs with spaces. 2010-06-24 07:17:36 +00:00
castano
ed3feef32b Fix build. 2010-06-24 07:10:34 +00:00
castano
c71d3a84eb BC6/7 progress. Work in progress. 2010-06-21 22:23:28 +00:00
castano
d6ad0ed5c1 Remove unused methods. Add float color block. 2010-06-21 22:23:01 +00:00
castano
8d3d72a95d Fix mingw warning. 2010-06-10 02:30:38 +00:00
castano
ce5de524dc Do not compile ui. 2010-06-10 02:30:25 +00:00
castano
c69edfa16e Fix errors when cuda is not enabled. 2010-06-10 02:30:01 +00:00
castano
41edfc0c22 Fix mingw error. 2010-06-10 02:29:04 +00:00
castano
5224147279 Fix mingw errors/warnings. 2010-06-10 02:28:49 +00:00
castano
a254f86b6c Do not enable CUDA under mingw. 2010-06-10 02:27:51 +00:00
castano
f17cc79141 Add mingw library for FreeImage. 2010-06-10 02:26:41 +00:00
castano
6d5e8a6116 Update FindCUDA. 2010-06-10 01:24:19 +00:00
castano
7f35eb17aa Some bug fixes and more progress toward BC6-7 support. 2010-06-03 07:58:03 +00:00
castano
b74558361b Add missing files for previous change.
Some cleanup.
2010-06-03 07:07:37 +00:00
castano
de77248f96 Add alpha map processor. 2010-06-03 05:49:04 +00:00
castano
b8871d6a9b Replace tabs with spaces. 2010-06-03 00:32:49 +00:00
castano
a70663e4d5 Fix format. 2010-06-01 19:25:49 +00:00
castano
4a0d66f911 Merge changes from 2.0. 2010-06-01 19:23:37 +00:00
castano
541e111e52 Fix assert when reading paletted TGA images. Fixes issue 125. 2010-06-01 17:51:57 +00:00
castano
35691bf5ff Imperative api is sort of working now. Fixed various bugs. 2010-06-01 02:04:33 +00:00
castano
fa8ae46deb Update vc9 project. 2010-06-01 02:04:09 +00:00
castano
cbe7f24ac4 Upgrade freeimage. 2010-06-01 02:03:06 +00:00
castano
9eca549686 More cleanup. 2010-05-31 08:13:23 +00:00
castano
d4be8668d4 More cleanup. 2010-05-31 07:41:01 +00:00
castano
2e4ddef393 Fix power method initial estimate as in squish. 2010-05-31 07:40:08 +00:00
castano
aeaeff1759 Remove executable properties. Add cmake file. 2010-05-30 05:43:14 +00:00
castano
1e699c378c Integrate bc6 compressor into nvtt. 2010-05-30 05:40:29 +00:00
castano
b8f053e0d4 Fix build error on OSX. 2010-05-29 05:33:28 +00:00
castano
5d5ec44e98 Add bc6 and bc7 compressors from nvidia. 2010-05-29 02:47:57 +00:00
castano
df99b252cc Minor changes. 2010-05-28 23:16:06 +00:00
castano
b7368d2352 Fix build. 2010-05-28 07:45:11 +00:00
castano
b52f05ea50 Merge private changes. 2010-05-27 23:21:10 +00:00
castano
949a17c34a Merge private changes. 2010-05-27 23:20:09 +00:00
castano
a3d92de90b Merge private branch. 2010-05-27 23:19:24 +00:00
castano
d10238d731 Merge private branch. 2010-05-27 23:18:39 +00:00
castano
4cff4d4567 Merge private branch. 2010-05-27 23:18:08 +00:00
castano
63bf60f2d6 fix polyphase filter 2010-05-27 19:28:49 +00:00
castano
625dd9918e Add mipmap scaling according to alphatest coverage. 2010-05-27 00:37:15 +00:00
castano
8f562e23bd Remove experimental callback mechanism. 2010-05-20 05:25:50 +00:00
castano
b6f564d049 Start work on a simple dds viewer. 2010-05-20 05:25:15 +00:00
castano
2c443ad846 Experiment with output callbacks instead of handlers. 2010-05-18 17:13:30 +00:00
castano
75a6aad56b fix comment. 2010-05-18 17:12:36 +00:00
castano
06abe9f51f Add comment. 2010-05-18 17:12:01 +00:00
castano
a582722285 Remove duplicate code. 2010-05-14 04:58:08 +00:00
castano
6257898171 Update vc9 project. 2010-05-11 18:20:06 +00:00
castano
a50862b234 Use the same defaults as nvtt 2.0 2010-05-11 17:18:08 +00:00
castano
36a560c26e Update latest stb_dxt. 2010-05-09 08:21:34 +00:00
castano
3152af28d3 Add vertical flip. 2010-05-05 00:24:31 +00:00
castano
6a020c0f43 Better estimation of principle component. Fixes issue 120. 2010-04-19 18:41:42 +00:00
castano
d1cd7444b1 Add missing files to cmake build as reported by amorilia. 2010-03-21 18:38:26 +00:00
castano
451de12b8b Fix FindOpenEXR cmake script. Fixes issue 97. 2010-03-18 00:21:13 +00:00
castano
d43753550b Fix cmake build in msvc. Fixes issue 111. 2010-03-18 00:13:31 +00:00
castano
51e7456880 Add support for RGBE. 2010-03-17 07:55:03 +00:00
castano
e7c1e80f43 Add a few utils. Start converting tabs to spaces. 2010-03-17 07:54:07 +00:00
castano
a3a2b7122a Finish pixel format converter. 2010-03-17 02:25:06 +00:00
castano
d3b2e074e8 Fix errors after merge. Update cmake files. 2010-03-16 22:46:09 +00:00
castano
d04d073fc1 reorg. 2010-03-16 22:37:25 +00:00
castano
ae165b37d3 minor optimization. 2010-03-16 22:36:14 +00:00
castano
e325ade1b6 misc 2010-03-16 22:35:38 +00:00
castano
3cd2e382d3 misc. 2010-03-16 22:35:20 +00:00
castano
35cf836113 Detect OpenMP properly. 2010-03-16 22:31:27 +00:00
castano
6f7e774e09 Fix isColorNoAlpha, but leave it commented out. 2010-03-10 08:49:40 +00:00
castano
78a97985fe Fix issue 112. 2010-03-02 01:29:48 +00:00
castano
3dec887437 Add external libs. 2009-11-05 09:43:54 +00:00
castano
a4eb606353 Some progress on the CUDA compressors. 2009-11-05 09:27:03 +00:00
castano
9d143e47f8 Add post build commands to 64 bit targets. 2009-11-05 00:31:16 +00:00
castano
afebe584e9 Patch posh to support freebsd. 2009-11-03 23:58:10 +00:00
castano
379d05a51e Add doc folder. 2009-11-03 23:57:36 +00:00
castano
dd46c4e606 Update cmake scripts. 2009-11-03 23:56:25 +00:00
castano
70090e7848 cmake build system update. 2009-11-03 23:55:38 +00:00
castano
28ce36da62 Add ignore lists. 2009-11-03 23:53:44 +00:00
castano
4cf01ce666 Add properties. 2009-11-03 23:51:41 +00:00
castano
6bd10c71ff Add ignore list. 2009-11-03 23:50:14 +00:00
castano
8386992177 Add ignore properties. 2009-11-03 23:44:05 +00:00
castano
32925b2452 Add ignore properties. 2009-11-03 23:43:35 +00:00
castano
b417c238b0 Add ignore properties. 2009-11-03 23:42:52 +00:00
castano
b12ffa1690 Update ignore file. 2009-11-03 23:40:10 +00:00
castano
9a9957216b Add ignore properties. 2009-11-03 23:39:03 +00:00
castano
30ff5737b5 Do not use external dependencies. 2009-11-03 23:28:18 +00:00
castano
2db0431f0d Update messages. 2009-11-03 23:27:24 +00:00
castano
15cbe0ae39 Fix messages. 2009-11-03 23:17:11 +00:00
castano
6902faa5b1 Update project uuid. 2009-11-03 23:08:11 +00:00
castano
6bb450f45b rename stress->testsuite 2009-11-03 18:48:25 +00:00
castano
435cbde200 Rename stress->testsuite 2009-11-03 18:48:03 +00:00
castano
463823736b use default pixel format, add comment to indicate where to change default 2009-10-30 01:05:31 +00:00
castano
503adfb29a Add more todo items.
Delete images more efficiently?
2009-10-21 19:20:30 +00:00
castano
ba4da115e9 Add todo item to perform color transforms before compression. 2009-10-21 19:19:09 +00:00
castano
558f39695e Who knows what msvc decided to change. 2009-10-21 18:29:46 +00:00
castano
77330f6535 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
226540a1c4 Enable alpha dithering when using DXT3.
Update timing message.
2009-10-21 07:43:24 +00:00
castano
af6ea428bd Use minimal set by default. 2009-10-21 07:42:33 +00:00
castano
3d312d98f7 Add todo messages.
Use DXT3 nvidia decoder if requested.
2009-10-21 07:42:08 +00:00
castano
8638fbc0da Add DXT3 nvidia decoder. 2009-10-21 07:40:49 +00:00
castano
178c378a86 Update info message. 2009-10-21 07:40:23 +00:00
castano
6edbba720e Implement generic swizzle, remove specialized ones. 2009-10-21 07:39:59 +00:00
castano
720a9a7c42 Fix timer. 2009-10-21 07:39:08 +00:00
castano
3b7aa7f84a Update project files. Many minor changes. Enable OpenMP. 2009-10-21 07:38:11 +00:00
castano
6db5381e2d Define new macro to point to extern dir. 2009-10-21 07:37:21 +00:00
castano
dde7d71ab6 Add comment. 2009-10-19 05:42:27 +00:00
castano
d04b641333 Add expand and pack normal methods.
Set normal map flag.
2009-10-18 20:04:39 +00:00
castano
e29744de47 Implement normal map generation for floating point images. 2009-10-18 20:03:21 +00:00
castano
bb809d3d5a Tweak implementation of scaleBias. 2009-10-18 20:02:43 +00:00
castano
2d77d59127 Update FindCUDA script to latest. 2009-10-18 08:11:51 +00:00
castano
4a89425f0c Merge changes from 2.0 2009-10-18 08:10:28 +00:00
castano
2891aeb151 Create default output handle on setFileName to avoid modifying const argument.
Fix ref counting errors in TexImage.
Format TODO messages.
2009-10-18 08:09:20 +00:00
castano
c9bd60f596 When compiling with gcc, define NV_FILE_LINE using gcc convention. 2009-10-18 08:04:25 +00:00
castano
00f0d117a5 Some more progress towards 2.1:
- Add raw input methods in context.
- Implement some of the TexImage input methods in context.
- Add output header context method for TexImage.
2009-10-12 07:56:02 +00:00
castano
26364f0ce4 Fix error in Snow Leopard. 2009-10-12 00:44:03 +00:00
castano
f9d5499f4b Fix cmake build. 2009-10-11 23:51:22 +00:00
castano
19373b9345 Fix color weighted compression for single color blocks. Fixes issue 96. 2009-09-21 18:46:48 +00:00
castano
d587683ed8 Rename texture to teximage. 2009-09-14 22:43:53 +00:00
castano
cdefe97afc Fix comment. 2009-08-26 01:27:50 +00:00
castano
72bd6376a9 Add files to repro bugs/request. 2009-07-28 08:07:48 +00:00
castano
8a23ca0357 Add support for R16 in DDS headers.
Cleanup DDS header output code.
Temporary testing code added to nvcompress.
2009-07-28 08:05:23 +00:00
castano
c8a90e2d42 Add support for UINT16 images when using freetype. 2009-07-28 08:03:36 +00:00
castano
8c01f119f7 Use tabs not spaces. 2009-07-28 08:03:08 +00:00
castano
0b0165a6eb Experimental quality improvements and speed optimizations. 2009-07-06 09:08:09 +00:00
castano
6743acae1d Add support function for stb compressor. 2009-07-06 09:06:40 +00:00
castano
f68be6a023 Remove commented out code. 2009-07-06 09:06:17 +00:00
castano
c2324d7a64 Add DXT5 tests.
Use timer class.
2009-07-06 09:05:54 +00:00
castano
1af471cb16 Add more third-party compressors. 2009-07-06 09:04:29 +00:00
castano
501688a4b6 Init default values. 2009-07-06 09:03:12 +00:00
castano
57f567457e Some progress implementing new api. 2009-07-06 09:02:20 +00:00
castano
b61801302e Add NV5x DXT5 decompressor. 2009-07-06 09:00:30 +00:00
castano
9649eec53f Fix msvc warnings. 2009-07-06 08:59:48 +00:00
castano
21e932977f Add a QPF timer. 2009-07-06 08:57:36 +00:00
castano
31b641011b Merge changes from 2.0 branch. 2009-07-06 08:56:55 +00:00
castano
7ef57321d6 Add dxt5 tests to testsuite. 2009-07-04 19:34:42 +00:00
castano
632d50c0f8 Add simd power solver. 2009-07-04 19:33:55 +00:00
castano
0c7c96656d Add example textures with alpha. 2009-07-04 19:32:09 +00:00
castano
b85360a3c9 Update cmake scripts to use new FindCUDA package. 2009-06-26 06:34:19 +00:00
castano
371f367c03 Use official FindCUDA cmake script. 2009-06-26 06:33:34 +00:00
castano
0a5c0283f6 Mark threads as required. 2009-06-13 14:27:53 +00:00
castano
62b36e8302 Fix error in zero padding. 2009-06-13 14:18:31 +00:00
castano
4ab1d782de Return correct error codes. Fix issue 92. 2009-06-13 14:17:46 +00:00
castano
1a587cb8de Use memory allocator correctly. 2009-06-13 14:17:10 +00:00
castano
26d5d2ef75 Update vc9 project files. 2009-04-21 09:31:59 +00:00
castano
6f74d0c99c Add alpha flag to DXT1a files. 2009-04-16 20:06:08 +00:00
castano
ec598dd4da Update nvmath project file. 2009-04-16 08:43:16 +00:00
castano
aa3ad3355a Update vc9 project. 2009-04-16 08:38:39 +00:00
castano
aa9ce389bd Remove static member that was not thread safe! 2009-04-12 03:13:13 +00:00
castano
0a4cc06206 Add comment about thread safety. 2009-04-12 03:10:40 +00:00
javiuniversidad@gmail.com
dd08e288f0 Add include to all configurations. 2009-04-11 16:10:31 +00:00
javiuniversidad@gmail.com
07e0cf1315 Required include added 2009-04-11 16:07:12 +00:00
castano
6d7f3600c4 Update wrapper, disable error handler temporarily. 2009-04-03 21:39:44 +00:00
castano
a19b0d5ff5 Update nvtt wrapper. 2009-04-03 21:37:50 +00:00
castano
b8e8b5fdc1 Remove msvc warnings. 2009-04-01 07:17:25 +00:00
castano
f829cbb02f Update projects. 2009-04-01 07:13:47 +00:00
castano
34727a87aa Add constructor that takes a stream. 2009-04-01 07:13:13 +00:00
castano
66a1e89cf8 Add option to select decompression algorithm to test suite. 2009-03-24 17:35:40 +00:00
castano
2ed7f9b369 Add support for FreeBSD. Patch by AMDmi3. 2009-03-21 07:44:26 +00:00
castano
6d90879515 Fix errors on win32. Define function pointers properly. 2009-03-21 07:43:15 +00:00
castano
b9a3f17802 Add proper todo message. 2009-03-21 07:42:36 +00:00
castano
227e1a7987 Add single color table generation code. 2009-03-19 10:06:42 +00:00
castano
a600aaa73e Update single color compression tables. 2009-03-19 10:00:43 +00:00
castano
2bfd30e21a Add farbrausch images to testsuite. 2009-03-19 10:00:26 +00:00
castano
075bed161e Fix errors in the pixel format conversion code. 2009-03-19 08:57:49 +00:00
castano
5c6d4f8b40 Fix win32 errors and errors in the png saving code. 2009-03-19 08:57:28 +00:00
castano
1a2c14ed6f Add farbrausch textures. 2009-03-19 06:28:32 +00:00
castano
df97ce883c Add data to repro bug reports. 2009-03-19 06:18:31 +00:00
castano
a86f68e745 Add one more exclude rule to pkg builder script. 2009-03-18 06:55:54 +00:00
castano
9ed0f6e143 Remove verbose error checking. 2009-03-18 05:51:15 +00:00
castano
9ba140126e Fix memory leaks.
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
2009-03-18 05:46:53 +00:00
castano
5145c9dcbc Merge changes from 2.0 2009-03-18 04:05:39 +00:00
castano
9311ca532f Add todo message. 2009-03-17 08:16:00 +00:00
castano
3569d8bdbc Add image saving code. 2009-03-17 08:14:28 +00:00
castano
58f37d31f4 Remove commented out code. 2009-03-17 06:33:31 +00:00
castano
3f34f7895b Avoid msvc8 warnings. 2009-03-16 21:08:09 +00:00
castano
d37549ba5c rename gnuwin back to gnuwin32 2009-03-16 19:42:25 +00:00
castano
f30b33f98e fix blend, add setborder and fill methods. 2009-03-16 09:05:32 +00:00
castano
02688520df Implement alpha premultiplication and color blending. 2009-03-16 08:54:43 +00:00
castano
2c510a0fe0 Implement toGreyScale.
Skip undefined images.
2009-03-16 08:47:20 +00:00
castano
34bbc55d87 More progress with imperative api.
Rename Texture to TexImage.
Implement image initialization.
Add stubs for all methods.
2009-03-16 08:37:07 +00:00