summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-23 02:13:46 +0100
committerbunnei <bunneidev@gmail.com>2018-03-23 02:13:46 +0100
commit8a250de987404034a4cf1a09f244c40947b4be9b (patch)
treef462c46dc16e229586026501f9c91b223812248b /src/video_core/rasterizer_interface.h
parentvideo_core: Move FramebufferInfo to FramebufferConfig in GPU. (diff)
downloadyuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.gz
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.bz2
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.lz
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.xz
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.tar.zst
yuzu-8a250de987404034a4cf1a09f244c40947b4be9b.zip
Diffstat (limited to '')
-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:
virtual void FlushAll() = 0;
/// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory
- virtual void FlushRegion(PAddr addr, u32 size) = 0;
+ virtual void FlushRegion(VAddr addr, u32 size) = 0;
/// Notify rasterizer that any caches of the specified region should be invalidated
- virtual void InvalidateRegion(PAddr addr, u32 size) = 0;
+ virtual void InvalidateRegion(VAddr addr, u32 size) = 0;
/// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory
/// and invalidated
- virtual void FlushAndInvalidateRegion(PAddr addr, u32 size) = 0;
+ virtual void FlushAndInvalidateRegion(VAddr addr, u32 size) = 0;
/// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0
virtual bool AccelerateDisplayTransfer(const void* config) {
@@ -51,7 +51,7 @@ public:
/// Attempt to use a faster method to display the framebuffer to screen
virtual bool AccelerateDisplay(const Tegra::FramebufferConfig& framebuffer,
- PAddr framebuffer_addr, u32 pixel_stride,
+ VAddr framebuffer_addr, u32 pixel_stride,
ScreenInfo& screen_info) {
return false;
}