4 Commits
Author SHA1 Message Date
LibretroAdmin 3f57a45773 Common: PNGs through libretro-common's rpng, not libspng
LoadPNG decodes with rpng, straight into the caller's buffer, and
SavePNG encodes with rpng through the frontend's VFS. Both go through
libretro-common's own deflate, so libspng, and with it one of zlib-ng's
users, goes; rpng, its streams and the deflate codec are copied in
unchanged from libretro-common.

On 72 PNGs of every colour type, 1 to 16 bits a channel, with and
without tRNS and Adam7, rpng decodes the same RGBA bytes libspng did,
and RGBA rows saved a stride apart read back exactly.

Every PNG saved is RGBA, so the RGB format goes, and rpng picks its own
compression, so the texture dumps' compression level, which this core
does not expose, goes with it.
2026-11-10 18:51:16 +01:00
Sintendo f2e1c71803 Common/FileSearch: Refactor DoFileSearch 2026-01-24 16:50:10 +01:00
Jordan Woyak 550e008774 VideoCommon: Scan texture dumping directory + subdirectories to not re-dump existing files. 2024-03-21 20:27:34 -05:00
iwubcode fb86c6342e VideoCommon: move texture dump function out of texture cache to its own free function so it can be used elsewhere. Doing this change may also slightly improve performance of this operation 2023-11-26 16:35:03 -06:00