summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2020-01-31 15:14:19 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2020-02-09 13:22:27 -0600
commit7cbb9822c1f00b12b3246cc50f67b2b336a4c7a4 (patch)
treeb9e2be928849f0b8e5fc7235562f7ca148281996 /Source/Core/VideoCommon/RenderBase.cpp
parent10223da6a87ee572ee534ff4dc6ffe1716986659 (diff)
VideoCommon: Remove widescreen heuristic debug logs.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index 59c7f12af4..8710f77998 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -1155,19 +1155,6 @@ void Renderer::UpdateWidescreenHeuristic()
g_ActiveConfig.aspect_mode == AspectMode::AnalogWide))
return;
- const auto& persp = flush_statistics.perspective;
- const auto& ortho = flush_statistics.orthographic;
-
- DEBUG_LOG(VIDEO,
- "flush stats: persp: 4:3=%ld 16:9=%ld other=%ld | ortho: 4:3=%ld 16:9=%ld other=%ld",
- persp.normal_flush_count, persp.anamorphic_flush_count, persp.other_flush_count,
- ortho.normal_flush_count, ortho.anamorphic_flush_count, ortho.other_flush_count);
-
- DEBUG_LOG(VIDEO,
- "vertex stats: persp: 4:3=%ld 16:9=%ld other=%ld | ortho: 4:3=%ld 16:9=%ld other=%ld",
- persp.normal_vertex_count, persp.anamorphic_vertex_count, persp.other_vertex_count,
- ortho.normal_vertex_count, ortho.anamorphic_vertex_count, ortho.other_vertex_count);
-
// Modify the threshold based on which aspect ratio we're already using:
// If the game's in 4:3, it probably won't switch to anamorphic, and vice-versa.
static constexpr u32 TRANSITION_THRESHOLD = 3;
@@ -1179,6 +1166,9 @@ void Renderer::UpdateWidescreenHeuristic()
return counts.anamorphic_vertex_count > counts.normal_vertex_count * TRANSITION_THRESHOLD;
};
+ const auto& persp = flush_statistics.perspective;
+ const auto& ortho = flush_statistics.orthographic;
+
const auto ortho_looks_anamorphic = looks_anamorphic(ortho);
if (looks_anamorphic(persp) || ortho_looks_anamorphic)