diff options
| author | bunnei <bunneidev@gmail.com> | 2018-09-09 19:01:21 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-09-09 22:48:28 -0400 |
| commit | 49b15af05437e665088105bd4873be478ad12b4b (patch) | |
| tree | d98cbf1602f965349af120395350739dc6e204d7 /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | f9e468d891ecd02b29893302bf6dd26524155534 (diff) | |
gl_rasterizer: Implement multiple color attachments.
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(); |
