diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-08 04:14:21 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-08 04:14:21 +0200 |
commit | 3671fd0a97351c1e5b2ea691d85ab45d5f83288e (patch) | |
tree | a4723be2513e3d5dbd7de423c865c2ff78c06843 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Merge pull request #6279 from ogniK5377/nvhost-prof (diff) | |
download | yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.gz yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.bz2 yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.lz yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.xz yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.zst yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index 3c871541b..df8be12ff 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -28,7 +28,7 @@ using VideoCommon::ImageId; using VideoCommon::ImageViewId; using VideoCommon::ImageViewType; using VideoCommon::NUM_RT; -using VideoCommon::Offset2D; +using VideoCommon::Region2D; using VideoCommon::RenderTargets; struct ImageBufferMap { @@ -73,10 +73,8 @@ public: void EmulateCopyImage(Image& dst, Image& src, std::span<const VideoCommon::ImageCopy> copies); - void BlitFramebuffer(Framebuffer* dst, Framebuffer* src, - const std::array<Offset2D, 2>& dst_region, - const std::array<Offset2D, 2>& src_region, - Tegra::Engines::Fermi2D::Filter filter, + void BlitFramebuffer(Framebuffer* dst, Framebuffer* src, const Region2D& dst_region, + const Region2D& src_region, Tegra::Engines::Fermi2D::Filter filter, Tegra::Engines::Fermi2D::Operation operation); void AccelerateImageUpload(Image& image, const ImageBufferMap& map, |