summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar bunnei2016-04-22 08:15:51 -0400
committerGravatar bunnei2016-04-22 08:15:51 -0400
commitbab30bcd6e6ea43cde9f75136e711a59f094b058 (patch)
treee5a16dc5b13ecfb831bf1986636d232f83ee4723 /src/core/memory.h
parentMerge pull request #1655 from JayFoxRox/hw-dot3 (diff)
parentHWRasterizer: Texture forwarding (diff)
downloadyuzu-bab30bcd6e6ea43cde9f75136e711a59f094b058.tar.gz
yuzu-bab30bcd6e6ea43cde9f75136e711a59f094b058.tar.xz
yuzu-bab30bcd6e6ea43cde9f75136e711a59f094b058.zip
Merge pull request #1436 from tfarley/hw-tex-forwarding
Hardware Renderer Texture Forwarding
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 5af72b7a7..9caa3c3f5 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -148,4 +148,20 @@ VAddr PhysicalToVirtualAddress(PAddr addr);
148 */ 148 */
149u8* GetPhysicalPointer(PAddr address); 149u8* GetPhysicalPointer(PAddr address);
150 150
151/**
152 * Adds the supplied value to the rasterizer resource cache counter of each
153 * page touching the region.
154 */
155void RasterizerMarkRegionCached(PAddr start, u32 size, int count_delta);
156
157/**
158 * Flushes any externally cached rasterizer resources touching the given region.
159 */
160void RasterizerFlushRegion(PAddr start, u32 size);
161
162/**
163 * Flushes and invalidates any externally cached rasterizer resources touching the given region.
164 */
165void RasterizerFlushAndInvalidateRegion(PAddr start, u32 size);
166
151} 167}