dolphin/Source/Core
mimimi085181 53663c00b9 Implement minimal emulation of TMEM caching
This is a remake of https://github.com/dolphin-emu/dolphin/pull/3749

Full credit goes to phire.

Old message:
"If none of the texture registers have changed and TMEM hasn't been invalidated or changed in other ways, we can blindly reuse the old texture cache entries without rehashing.

Not only does this fix the bloom effect in Spyro: A Hero's Tail (The game abused texture cache) but it will also provide speedups for other games which use the same texture over multiple draw calls, especially when safe texture cache is in use."

Changed the pr per phire's instructions to only return the current texture(s) if none of the texture registers were changed. If any texture register was changed, fall back to the default hashing and rebuilding textures from memory.
2017-07-10 01:49:27 +02:00
..
AudioCommon Swapped C-style arrays to std::array 2017-06-27 07:12:15 -03:00
Common LogManager: add SaveSettings 2017-07-07 16:44:38 -07:00
Core Core: fix log category for startup message 2017-07-09 18:48:35 +01:00
DiscIO Fix reading FSTs for multi-disc games 2017-07-08 15:17:05 +02:00
DolphinNoGUI NoGUI: Fix a missing include for Xlib 2017-06-13 11:46:13 +02:00
DolphinQt2 Merge pull request #5755 from ligfx/qtglobalorganizationname 2017-07-09 16:25:31 +02:00
DolphinWX Merge pull request #5764 from ligfx/cleanuplogmanager 2017-07-09 16:18:49 +02:00
InputCommon Disable Background Input when Background Input is disabled 2017-06-30 16:17:29 +02:00
UICommon Make Visual Studio happy 2017-06-28 20:42:01 +02:00
VideoBackends D3DBase: Only create a stereo swapchain when needed. 2017-07-10 01:24:43 +02:00
VideoCommon Implement minimal emulation of TMEM caching 2017-07-10 01:49:27 +02:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00