diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-13 03:33:08 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-13 03:49:47 +0200 |
commit | b780d5b5c580a65a670de73140b743072efc0fd2 (patch) | |
tree | ef6371d8107ab18932ac2514f3d498c62f1323e6 /src/video_core/renderer_opengl/gl_buffer_cache.h | |
parent | Merge pull request #6597 from FernandoS27/accelerate-dma (diff) | |
download | yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.tar yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.tar.gz yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.tar.bz2 yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.tar.lz yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.tar.xz yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.tar.zst yuzu-b780d5b5c580a65a670de73140b743072efc0fd2.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_buffer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index d8b20a9af..fe91aa452 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -57,6 +57,8 @@ public: void CopyBuffer(Buffer& dst_buffer, Buffer& src_buffer, std::span<const VideoCommon::BufferCopy> copies); + void ClearBuffer(Buffer& dest_buffer, u32 offset, size_t size, u32 value); + void BindIndexBuffer(Buffer& buffer, u32 offset, u32 size); void BindVertexBuffer(u32 index, Buffer& buffer, u32 offset, u32 size, u32 stride); |