summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/renderer_opengl.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-27 00:28:50 +0100
committerbunnei <bunneidev@gmail.com>2020-02-27 00:28:50 +0100
commitaef159354cd6c5cbbf6366bcfd767a9b4e0b7dd9 (patch)
tree463fc81637722a45f3cac93bfc183d5024e7212f /src/video_core/renderer_opengl/renderer_opengl.h
parentrenderer_opengl: Create gl_framebuffer_data if empty. (diff)
downloadyuzu-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.h5
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