dolphin/Source
mimimi085181 2f8e0c9bb9 Allow multiple texture cache entries for textures at the same address
This is the same trick which is used for Metroid's fonts/texts, but for all textures. If 2 different textures at the same address are loaded during the same frame, create a 2nd entry instead of overwriting the existing one. If the entry was overwritten in this case, there wouldn't be any caching, which results in a big performance drop.

The restriction to textures, which are loaded during the same frame, prevents creating lots of textures when textures are used in the regular way. This restriction is new. Overwriting textures, instead of creating new ones is faster, if the old ones are unlikely to be used again.

Since this would break efb copies, don't do it for efb copies.

Castlevania 3 goes from 80 fps to 115 fps for me.

There might be games that need a higher texture cache accuracy with this, but those games should also see a performance boost from this PR.

Some games, which use paletted textures, which are not efb copies, might be faster now. And also not require a higher texture cache accuracy anymore. (similar sitation as PR https://github.com/dolphin-emu/dolphin/pull/1916)
2015-02-18 23:54:40 +01:00
..
Android Update Android cmake. 2015-01-26 21:26:54 -06:00
Core Allow multiple texture cache entries for textures at the same address 2015-02-18 23:54:40 +01:00
DSPSpy More minor consistency changes 2015-01-12 22:28:12 -05:00
DSPTool CMake: simplify some expressions 2015-01-03 13:17:57 +01:00
PCH Fix Intellisense error spam on Visual Studio. 2015-01-23 19:15:25 -08:00
UnitTests Convert our vertex loader unit test to the new RunVertices arguments arrangement. 2015-02-16 16:51:39 -06:00
VSProps Externals: update libusb to version 1.0.19 2015-02-12 01:04:43 +01:00
.clang-format
CMakeLists.txt Windows: Use a shared precompiled header for dolphin code under Source/ 2014-08-14 23:51:13 -07:00
dolphin-emu.sln make libusb vcxproj use standard dolphin template and don't compile strerror.c. 2015-02-18 13:29:39 -08:00