diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-27 02:58:19 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:17:05 +0200 |
commit | c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c (patch) | |
tree | b325a452d6a97faae73ff7c226b27290c10f16da /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | gl_rasterizer: Add a SyncViewport method. (diff) | |
download | yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.tar yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.tar.gz yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.tar.bz2 yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.tar.lz yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.tar.xz yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.tar.zst yuzu-c33abac275a356a9b6c7a6c8d4214e1f8cb1a80c.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 1cd46c96a..fd53e94cd 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -87,6 +87,10 @@ public: private: struct SamplerInfo {}; + /// Binds the framebuffer color and depth surface + void BindFramebufferSurfaces(const Surface& color_surface, const Surface& depth_surface, + bool has_stencil); + /// Syncs the viewport to match the guest state void SyncViewport(const MathUtil::Rectangle<u32>& surfaces_rect, u16 res_scale); |