summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-06 05:39:03 +0200
committerbunnei <bunneidev@gmail.com>2018-10-06 09:20:04 +0200
commit011cf77796aee57c23e97876aad65712efd6c92b (patch)
tree5cbed5aec5c9bb649bb068ddbf0d7189bd135085 /src/video_core/rasterizer_interface.h
parentgl_rasterizer_cache: Implement a simpler surface copy using glCopyImageSubData. (diff)
downloadyuzu-011cf77796aee57c23e97876aad65712efd6c92b.tar
yuzu-011cf77796aee57c23e97876aad65712efd6c92b.tar.gz
yuzu-011cf77796aee57c23e97876aad65712efd6c92b.tar.bz2
yuzu-011cf77796aee57c23e97876aad65712efd6c92b.tar.lz
yuzu-011cf77796aee57c23e97876aad65712efd6c92b.tar.xz
yuzu-011cf77796aee57c23e97876aad65712efd6c92b.tar.zst
yuzu-011cf77796aee57c23e97876aad65712efd6c92b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/rasterizer_interface.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index cd819d69f..06fc59dbe 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -5,6 +5,7 @@
#pragma once
#include "common/common_types.h"
+#include "video_core/engines/fermi_2d.h"
#include "video_core/gpu.h"
#include "video_core/memory_manager.h"
@@ -33,13 +34,9 @@ public:
/// and invalidated
virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0;
- /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0
- virtual bool AccelerateDisplayTransfer(const void* config) {
- return false;
- }
-
- /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 1
- virtual bool AccelerateTextureCopy(const void* config) {
+ /// Attempt to use a faster method to perform a surface copy
+ virtual bool AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs::Surface& src,
+ const Tegra::Engines::Fermi2D::Regs::Surface& dst) {
return false;
}