summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-24 06:19:36 +0200
committerbunnei <bunneidev@gmail.com>2018-04-25 04:31:45 +0200
commit4415e00181f71b35eea779157976773d9bccf638 (patch)
tree604e0f8de1fe238ac74eee4fd3d5eabdb59e7bc1 /src/video_core/rasterizer_interface.h
parentmemory_manager: Add implement CpuToGpuAddress. (diff)
downloadyuzu-4415e00181f71b35eea779157976773d9bccf638.tar
yuzu-4415e00181f71b35eea779157976773d9bccf638.tar.gz
yuzu-4415e00181f71b35eea779157976773d9bccf638.tar.bz2
yuzu-4415e00181f71b35eea779157976773d9bccf638.tar.lz
yuzu-4415e00181f71b35eea779157976773d9bccf638.tar.xz
yuzu-4415e00181f71b35eea779157976773d9bccf638.tar.zst
yuzu-4415e00181f71b35eea779157976773d9bccf638.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/rasterizer_interface.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 36629dd11..f0e48a802 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -6,6 +6,7 @@
#include "common/common_types.h"
#include "video_core/gpu.h"
+#include "video_core/memory_manager.h"
struct ScreenInfo;
@@ -25,14 +26,14 @@ public:
virtual void FlushAll() = 0;
/// Notify rasterizer that any caches of the specified region should be flushed to Switch memory
- virtual void FlushRegion(VAddr addr, u64 size) = 0;
+ virtual void FlushRegion(Tegra::GPUVAddr addr, u64 size) = 0;
/// Notify rasterizer that any caches of the specified region should be invalidated
- virtual void InvalidateRegion(VAddr addr, u64 size) = 0;
+ virtual void InvalidateRegion(Tegra::GPUVAddr addr, u64 size) = 0;
/// Notify rasterizer that any caches of the specified region should be flushed to Switch memory
/// and invalidated
- virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0;
+ virtual void FlushAndInvalidateRegion(Tegra::GPUVAddr 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) {