diff options
| author | bunnei <bunneidev@gmail.com> | 2018-04-24 23:22:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-24 23:22:24 -0400 |
| commit | ea3151f475e170eaaec3ded306a0fe5c1e5944db (patch) | |
| tree | 6f7e127c4f58de6071d9a7dbd2af464dbbd14b9b /src/video_core/rasterizer_interface.h | |
| parent | 6c9ca8cbca1502346c0d22e141f21054087e6a96 (diff) | |
| parent | c30cd898fc122d1277583c5165d622e323faad07 (diff) | |
Merge pull request #388 from bunnei/refactor-rasterizer-cache
Refactor rasterizer cache
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 7 |
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) { |
