summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-03-22 21:13:46 -0400
committerGravatar bunnei2018-03-22 21:13:46 -0400
commit8a250de987404034a4cf1a09f244c40947b4be9b (patch)
treef462c46dc16e229586026501f9c91b223812248b /src/video_core/rasterizer_interface.h
parentvideo_core: Move FramebufferInfo to FramebufferConfig in GPU. (diff)
downloadyuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.gz
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.xz
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.zip
video_core: Remove usage of PAddr and replace with VAddr.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 966e25f34..6514d7ded 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -25,14 +25,14 @@ public:
25 virtual void FlushAll() = 0; 25 virtual void FlushAll() = 0;
26 26
27 /// 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
28 virtual void FlushRegion(PAddr addr, u32 size) = 0; 28 virtual void FlushRegion(VAddr addr, u32 size) = 0;
29 29
30 /// 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
31 virtual void InvalidateRegion(PAddr addr, u32 size) = 0; 31 virtual void InvalidateRegion(VAddr addr, u32 size) = 0;
32 32
33 /// 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
34 /// and invalidated 34 /// and invalidated
35 virtual void FlushAndInvalidateRegion(PAddr addr, u32 size) = 0; 35 virtual void FlushAndInvalidateRegion(VAddr addr, u32 size) = 0;
36 36
37 /// 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
38 virtual bool AccelerateDisplayTransfer(const void* config) { 38 virtual bool AccelerateDisplayTransfer(const void* config) {
@@ -51,7 +51,7 @@ public:
51 51
52 /// 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
53 virtual bool AccelerateDisplay(const Tegra::FramebufferConfig& framebuffer, 53 virtual bool AccelerateDisplay(const Tegra::FramebufferConfig& framebuffer,
54 PAddr framebuffer_addr, u32 pixel_stride, 54 VAddr framebuffer_addr, u32 pixel_stride,
55 ScreenInfo& screen_info) { 55 ScreenInfo& screen_info) {
56 return false; 56 return false;
57 } 57 }