diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-20 03:35:04 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-27 02:22:03 +0100 |
commit | 3b4e4003336c94527339a2a9ad7d52875974258f (patch) | |
tree | 18e6e1125ff486ff3f9bd2985af7830cd7838f22 /src/video_core | |
parent | PerfStats: Add method to get the instantaneous time ratio (diff) | |
download | yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.gz yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.bz2 yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.lz yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.xz yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.zst yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 0b90dcb3d..6bc142148 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -10,7 +10,6 @@ #include "common/assert.h" #include "common/bit_field.h" #include "common/logging/log.h" -#include "common/profiler_reporting.h" #include "common/synchronized_wrapper.h" #include "core/core.h" #include "core/frontend/emu_window.h" @@ -146,12 +145,6 @@ void RendererOpenGL::SwapBuffers() { DrawScreens(); - auto& profiler = Common::Profiling::GetProfilingManager(); - profiler.FinishFrame(); - { - auto aggregator = Common::Profiling::GetTimingResultsAggregator(); - aggregator->AddFrame(profiler.GetPreviousFrameResults()); - } { auto perf_stats = Core::System::GetInstance().perf_stats.Lock(); perf_stats->EndSystemFrame(); @@ -163,7 +156,6 @@ void RendererOpenGL::SwapBuffers() { prev_state.Apply(); - profiler.BeginFrame(); { auto perf_stats = Core::System::GetInstance().perf_stats.Lock(); perf_stats->BeginSystemFrame(); |