etcpak will no longer wait for compression to start until all image data is available. Data processing will now be performed simultaneously with PNG image decode process, which basically means that by the time the source image is fully loaded, we're almost done with the compression.
Some numbers.
Test | Time (full) | Time (minus PNG load) |
---|---|---|
etcpak 0.1 RGB | 1.12 s | 0.45 s |
etcpak 0.1 RGB + alpha | 1.36 s | 0.69 s |
etcpak 0.2 RGB | 0.83 s | 0.16 s |
etcpak 0.2 RGB + alpha | 1.00 s | 0.33 s |
This new version can be downloaded from https://bitbucket.org/wolfpld/etcpak/downloads.
No comments:
Post a Comment