diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-11-05 21:04:34 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-11-05 21:04:34 +1300 |
| commit | 85144f5f77db198724e6386670e05ae6ede42e7b (patch) | |
| tree | c1fd71aa53169064ba55f0b9061728259b0ce550 /Source/Core/VideoCommon | |
| parent | 290466d57aed8e7d827cc8528a3a9a7e914d25c5 (diff) | |
| parent | 51c984dde396d2612c6832df863f898af176d4c6 (diff) | |
Merge pull request #3233 from phire/remove-show-efb-copy-regions
[RFC] Remove the "Show EFB Copy Regions" debug option.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Statistics.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.h | 1 |
4 files changed, 0 insertions, 8 deletions
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, diff --git a/Source/Core/VideoCommon/Statistics.h b/Source/Core/VideoCommon/Statistics.h index cfb8891152..edd70bdf97 100644 --- a/Source/Core/VideoCommon/Statistics.h +++ b/Source/Core/VideoCommon/Statistics.h @@ -30,8 +30,6 @@ struct Statistics float g2proj_0, g2proj_1, g2proj_2, g2proj_3, g2proj_4, g2proj_5; float g2proj_6, g2proj_7, g2proj_8, g2proj_9, g2proj_10, g2proj_11, g2proj_12, g2proj_13, g2proj_14, g2proj_15; - std::vector<EFBRectangle> efb_regions; - struct ThisFrame { int numBPLoads; diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 5b2cf6c487..874e8f2ddb 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -67,7 +67,6 @@ void VideoConfig::Load(const std::string& ini_file) settings->Get("LogRenderTimeToFile", &bLogRenderTimeToFile, false); settings->Get("OverlayStats", &bOverlayStats, false); settings->Get("OverlayProjStats", &bOverlayProjStats, false); - settings->Get("ShowEFBCopyRegions", &bShowEFBCopyRegions, false); settings->Get("DumpTextures", &bDumpTextures, 0); settings->Get("HiresTextures", &bHiresTextures, 0); settings->Get("ConvertHiresTextures", &bConvertHiresTextures, 0); @@ -294,7 +293,6 @@ void VideoConfig::Save(const std::string& ini_file) settings->Set("UseFFV1", bUseFFV1); settings->Set("EnablePixelLighting", bEnablePixelLighting); settings->Set("FastDepthCalc", bFastDepthCalc); - settings->Set("ShowEFBCopyRegions", bShowEFBCopyRegions); settings->Set("MSAA", iMultisampleMode); settings->Set("SSAA", bSSAA); settings->Set("EFBScale", iEFBScale); diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h index 6504353004..e1681ca291 100644 --- a/Source/Core/VideoCommon/VideoConfig.h +++ b/Source/Core/VideoCommon/VideoConfig.h @@ -101,7 +101,6 @@ struct VideoConfig final bool bOverlayProjStats; bool bTexFmtOverlayEnable; bool bTexFmtOverlayCenter; - bool bShowEFBCopyRegions; bool bLogRenderTimeToFile; // Render |
