diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-19 22:15:02 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-20 21:29:41 +0200 |
commit | 7003090187e02c8625f4eb7a024ac97f9b0159aa (patch) | |
tree | b38f399967df79eb7c0dc711508cd54b7c9bf62e /src/video_core/renderer_opengl/renderer_opengl.h | |
parent | Merge pull request #4643 from FearlessTobi/decrease-pad-update-interval (diff) | |
download | yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.gz yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.bz2 yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.lz yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.xz yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.tar.zst yuzu-7003090187e02c8625f4eb7a024ac97f9b0159aa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h index 5329577fb..9ef181f95 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.h +++ b/src/video_core/renderer_opengl/renderer_opengl.h @@ -55,14 +55,6 @@ struct ScreenInfo { TextureInfo texture; }; -struct PresentationTexture { - u32 width = 0; - u32 height = 0; - OGLTexture texture; -}; - -class FrameMailbox; - class RendererOpenGL final : public VideoCore::RendererBase { public: explicit RendererOpenGL(Core::TelemetrySession& telemetry_session, @@ -74,7 +66,6 @@ public: bool Init() override; void ShutDown() override; void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override; - bool TryPresent(int timeout_ms) override; private: /// Initializes the OpenGL state and creates persistent objects. @@ -102,8 +93,6 @@ private: void PrepareRendertarget(const Tegra::FramebufferConfig* framebuffer); - bool Present(int timeout_ms); - Core::TelemetrySession& telemetry_session; Core::Frontend::EmuWindow& emu_window; Core::Memory::Memory& cpu_memory; @@ -134,11 +123,6 @@ private: /// Used for transforming the framebuffer orientation Tegra::FramebufferConfig::TransformFlags framebuffer_transform_flags{}; Common::Rectangle<int> framebuffer_crop_rect; - - /// Frame presentation mailbox - std::unique_ptr<FrameMailbox> frame_mailbox; - - bool has_debug_tool = false; }; } // namespace OpenGL |