diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-21 02:21:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 02:21:32 +0200 |
commit | a2eb44db825a892cc2863bd1f5d0352c273ff0f0 (patch) | |
tree | 3e75441609f97c8a6ad01e70461ecb218c51d086 /src/video_core/renderer_opengl/renderer_opengl.h | |
parent | Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl (diff) | |
parent | renderer_opengl: Remove emulated mailbox presentation (diff) | |
download | yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.gz yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.bz2 yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.lz yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.xz yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.zst yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.h')
-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 |