diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-10 22:38:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 22:38:09 +0200 |
commit | fd066ffbce2406ac7db65f3bf8fc886d7150b9d9 (patch) | |
tree | f0d4c46808e3cc5ddae45cca4a2705e484512d95 /src/video_core/renderer_opengl | |
parent | Merge pull request #2686 from ReinUsesLisp/vk-scheduler (diff) | |
parent | gl_rasterizer: Amend documentation comment for ConfigureFramebuffers() (diff) | |
download | yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.tar yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.tar.gz yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.tar.bz2 yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.tar.lz yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.tar.xz yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.tar.zst yuzu-fd066ffbce2406ac7db65f3bf8fc886d7150b9d9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index bf67e3a70..d238c1257 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -98,17 +98,19 @@ private: /** * Configures the color and depth framebuffer states. - * @param must_reconfigure If true, tells the framebuffer to skip the cache and reconfigure - * again. Used by the texture cache to solve texception conflicts - * @param use_color_fb If true, configure color framebuffers. - * @param using_depth_fb If true, configure the depth/stencil framebuffer. - * @param preserve_contents If true, tries to preserve data from a previously used framebuffer. + * + * @param current_state The current OpenGL state. + * @param using_color_fb If true, configure color framebuffers. + * @param using_depth_fb If true, configure the depth/stencil framebuffer. + * @param preserve_contents If true, tries to preserve data from a previously used + * framebuffer. * @param single_color_target Specifies if a single color buffer target should be used. + * * @returns If depth (first) or stencil (second) are being stored in the bound zeta texture - * (requires using_depth_fb to be true) + * (requires using_depth_fb to be true) */ std::pair<bool, bool> ConfigureFramebuffers( - OpenGLState& current_state, bool use_color_fb = true, bool using_depth_fb = true, + OpenGLState& current_state, bool using_color_fb = true, bool using_depth_fb = true, bool preserve_contents = true, std::optional<std::size_t> single_color_target = {}); /// Configures the current constbuffers to use for the draw command. |