summaryrefslogtreecommitdiffstats
path: root/thirdparty/etcpak/ProcessRGB.hpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-09-22 13:09:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-09-22 13:17:07 +0200
commit3691cb0ca4603786e3811d747e07e915684be603 (patch)
tree030bb9d961a96ec041ca6f1b616d022242d81e48 /thirdparty/etcpak/ProcessRGB.hpp
parent211cb401db71021beef5b475e52fd6ea8a161777 (diff)
downloadredot-engine-3691cb0ca4603786e3811d747e07e915684be603.tar.gz
etcpak: Update to upstream commit 7c3cb6f (Jul 29, 2021)
Adds a new `useHeuristics` compression mode for ETC2. Upstream defaults to enable it so we do the same.
Diffstat (limited to 'thirdparty/etcpak/ProcessRGB.hpp')
-rw-r--r--thirdparty/etcpak/ProcessRGB.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/etcpak/ProcessRGB.hpp b/thirdparty/etcpak/ProcessRGB.hpp
index c5555a5bb1..043b46e636 100644
--- a/thirdparty/etcpak/ProcessRGB.hpp
+++ b/thirdparty/etcpak/ProcessRGB.hpp
@@ -4,10 +4,10 @@
#include <stdint.h>
void CompressEtc1Alpha( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
-void CompressEtc2Alpha( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
+void CompressEtc2Alpha( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width, bool useHeuristics );
void CompressEtc1Rgb( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
void CompressEtc1RgbDither( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
-void CompressEtc2Rgb( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
-void CompressEtc2Rgba( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
+void CompressEtc2Rgb( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width, bool useHeuristics );
+void CompressEtc2Rgba( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width, bool useHeuristics );
#endif