dolphin/Source/Core
mimimi085181 3b9020dc9b Search the texture cache for small textures by address and hash
This fixes issue 6563:
https://code.google.com/p/dolphin-emu/issues/detail?id=6563

This PR adds a 2nd map to texture cache, which uses the hash as key. Cache entries from this new map are used only if the address matches or if the texture was fully hashed. This restriction avoids false positive cache hits. This results in a possible situation where safe texture cache accuracy could be faster than the fast one.

Small textures means up to 1KB for fast texture cache accuracy, 4KB for medium, and all textures for safe accuracy.

Since this adds a small overhead to all texture cache handling, some regression testing would be nice. Games, which use a lot of textures the same time, should be affected the most.
2015-06-05 21:30:39 +02:00
..
AudioCommon Use PanicAlert instead of PanicAlertT when appropriate 2015-06-04 13:25:17 +02:00
Common SDL: handle SDL_QUIT event 2015-06-05 19:34:06 +02:00
Core EXI_DeviceEthernet: Convert a volatile bool to an atomic 2015-06-05 09:37:14 -04:00
DiscIO Use PanicAlertT instead of PanicAlert when appropriate 2015-06-04 13:25:06 +02:00
DolphinQt Merge pull request #2484 from JosJuice/volume-return-types 2015-06-02 20:29:08 -04:00
DolphinWX SDL: handle SDL_QUIT event 2015-06-05 19:34:06 +02:00
InputCommon SDL: handle SDL_QUIT event 2015-06-05 19:34:06 +02:00
UICommon Merge pull request #2494 from Sonicadvance1/common_disassembler 2015-06-02 20:26:26 -04:00
VideoBackends Use PanicAlertT instead of PanicAlert when appropriate 2015-06-04 13:25:06 +02:00
VideoCommon Search the texture cache for small textures by address and hash 2015-06-05 21:30:39 +02:00
CMakeLists.txt Merge pull request #1085 from waddlesplash/refactoring 2014-10-05 21:25:44 -04:00