summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-09-19 17:15:02 -0300
committerGravatar ReinUsesLisp2020-09-20 16:29:41 -0300
commit7003090187e02c8625f4eb7a024ac97f9b0159aa (patch)
treeb38f399967df79eb7c0dc711508cd54b7c9bf62e /src/video_core/renderer_base.h
parentMerge pull request #4643 from FearlessTobi/decrease-pad-update-interval (diff)
downloadyuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.gz
yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.xz
yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.zip
renderer_opengl: Remove emulated mailbox presentation
Emulated mailbox presentation was causing performance issues on Nvidia's OpenGL driver. Remove it.
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index 649074acd..5c650808b 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -46,11 +46,6 @@ public:
46 /// Finalize rendering the guest frame and draw into the presentation texture 46 /// Finalize rendering the guest frame and draw into the presentation texture
47 virtual void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) = 0; 47 virtual void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) = 0;
48 48
49 /// Draws the latest frame to the window waiting timeout_ms for a frame to arrive (Renderer
50 /// specific implementation)
51 /// Returns true if a frame was drawn
52 virtual bool TryPresent(int timeout_ms) = 0;
53
54 // Getter/setter functions: 49 // Getter/setter functions:
55 // ------------------------ 50 // ------------------------
56 51