Page 1 of 1

[patchset] Texture cache improvements / Caching textures by checksum

PostPosted: Sat Feb 25, 2012 19:42
by jn
Because the current texture cache implementation is rather inefficient when switching between servers with different texture packs, I changed it to store the textures by their checksum, instead of their filename (e.g. default_dirt.png).
This patchset has one disadvantage that I can currently think of: You can't identify textures in the cache by their filenames anymore.

Please tell me if it works on other operating systems and configurations.

Version 1: http://repo.or.cz/w/minetest-c55/jn.git/shortlog/refs/heads/texture_cache_v1
- currently only tested on Debian (GNU/)Linux, where it works well

Version 2: http://repo.or.cz/w/minetest-c55/jn.git/shortlog/refs/heads/texture_cache_v2
- rebased on celeron's master branch of 2012-02-28

Feedback appreciated!

PostPosted: Sun Feb 26, 2012 00:24
by Death Dealer
Oh freakin awesome!

PostPosted: Sun Feb 26, 2012 12:38
by jn
Thank you! Does it work? On which OS?