summaryrefslogtreecommitdiffstats
path: root/thirdparty/etcpak/patches/llvm-c++11-narrowing-errors.patch
Commit message (Collapse)AuthorAgeFilesLines
* etcpak: We only need the compression code, remove rest of etcpak appRémi Verschelde2021-04-141-64/+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.
* Add `etcpak` library for faster ETC/ETC2/S3TC imports.K. S. Ernest (iFire) Lee2021-04-131-0/+64
- `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>