Commit Graph

834 Commits

Author SHA1 Message Date
Ignacio
8e64503338 Update vc projects.
Disable RGETC for now.
2020-04-13 18:44:57 -07:00
Ignacio
a671567596 Update nvtt to use icbc library. 2020-04-13 18:01:33 -07:00
Ignacio
daff42781d Work toward packaging dxt1 compressor as a single header library. 2020-04-05 12:22:25 -07:00
Ignacio
1a6e70c9a0 Cleanup. Assume static linking. 2020-04-05 12:20:35 -07:00
Ignacio
860b639492 Remove unused code. 2020-04-04 10:40:58 -07:00
Ignacio
52e065d66a Update benchmark with rgbcx. 2020-04-04 10:21:00 -07:00
Ignacio
0b15c58692 Fix more build errors. 2020-04-04 10:18:58 -07:00
Ignacio
504ecc8e10 Fix build errors. 2020-04-04 10:17:01 -07:00
Ignacio
f68d894b8b Tweak endpoint refinement. 2020-03-30 16:35:17 -07:00
Ignacio
5eac5a4859 Experiment with endpoint refinement. Add Rich's encoder, not functional yet. 2020-03-30 10:13:59 -07:00
Ignacio
ca3871a28c More cleanups! 2020-03-30 10:12:29 -07:00
Ignacio
adce1a00da More cleanups. Assume static linking. 2020-03-30 10:09:31 -07:00
Ignacio
7f9c87713a Minor cleanups in nvmath. 2020-03-30 10:07:15 -07:00
Ignacio
4f0ecc4506 Add defer helper. 2020-03-30 10:06:10 -07:00
Ignacio
9a16bebf8f Add external libs for comparisons and benchmarks. 2020-03-23 10:07:38 -07:00
Ignacio
4a33d1ac75 Add baboon image to waterloo image set. 2020-03-23 10:05:31 -07:00
Ignacio
9009962054 Minor cleanups and some experiments. 2020-03-23 10:03:19 -07:00
Ignacio
97723db794 Rename internal squish library to nvsquish to avoid conflicts. 2020-03-23 10:02:07 -07:00
Ignacio
4d47c0d2fc Comment out debug code. 2020-03-23 10:01:12 -07:00
Ignacio
5d7a761d6b Handle more DDS formats in Surface::load(). 2020-03-23 10:00:40 -07:00
Ignacio
a3ae50b50f Update stb_image. 2020-03-23 09:59:44 -07:00
Ignacio
6dd3687be1 Minor cleanup. 2020-03-23 09:58:56 -07:00
Ignacio
3a99af11d7 Fix initialization of PVR texture header. 2020-03-23 09:58:19 -07:00
Ignacio
e5b763b075 Minor fixes. 2020-03-23 09:54:09 -07:00
Ignacio
b45560cfc4
Merge pull request #292 from leper/clang_linking
Fix linking with Clang and clean up some linking directive
2019-11-23 16:10:19 -08:00
r-a-sattarov
c621de8d2b E2K: added initial support for MCST Elbrus 2000 2019-11-23 16:40:53 +03:00
Nicholas.Woodfield
187fa60492 Updated C-API to expose some functionality present in the C++ API. Added the following functions and enums:
nvttSetOutputOptionsContainer [and NvttContainer, KTX/DDS10 formats can now be set as the output container]
nvttSetOutputOptionsSrgbFlag
nvttSetOutputOptionsErrorHandler [rearranged NvttError enum to match layout of nvtt::error]
nvttEnableCudaAcceleration
nvttIsCudaAccelerationEnabled
2019-09-06 17:54:40 -04:00
Elvis Dowson
d57ca44902 Enable CUDA support.
This commit also reintroduces nvcore Library.h and Library.cpp files
required by nvtt/cuda/CudaUtils.cpp

Ref:
https://github.com/castano/nvidia-texture-tools/issues/230
81336cc3e9

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2019-08-19 03:22:00 +04:00
Димитър Трендафилов
d891d044e7
Minor fix to ATOC normalization. 2019-02-15 15:06:29 +02:00
Ignacio
84595a62f2 Add helper methods for jai bindings. 2019-02-07 15:39:32 -08:00
Ignacio
c591c5f8b4 Compute spherical harmonics from cube maps. Work in progress. 2019-01-31 18:06:02 -08:00
leper
2ac75fc932 Remove duplicate link instruction. 2019-01-09 00:55:49 +01:00
leper
542711f862 Link with -fPIC when using Clang.
Remove the need for a few workarounds by handling this in just one place.
2019-01-09 00:55:19 +01:00
Ignacio
7c68e09d77 Fix ATOC overflow error on large textures. Merge fix from The Witness. 2018-10-29 12:52:00 -07:00
Ignacio
a9a6f6968e Fix minor warnings.
Add output directories to ignore list.
2018-10-29 12:37:16 -07:00
Starnick
0f65d60602 Updated C-API to support 2D array textures + added missing enum values from nvtt.h 2018-10-18 20:29:57 -04:00
Ignacio
d2b514a3c1 Comment out hack. 2018-10-10 16:30:25 -07:00
Ignacio
a1c54bc7f7 Add fast sRGB conversion. 2018-10-10 14:04:13 -07:00
Ignacio
bc60e8c154 Use our own parallel for by default to avoid dependencies. 2018-10-09 18:11:21 -07:00
Ignacio
1722b00802 FloatImage does not need a virtual dtor. 2018-10-09 18:10:25 -07:00
Ignacio
95f1f60490 Enable stb libraries for image loading. This was disabled by error. 2018-10-09 18:01:15 -07:00
Ignacio
5c70ffef0b
Merge pull request #287 from madscientist159/master
Fix build on OpenPOWER (ppc64le) platforms
2018-08-19 14:04:22 -07:00
Ignacio
005b2518c9 Install nvtt_wrapper.h. Fix issue #288. 2018-08-19 14:02:34 -07:00
Timothy Pearson
95454e9024 Fix build on OpenPOWER (ppc64le) platforms 2018-08-15 21:53:49 -05:00
Ignacio
95bd6193cc Fix bug 281. 2018-05-29 23:28:08 -07:00
Stefan Brüns
ff3bd55892 Fix compilation on Linux - missing include, semicolon
According to http://man7.org/linux/man-pages/man3/memalign.3.html ,
memalign() is defined in malloc.h.
Also, the line should be terminated with a semicolon.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-02-06 08:38:37 +01:00
Ignacio
9489aed825 Merge changes from The Witness. 2018-02-05 18:55:07 -08:00
Stefan Brüns
00d7e249e2 Add nvimgdiff to TOOLS target, so it is installed by default
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-02-02 19:46:58 +01:00
Stefan Brüns
389f7582e5 Fix linking of bc7, needs symbols from nvmath
If nvtt is build with -Wl,--as-needed, the linker will not resolve bc7
symbols from any library listed earlier, make sure it (also) appears
after libbc7.a
2018-02-02 19:46:54 +01:00
Remi Papillie
b03d5178fc Fix .hdr images being loaded as LDR before compression 2018-01-28 20:18:13 +01:00