From 51c984dde396d2612c6832df863f898af176d4c6 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Thu, 5 Nov 2015 18:15:46 +1300 Subject: Remove the "Show EFB Copy Regions" debug option. It was only implemented in OpenGL, though the option was visible in both backends, leading to memory leaks if you enabled it in DirectX. And it wasn't particularly useful as a debug feature as it only showed where in the EFB the copies were taken from, not what format it was, or what the copy was used for, or what content was in the EFB at that point in time. Also, it stretched the copy regions relative to the window, so the on-screen regions don't even line up with the window unless the game used the full EFB (some pal games) and you game image stretched to the full window. --- Source/Core/VideoCommon/BPStructs.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/Core/VideoCommon/BPStructs.cpp') diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 549ad19b08..0b94fcc2cc 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -223,9 +223,6 @@ static void BPWritten(const BPCmd& bp) // Check if we are to copy from the EFB or draw to the XFB if (PE_copy.copy_to_xfb == 0) { - if (g_ActiveConfig.bShowEFBCopyRegions) - stats.efb_regions.push_back(srcRect); - // bpmem.zcontrol.pixel_format to PEControl::Z24 is when the game wants to copy from ZBuffer (Zbuffer uses 24-bit Format) TextureCache::CopyRenderTargetToTexture(destAddr, PE_copy.tp_realFormat(), destStride, bpmem.zcontrol.pixel_format, srcRect, -- cgit v1.2.3