summaryrefslogtreecommitdiffstats
path: root/modules/etcpak/image_etcpak.h
Commit message (Collapse)AuthorAgeFilesLines
* Import: Cleanup and optimize etcpak compression methodRémi Verschelde2021-04-161-51/+0
| | | | | | | | | | Avoid unnecessary allocation of temporary buffers for each mip, and creates only one Image with the compressed data. Also renames variable and reorders code for clarity. Clarify that squish is now only used for decompression. Documented which formats can be decompressed in Image.
* Add `etcpak` library for faster ETC/ETC2/S3TC imports.K. S. Ernest (iFire) Lee2021-04-131-0/+51
- `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>