summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 6c7bd0826..a493e1d60 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -5,6 +5,7 @@
5#pragma once 5#pragma once
6 6
7#include "common/common_types.h" 7#include "common/common_types.h"
8#include "video_core/gpu.h"
8 9
9struct ScreenInfo; 10struct ScreenInfo;
10 11
@@ -24,14 +25,14 @@ public:
24 virtual void FlushAll() = 0; 25 virtual void FlushAll() = 0;
25 26
26 /// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory 27 /// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory
27 virtual void FlushRegion(PAddr addr, u32 size) = 0; 28 virtual void FlushRegion(VAddr addr, u64 size) = 0;
28 29
29 /// Notify rasterizer that any caches of the specified region should be invalidated 30 /// Notify rasterizer that any caches of the specified region should be invalidated
30 virtual void InvalidateRegion(PAddr addr, u32 size) = 0; 31 virtual void InvalidateRegion(VAddr addr, u64 size) = 0;
31 32
32 /// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory 33 /// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory
33 /// and invalidated 34 /// and invalidated
34 virtual void FlushAndInvalidateRegion(PAddr addr, u32 size) = 0; 35 virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0;
35 36
36 /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0 37 /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0
37 virtual bool AccelerateDisplayTransfer(const void* config) { 38 virtual bool AccelerateDisplayTransfer(const void* config) {
@@ -49,7 +50,8 @@ public:
49 } 50 }
50 51
51 /// Attempt to use a faster method to display the framebuffer to screen 52 /// Attempt to use a faster method to display the framebuffer to screen
52 virtual bool AccelerateDisplay(const void* config, PAddr framebuffer_addr, u32 pixel_stride, 53 virtual bool AccelerateDisplay(const Tegra::FramebufferConfig& framebuffer,
54 VAddr framebuffer_addr, u32 pixel_stride,
53 ScreenInfo& screen_info) { 55 ScreenInfo& screen_info) {
54 return false; 56 return false;
55 } 57 }