VideoCommon: Remove widescreen heuristic debug logs.

This commit is contained in:
Jordan Woyak 2020-01-31 15:14:19 -06:00
parent 10223da6a8
commit 7cbb9822c1
1 changed files with 3 additions and 13 deletions

View File

@ -1155,19 +1155,6 @@ void Renderer::UpdateWidescreenHeuristic()
g_ActiveConfig.aspect_mode == AspectMode::AnalogWide)) g_ActiveConfig.aspect_mode == AspectMode::AnalogWide))
return; 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: // 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. // If the game's in 4:3, it probably won't switch to anamorphic, and vice-versa.
static constexpr u32 TRANSITION_THRESHOLD = 3; static constexpr u32 TRANSITION_THRESHOLD = 3;
@ -1179,6 +1166,9 @@ void Renderer::UpdateWidescreenHeuristic()
return counts.anamorphic_vertex_count > counts.normal_vertex_count * TRANSITION_THRESHOLD; 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); const auto ortho_looks_anamorphic = looks_anamorphic(ortho);
if (looks_anamorphic(persp) || ortho_looks_anamorphic) if (looks_anamorphic(persp) || ortho_looks_anamorphic)