summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderBase.cpp
diff options
context:
space:
mode:
authormimimi085181 <mimimi085181@gmail.com>2015-09-07 20:53:38 +0200
committermimimi085181 <mimimi085181@gmail.com>2015-09-10 11:58:58 +0200
commit38f6cf208934c7415c16f69a26bf85b201c447ba (patch)
tree1dc8b25be5d6ada86836d51a6a3cbc16d4b1dfc1 /Source/Core/VideoCommon/VertexLoaderBase.cpp
parent921bab6b4d1656a83666083a9f198b4341ceeaf1 (diff)
Perform garbage collection for efb copies
This checks every TEXTURE_KILL_THRESHOLD frames, to see if the hash for the memory area of the efb copy has hanged. If it has changed, the efb copy can be removed, it wouldn't be used anymore. Before this pr, some efb copies would never be deleted. Fixes issue https://bugs.dolphin-emu.org/issues/6101 and possibly some other VRAM leaks.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
0 files changed, 0 insertions, 0 deletions