dolphin/Source/Core/VideoCommon
mimimi085181 38f6cf2089 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.
2015-09-10 11:58:58 +02:00
..
AsyncRequests.cpp Merge pull request #2357 from degasus/ogl_efb_poke_merge 2015-05-25 23:26:39 -04:00
AsyncRequests.h Merge pull request #2357 from degasus/ogl_efb_poke_merge 2015-05-25 23:26:39 -04:00
AVIDump.cpp AVIDump: fix -Wsign-compare warning 2015-08-21 10:26:35 +02:00
AVIDump.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BoundingBox.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
BoundingBox.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
BPFunctions.cpp Cleanup and unify handling of efb copy stride. 2015-09-05 23:37:24 +12:00
BPFunctions.h Cleanup and unify handling of efb copy stride. 2015-09-05 23:37:24 +12:00
BPMemory.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BPMemory.h BPMemory/XFMemory: Convert defines to enums 2015-09-01 12:07:10 -04:00
BPStructs.cpp Cleanup and unify handling of efb copy stride. 2015-09-05 23:37:24 +12:00
BPStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CMakeLists.txt VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
CommandProcessor.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
CommandProcessor.h Fifo: Rewrite SyncGpu 2015-06-08 23:16:24 +02:00
ConstantManager.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
CPMemory.cpp Add a dirty flag for arraybases. 2015-05-30 04:39:48 +12:00
CPMemory.h Add a dirty flag for arraybases. 2015-05-30 04:39:48 +12:00
DataReader.h DataReader: Get rid of pointer casts 2015-08-27 13:43:04 -04:00
Debugger.cpp CommonFuncs: Remove SLEEP macro 2015-09-04 02:43:38 -04:00
Debugger.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DriverDetails.cpp Remove all of our workarounds for Qualcomm devices we don't support anymore. 2015-09-04 23:45:35 -05:00
DriverDetails.h Remove all of our workarounds for Qualcomm devices we don't support anymore. 2015-09-04 23:45:35 -05:00
Fifo.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
Fifo.h Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
FPSCounter.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
FPSCounter.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
FramebufferManagerBase.cpp Video: stride in bytes rather than pixels 2015-07-25 02:48:56 +08:00
FramebufferManagerBase.h Video: respect stride of efb copies to xfb 2015-07-25 01:52:12 +08:00
GeometryShaderGen.cpp VideoBackends: Reimplement SSAA, now for D3D + OGL 2015-09-06 19:40:00 +02:00
GeometryShaderGen.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GeometryShaderManager.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GeometryShaderManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
HiresTextures.cpp General: Toss out PRI macro usage 2015-09-05 16:02:35 -04:00
HiresTextures.h Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
ImageWrite.cpp Use PanicAlertT instead of PanicAlert when appropriate 2015-06-04 13:25:06 +02:00
ImageWrite.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
IndexGenerator.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
IndexGenerator.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
LightingShaderGen.h Remove all of our workarounds for Qualcomm devices we don't support anymore. 2015-09-04 23:45:35 -05:00
LookUpTables.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
MainBase.cpp Fifo: Rewrite SyncGpu 2015-06-08 23:16:24 +02:00
MainBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
NativeVertexFormat.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OnScreenDisplay.cpp Use emplace() instead of insert() where applicable for maps. 2015-06-28 19:52:40 -04:00
OnScreenDisplay.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpcodeDecoding.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpcodeDecoding.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PerfQueryBase.cpp Add missing license headers 2015-05-25 13:11:47 +02:00
PerfQueryBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
PixelEngine.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
PixelEngine.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PixelShaderGen.cpp VideoBackends: Reimplement SSAA, now for D3D + OGL 2015-09-06 19:40:00 +02:00
PixelShaderGen.h VideoBackends: Reimplement SSAA, now for D3D + OGL 2015-09-06 19:40:00 +02:00
PixelShaderManager.cpp VideoBackends: Allow the viewport to use the full depth range. 2015-06-06 03:37:46 +02:00
PixelShaderManager.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
PostProcessing.cpp Pass strings by const reference where possible 2015-05-28 20:54:55 -04:00
PostProcessing.h Pass strings by const reference where possible 2015-05-28 20:54:55 -04:00
RenderBase.cpp General: Toss out PRI macro usage 2015-09-05 16:02:35 -04:00
RenderBase.h Fix code to comply with coding style 2015-07-31 20:00:36 -04:00
sfont.inc Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
ShaderGenCommon.h VideoBackends: Reimplement SSAA, now for D3D + OGL 2015-09-06 19:40:00 +02:00
Statistics.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Statistics.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureCacheBase.cpp Perform garbage collection for efb copies 2015-09-10 11:58:58 +02:00
TextureCacheBase.h Make efb2tex behave more like efb2ram. 2015-09-07 02:32:01 +12:00
TextureConversionShader.cpp Move common EFB copy code into VideoCommon 2015-09-06 21:16:51 +12:00
TextureConversionShader.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder_Common.cpp Move common EFB copy code into VideoCommon 2015-09-06 21:16:51 +12:00
TextureDecoder_Generic.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder_x64.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder.h Improve comments for texture formats enum. 2015-09-06 21:16:51 +12:00
VertexLoader_Color.cpp Fix building with PCH disabled. 2015-09-01 13:45:23 -05:00
VertexLoader_Color.h VertexLoader: Remove the LOADERDECL define. 2015-06-20 20:52:54 -04:00
VertexLoader_Normal.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader_Normal.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Position.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader_Position.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
VertexLoader_TextCoord.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader_TextCoord.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
VertexLoader.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader.h VertexLoader: Remove the LOADERDECL define. 2015-06-20 20:52:54 -04:00
VertexLoaderARM64.cpp [AArch64] Minor improves to the vertex loader JIT 2015-09-04 19:57:08 -05:00
VertexLoaderARM64.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderBase.cpp General: Toss out PRI macro usage 2015-09-05 16:02:35 -04:00
VertexLoaderBase.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderManager.cpp VertexLoader: avoid empty lines in perf-$pid.map 2015-07-08 07:17:28 +02:00
VertexLoaderManager.h zfreeze: cache vertex positions 2015-06-07 12:13:00 +02:00
VertexLoaderUtils.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoaderX64.cpp Jit64: some byte-swapping changes 2015-08-26 05:41:18 +02:00
VertexLoaderX64.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexManagerBase.cpp zfreeze: cache vertex positions 2015-06-07 12:13:00 +02:00
VertexManagerBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
VertexShaderGen.cpp VideoBackends: Reimplement SSAA, now for D3D + OGL 2015-09-06 19:40:00 +02:00
VertexShaderGen.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexShaderManager.cpp VertexShaderManager: Remove unused parameter 2015-08-16 21:07:10 -04:00
VertexShaderManager.h VertexShaderManager: Remove unused parameter 2015-08-16 21:07:10 -04:00
VideoBackendBase.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoBackendBase.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
VideoCommon.h RealXFB sizes don't get scaled by IR 2015-07-25 01:52:13 +08:00
VideoCommon.vcxproj [windows] Update projects to vs2015. 2015-09-03 04:23:01 -07:00
VideoCommon.vcxproj.filters VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
VideoConfig.cpp Properly support MSAA and SSAA as separate features(+GLES) 2015-09-05 05:23:29 -05:00
VideoConfig.h Properly support MSAA and SSAA as separate features(+GLES) 2015-09-05 05:23:29 -05:00
VideoState.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoState.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XFMemory.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
XFMemory.h BPMemory/XFMemory: Convert defines to enums 2015-09-01 12:07:10 -04:00
XFStructs.cpp VertexShaderManager: Remove unused parameter 2015-08-16 21:07:10 -04:00
XFStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00