Commit Graph

873 Commits (master)

Author SHA1 Message Date
Ignacio 9a16bebf8f Add external libs for comparisons and benchmarks. 4 years ago
Ignacio 4a33d1ac75 Add baboon image to waterloo image set. 4 years ago
Ignacio 9009962054 Minor cleanups and some experiments. 4 years ago
Ignacio 97723db794 Rename internal squish library to nvsquish to avoid conflicts. 4 years ago
Ignacio 4d47c0d2fc Comment out debug code. 4 years ago
Ignacio 5d7a761d6b Handle more DDS formats in Surface::load(). 4 years ago
Ignacio a3ae50b50f Update stb_image. 4 years ago
Ignacio 6dd3687be1 Minor cleanup. 4 years ago
Ignacio 3a99af11d7 Fix initialization of PVR texture header. 4 years ago
Ignacio e5b763b075 Minor fixes. 4 years ago
leper 831d8e1a91 Fix build on AArch64. Fixes #298. 4 years ago
VÖRÖSKŐI András 99bcaf719c Use isnan() instead of isnanf() on linux
isnanf() is deprecated since C99
4 years ago
leper 6474f25934 Don't include sys/sysctl.h on Linux.
Not only is sysctl() not used on this platform, but musl libc does not have the header.
4 years ago
Ignacio b45560cfc4
Merge pull request #292 from leper/clang_linking
Fix linking with Clang and clean up some linking directive
5 years ago
r-a-sattarov c621de8d2b E2K: added initial support for MCST Elbrus 2000 5 years ago
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
5 years ago
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>
5 years ago
Димитър Трендафилов d891d044e7
Minor fix to ATOC normalization. 5 years ago
Ignacio 84595a62f2 Add helper methods for jai bindings. 5 years ago
Ignacio c591c5f8b4 Compute spherical harmonics from cube maps. Work in progress. 5 years ago
leper 2ac75fc932 Remove duplicate link instruction. 5 years ago
leper 542711f862 Link with -fPIC when using Clang.
Remove the need for a few workarounds by handling this in just one place.
5 years ago
Ignacio 7c68e09d77 Fix ATOC overflow error on large textures. Merge fix from The Witness. 6 years ago
Ignacio a9a6f6968e Fix minor warnings.
Add output directories to ignore list.
6 years ago
Starnick 0f65d60602 Updated C-API to support 2D array textures + added missing enum values from nvtt.h 6 years ago
Ignacio d2b514a3c1 Comment out hack. 6 years ago
Ignacio a1c54bc7f7 Add fast sRGB conversion. 6 years ago
Ignacio bc60e8c154 Use our own parallel for by default to avoid dependencies. 6 years ago
Ignacio 1722b00802 FloatImage does not need a virtual dtor. 6 years ago
Ignacio 95f1f60490 Enable stb libraries for image loading. This was disabled by error. 6 years ago
Ignacio 5c70ffef0b
Merge pull request #287 from madscientist159/master
Fix build on OpenPOWER (ppc64le) platforms
6 years ago
Ignacio 005b2518c9 Install nvtt_wrapper.h. Fix issue #288. 6 years ago
Timothy Pearson 95454e9024 Fix build on OpenPOWER (ppc64le) platforms 6 years ago
Ignacio 95bd6193cc Fix bug 281. 6 years ago
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>
6 years ago
Ignacio 9489aed825 Merge changes from The Witness. 6 years ago
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>
6 years ago
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
6 years ago
Remi Papillie b03d5178fc Fix .hdr images being loaded as LDR before compression 6 years ago
Ignacio befe79d103 Merge changes from thekla-atlas. 6 years ago
Ignacio e442d6d390 Remove incorrect assert. Fixes issue #261. 7 years ago
Ignacio ed735ac2cb Fix alpha coverage subsampling. Fixes issue #266. 7 years ago
Justin Meiners d47de35893 added noalpha option to assemble and fixed RGB write 7 years ago
Ignacio 4fb0070b7e Do not use undeclared format. 7 years ago
Ignacio fa03dfc291 Add option to control prefered swizzle. 7 years ago
Ignacio 923b57db45 Merge pull request #255 from AMDmi3/patch-3
Use libexecinfo on FreeBSD as well
7 years ago
Ignacio ef30f69c9d Merge pull request #256 from AMDmi3/patch-4
Use HW_NCPU on FreeBSD as well
7 years ago
Ignacio 7849ee9e71 Merge pull request #260 from leper/master
Add virtual destructor to TaskDispatcher.
7 years ago
Ken Cooke 01597842fe Update CMakeLists.txt and vc8/9/10 projects 7 years ago
Ken Cooke 96b73af196 Fast implementations of toLinear() and toGamma() for default gamma=2.2 7 years ago
leper 78054e977b Add virtual destructor to TaskDispatcher.
This removes a GCC warning about that missing while virtual functions exist.
7 years ago
Dmitry Marakasov a64cc24169 Use HW_NCPU on FreeBSD as well 7 years ago
Dmitry Marakasov 6b24b1f45c Use libexecinfo on FreeBSD as well 7 years ago
Lunkhound 0535ab3414 fix a bug where created normal maps were not packed prior to compression 7 years ago
Lectem 24e63456c6 Fix compression for non multiple of 4 texture size
If the width or the height was not a multiple of 4, we would read data outside of the bitmap array
8 years ago
Ignacio 6fb57d3478 Fix order of kaiser parameters. 8 years ago
Ignacio 383331bb42 Fix issue #240. 8 years ago
Ignacio 1a75484520 Minor fixes. 8 years ago
Ignacio a11a6739c2 Fix comments. Minor fixes. 8 years ago
Lectem 1770ad7280 Fix build on VC2015
On VC2015 the project wouldn't build because of the missing typedefs.
This was tested on both 2013 and 2015.
8 years ago
Ignacio b0afc82d7d Minor osx fixes.
Remove FindCUDA and use cmake version instead.
8 years ago
Kamil Rytarowski 3c4ccd41fa Add basic NetBSD support 8 years ago
Timothy Pearson f8790a536a Fix remaining issues on PPC64EL
One AltiVec-related build issue remained
Self tests now pass on LE POWER platforms

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
Timothy Pearson 203eda1d47 Fix build on PPC64LE
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
Timothy Pearson 47b06d3255 Fix build failure due to PPM save incorrect data types
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
sanderd17 65b3dfa4a6 Fix compilation on GCC 6
GCC 6 apparently doesn't want to cast booleans to pointers anymore. So this fixes it for us. See also our changeset: http://trac.wildfiregames.com/changeset/18364
8 years ago
Ignacio 875a78a124 Merge pull request #236 from mpersano/master
Add support for compressing texture arrays.
8 years ago
mpersano 46e5c6a8ee Fix nvassemble command-line options parsing. 8 years ago
mpersano 2bd367a4dc Add support for compressing texture arrays.
Also add support for reading/writing DX10 uncompressed (RGB/lumi) textures, so
now it's possible to compress a texture array assembled with nvcompress.
8 years ago
Ignacio 49677da371 Remove executable property. 8 years ago
mpersano db8fc561c3 Support assembling texture arrays. 8 years ago
Ignacio 9b79638f79 Disable test code from nvdecompress. Update vc12 projects and fix vc12 build. Fixes bug #232. 9 years ago
Ignacio 7596650a2d Be more clear that Qt4 is not used. From cfcohen. 9 years ago
Ignacio 9d6c7d6a69 Integrate more changes from cfcohen. 9 years ago
Ignacio a20044bccc Integrate changes from cfcohen to supress warning. 9 years ago
Ignacio 268e6abd65 Integrate cfcohen changes to fix linker problems with gcc. 9 years ago
Ignacio 87ca69bd14 Do not output messages for disabled libraries. 9 years ago
Ignacio 63d29a508e Fix compiler warning. 9 years ago
Ignacio e9a8630a3f Increase array size to supress compiler warning. 9 years ago
Ignacio c0ad0f4d31 Merge changes from The Witness. 9 years ago
Ignacio Castaño a382ea5b21 Fix compiler warning. 9 years ago
Ignacio Castaño 26723de502 Fix memory leak reported by Sylvain Rochette in issue #229. 9 years ago
Ignacio 58617584d4 Apply patch provided in issue #224. Add support for ARM64. 9 years ago
Ignacio 4ef408b591 Remove debug code. 9 years ago
Ignacio d32f0e0173 Merge pull request #223 from cmdrf/no-include-library-h
Do not include Library.h
9 years ago
cmdrf 7b031aa4bf Do not include removed Library.h 9 years ago
cmdrf d01d72f8e7 Update NV_FOREACH for C++11 9 years ago
Ignacio 0d205015ae Merge pull request #221 from cmdrf/snprintf-vs2015
Do not redefine snprintf on VS2015
9 years ago
Ignacio 7aa0390f32 Merge pull request #220 from cmdrf/cmakecuda
Fix CMake CUDA introspection
9 years ago
cmdrf fa062aa298 Do not redefine snprintf on VS2015 9 years ago
cmdrf 205f492e2e Fix CMake CUDA introspection 9 years ago
cmdrf 899a99a106 Fix link order for Linux 9 years ago
cmdrf 766edcb1a6 Fix more link order for Linux 9 years ago
Thomas Roß 9ad63e7f3a Fixed compiler flag being set on wrong target. 9 years ago
Ignacio 81336cc3e9 Remove unnecessary files. 9 years ago
Ignacio e9d44813d2 Merge pull request #216 from esok/master
Added support for gcc and c++11 features.
9 years ago
Ignacio a083337473 Merge changes from The Witness. 9 years ago
esok 6bc3224fe7 Added support for gcc and c++11 features. 9 years ago
castano 7e2a9d1adb osx fixes. Fix issue 211. 10 years ago
castano 2d6fc0e304 DXT1 compressor tweaks. 10 years ago