diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-31 19:24:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 19:24:21 +0200 |
commit | 42588493d5ad5d824fc557ac936e64e5e7fd7e44 (patch) | |
tree | d06ab2b0bd2f426a8fb129cea437ed99e29ed5e9 /src/video_core/rasterizer_interface.h | |
parent | Implement BC6H_UF16 & BC6H_SF16 (#1092) (diff) | |
parent | gl_rasterizer_cache: Use accurate framebuffer setting for accurate copies. (diff) | |
download | yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.tar yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.tar.gz yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.tar.bz2 yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.tar.lz yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.tar.xz yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.tar.zst yuzu-42588493d5ad5d824fc557ac936e64e5e7fd7e44.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index a4a219d8d..9d78e8b6b 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h @@ -27,14 +27,14 @@ public: virtual void FlushAll() = 0; /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory - virtual void FlushRegion(Tegra::GPUVAddr addr, u64 size) = 0; + virtual void FlushRegion(VAddr addr, u64 size) = 0; /// Notify rasterizer that any caches of the specified region should be invalidated - virtual void InvalidateRegion(Tegra::GPUVAddr addr, u64 size) = 0; + virtual void InvalidateRegion(VAddr addr, u64 size) = 0; /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory /// and invalidated - virtual void FlushAndInvalidateRegion(Tegra::GPUVAddr addr, u64 size) = 0; + virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0; /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0 virtual bool AccelerateDisplayTransfer(const void* config) { @@ -60,5 +60,8 @@ public: virtual bool AccelerateDrawBatch(bool is_indexed) { return false; } + + /// Increase/decrease the number of object in pages touching the specified region + virtual void UpdatePagesCachedCount(Tegra::GPUVAddr addr, u64 size, int delta) {} }; } // namespace VideoCore |