From 1e27183dff95ece6301b7171d2cd573a36a2dd65 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 5 Sep 2023 15:34:43 -0500 Subject: VideoCommon: Show the average projection to viewport ratio in statistics window. --- Source/Core/VideoCommon/Statistics.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/Statistics.cpp') diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp index aea3b0e957..6e6dedfc62 100644 --- a/Source/Core/VideoCommon/Statistics.cpp +++ b/Source/Core/VideoCommon/Statistics.cpp @@ -147,6 +147,9 @@ void Statistics::DisplayProj() const ImGui::Text("Projection 13: %f (%f)", gproj[13], g2proj[13]); ImGui::Text("Projection 14: %f (%f)", gproj[14], g2proj[14]); ImGui::Text("Projection 15: %f (%f)", gproj[15], g2proj[15]); + ImGui::NewLine(); + ImGui::Text("Avg Projection Viewport Ratio Persp(3D): %f", avg_persp_proj_viewport_ratio); + ImGui::Text("Avg Projection Viewport Ratio Ortho(2D): %f", avg_ortho_proj_viewport_ratio); ImGui::End(); } -- cgit v1.2.3 From df7dd5d36a4e817c1c555a869a2752d61f4318e6 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 9 Sep 2023 13:33:43 -0500 Subject: Config: Expose GFX_OVERLAY_PROJ_STATS setting in UI. --- Source/Core/VideoCommon/Statistics.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/VideoCommon/Statistics.cpp') diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp index 6e6dedfc62..378bffcd2a 100644 --- a/Source/Core/VideoCommon/Statistics.cpp +++ b/Source/Core/VideoCommon/Statistics.cpp @@ -120,7 +120,6 @@ void Statistics::Display() const ImGui::End(); } -// Is this really needed? void Statistics::DisplayProj() const { if (!ImGui::Begin("Projection Statistics", nullptr, ImGuiWindowFlags_NoNavInputs)) -- cgit v1.2.3