diff options
author | tfarley <tfarleygithub@gmail.com> | 2016-04-17 00:57:57 +0200 |
---|---|---|
committer | tfarley <tfarleygithub@gmail.com> | 2016-04-21 23:27:56 +0200 |
commit | 22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d (patch) | |
tree | fb0dc58288063f755eda7bc0f8cfb7e9573e397d /src/core/memory.h | |
parent | Config: Add scaled resolution option (diff) | |
download | yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.tar yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.tar.gz yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.tar.bz2 yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.tar.lz yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.tar.xz yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.tar.zst yuzu-22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d.zip |
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); + } |