diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-03-07 03:16:17 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-03-07 04:57:45 +0100 |
commit | 6b9cc0ed23b15a1b96b322b03feff2153e44a4a9 (patch) | |
tree | 6949cedbe90b6d34e2092c8eba57b243defb21dc /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Merge pull request #9890 from Kelebek1/reverb_fix (diff) | |
download | yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.tar yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.tar.gz yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.tar.bz2 yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.tar.lz yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.tar.xz yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.tar.zst yuzu-6b9cc0ed23b15a1b96b322b03feff2153e44a4a9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index e30875496..911e4607a 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -206,9 +206,15 @@ public: Image(Image&&) = default; Image& operator=(Image&&) = default; + void UploadMemory(GLuint buffer_handle, size_t buffer_offset, + std::span<const VideoCommon::BufferImageCopy> copies); + void UploadMemory(const ImageBufferMap& map, std::span<const VideoCommon::BufferImageCopy> copies); + void DownloadMemory(GLuint buffer_handle, size_t buffer_offset, + std::span<const VideoCommon::BufferImageCopy> copies); + void DownloadMemory(ImageBufferMap& map, std::span<const VideoCommon::BufferImageCopy> copies); GLuint StorageHandle() noexcept; |