diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-27 00:28:50 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-02-27 00:28:50 +0100 |
commit | aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9 (patch) | |
tree | 463fc81637722a45f3cac93bfc183d5024e7212f /src/video_core/renderer_opengl/renderer_opengl.h | |
parent | renderer_opengl: Create gl_framebuffer_data if empty. (diff) | |
download | yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.tar yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.tar.gz yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.tar.bz2 yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.tar.lz yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.tar.xz yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.tar.zst yuzu-aef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h index 797965925..4107e10a9 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.h +++ b/src/video_core/renderer_opengl/renderer_opengl.h @@ -50,6 +50,8 @@ struct PresentationTexture { OGLTexture texture; }; +class FrameMailbox; + class RendererOpenGL final : public VideoCore::RendererBase { public: explicit RendererOpenGL(Core::Frontend::EmuWindow& emu_window, Core::System& system); @@ -111,6 +113,9 @@ private: /// Represents if the final render frame is sRGB bool is_srgb{}; + + /// Frame presentation mailbox + std::unique_ptr<FrameMailbox> frame_mailbox; }; } // namespace OpenGL |