summaryrefslogtreecommitdiffstats
path: root/thirdparty/etcpak
Commit message (Collapse)AuthorAgeFilesLines
* [etcpak] Sync with upstreamBlueCube33102024-02-059-481/+180
|
* Implement ETC2_R and ETC2_RG compression to `etcpak`BlueCube33102023-12-194-24/+492
|
* Improve normal map VRAM Compression with RGTCBlueCube33102023-12-062-0/+120
|
* etcpak: Fix Android ARMv7 build with NDK r23Rémi Verschelde2022-06-291-4/+4
| | | | | Fix merged upstream. Fixes #62516.
* etcpak: Update to upstream release 1.0 (June 4, 2022)Rémi Verschelde2022-06-102-1/+3
| | | | | No change compared to our previous commit, just documentation update and a release tag we can track.
* etcpak: Update to upstream commit f128369 (May 13, 2022)bruvzg2022-05-131-1/+1
|
* etcpak: Update to upstream commit 10fc4ce (May 12, 2022)Rémi Verschelde2022-05-121-145/+939
| | | | Fixes support for ARMv7+NEON.
* etcpak: Update to upstream commit 7c3cb6f (Jul 29, 2021)Rémi Verschelde2021-09-222-208/+497
| | | | | Adds a new `useHeuristics` compression mode for ETC2. Upstream defaults to enable it so we do the same.
* etcpak: We only need the compression code, remove rest of etcpak appRémi Verschelde2021-04-1430-4535/+0
| | | | | | | | We do our own image loading, threading, and memory management in Godot already, so the only components we need from etcpak (at least as of now) are the `Compress*` methods defined in `ProcessDxtc.cpp` and `ProcessRGB.cpp`. So we don't need to compile or vendor the rest.
* etcpak: Fix handling of pthread naming API for Linux and MinGWRémi Verschelde2021-04-134-20/+77
| | | | | | | | | | | | | | For MinGW this is tricky to do as a two-step process like it was implemented, as `std::thread::native_handle()` is implementation-defined and depending on the MinGW distribution, it may or may not be a pthread handle. With mingw-gcc as packaged in Linux distros with pthread support it worked fine, but with llvm-mingw it was problematic. Setting the name in the thread directly as done for Apple platforms is simpler and works fine. Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
* Add `etcpak` library for faster ETC/ETC2/S3TC imports.K. S. Ernest (iFire) Lee2021-04-1343-0/+9382
- `etc` module was renamed to `etcpak` and modified to use the new library. - PKM importer is removed in the process, it's obsolete. - Old library `etc2comp` is removed. - S3TC compression no longer done via `squish` (but decompression still is). - Slight modifications to etcpak sources for MinGW compatibility, to fix LLVM `-Wc++11-narrowing` errors, and to allow using vendored or system libpng. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>