diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-10 06:36:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 06:36:30 +0200 |
commit | ac959799e43e5f6866cdc0a6f1acb48b134d2bd0 (patch) | |
tree | d98cbf1602f965349af120395350739dc6e204d7 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #1258 from tgsm/fix-sdl-logging (diff) | |
parent | gl_rasterizer: Implement multiple color attachments. (diff) | |
download | yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.tar yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.tar.gz yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.tar.bz2 yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.tar.lz yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.tar.xz yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.tar.zst yuzu-ac959799e43e5f6866cdc0a6f1acb48b134d2bd0.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index c6bb1516b..3d62cc196 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -97,14 +97,8 @@ private: GLvec4 border_color; }; - /// Configures the color and depth framebuffer states and returns the dirty <Color, Depth> - /// surfaces if writing was enabled. - std::pair<Surface, Surface> ConfigureFramebuffers(bool using_color_fb, bool using_depth_fb, - bool preserve_contents); - - /// Binds the framebuffer color and depth surface - void BindFramebufferSurfaces(const Surface& color_surface, const Surface& depth_surface, - bool has_stencil); + /// Configures the color and depth framebuffer states + void ConfigureFramebuffers(bool using_depth_fb, bool preserve_contents); /* * Configures the current constbuffers to use for the draw command. @@ -127,7 +121,7 @@ private: u32 current_unit); /// Syncs the viewport to match the guest state - void SyncViewport(const MathUtil::Rectangle<u32>& surfaces_rect); + void SyncViewport(); /// Syncs the clip enabled status to match the guest state void SyncClipEnabled(); |