diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 02:56:45 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 04:08:37 +0100 |
commit | 03835d04f42fdcd480b5f5d909b5e5cd81ed62a0 (patch) | |
tree | 6e14cebd99073538bfafdd68d2bc5b41ff38b698 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | OpenGL: Rename cache functions to better match what they actually do (diff) | |
download | yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.gz yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.bz2 yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.lz yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.xz yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.zst yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index ca8247b86..cc7830688 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -180,7 +180,7 @@ void RasterizerOpenGL::DrawTriangles() { res_cache.InvalidateInRange(cur_fb_depth_addr, cur_fb_depth_size, true); } -void RasterizerOpenGL::CommitFramebuffer() { +void RasterizerOpenGL::FlushFramebuffer() { CommitColorBuffer(); CommitDepthBuffer(); } @@ -284,7 +284,7 @@ void RasterizerOpenGL::NotifyPicaRegisterChanged(u32 id) { } } -void RasterizerOpenGL::NotifyPreRead(PAddr addr, u32 size) { +void RasterizerOpenGL::FlushRegion(PAddr addr, u32 size) { const auto& regs = Pica::g_state.regs; if (!Settings::values.use_hw_renderer) @@ -306,7 +306,7 @@ void RasterizerOpenGL::NotifyPreRead(PAddr addr, u32 size) { CommitDepthBuffer(); } -void RasterizerOpenGL::NotifyFlush(PAddr addr, u32 size) { +void RasterizerOpenGL::InvalidateRegion(PAddr addr, u32 size) { const auto& regs = Pica::g_state.regs; if (!Settings::values.use_hw_renderer) |