diff options
author | bunnei <bunneidev@gmail.com> | 2016-04-22 08:15:51 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-04-22 08:15:51 -0400 |
commit | bab30bcd6e6ea43cde9f75136e711a59f094b058 (patch) | |
tree | e5a16dc5b13ecfb831bf1986636d232f83ee4723 /src/core/memory.h | |
parent | 14cc1ed9112f87e04f60eaa2cc2119c71fd07147 (diff) | |
parent | 22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d (diff) |
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.h | 16 |
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); */ u8* GetPhysicalPointer(PAddr address); +/** + * Adds the supplied value to the rasterizer resource cache counter of each + * page touching the region. + */ +void RasterizerMarkRegionCached(PAddr start, u32 size, int count_delta); + +/** + * Flushes any externally cached rasterizer resources touching the given region. + */ +void RasterizerFlushRegion(PAddr start, u32 size); + +/** + * Flushes and invalidates any externally cached rasterizer resources touching the given region. + */ +void RasterizerFlushAndInvalidateRegion(PAddr start, u32 size); + } |