diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-21 01:06:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-21 01:06:40 -0400 |
| commit | ca58929eb0da160115fd0949dfa9a96909430a5b (patch) | |
| tree | 0a0884f0a1edb705439791b114113b410b12c913 /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | fde3b1b6f265d1f2ef078f448f903f40fb7c7957 (diff) | |
| parent | d7c68fbb120c8881b874b4c65efa9ad63a332304 (diff) | |
Merge pull request #1121 from Subv/tex_reinterpret
Rasterizer: Use PBOs to reinterpret texture formats when games re-use the same memory.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 74307f626..4a7c5b923 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -87,7 +87,8 @@ private: /// 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); + 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, |
