diff options
| author | 2018-03-24 22:21:14 -0400 | |
|---|---|---|
| committer | 2018-03-26 21:16:57 -0400 | |
| commit | d732142b667a650e7418ff5d6c985fa333e04c38 (patch) | |
| tree | 2ba4559b10bccff73e975e057b86d38da05de26f /src/core/memory.h | |
| parent | gl_rasterizer: Implement SetupVertexArray. (diff) | |
| download | yuzu-d732142b667a650e7418ff5d6c985fa333e04c38.tar.gz yuzu-d732142b667a650e7418ff5d6c985fa333e04c38.tar.xz yuzu-d732142b667a650e7418ff5d6c985fa333e04c38.zip | |
memory: Add RasterizerMarkRegionCached code and cleanup.
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 4b9c482fe..413a7b4e8 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -255,6 +255,11 @@ enum class FlushMode { | |||
| 255 | }; | 255 | }; |
| 256 | 256 | ||
| 257 | /** | 257 | /** |
| 258 | * Mark each page touching the region as cached. | ||
| 259 | */ | ||
| 260 | void RasterizerMarkRegionCached(VAddr start, u64 size, bool cached); | ||
| 261 | |||
| 262 | /** | ||
| 258 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual | 263 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual |
| 259 | * address region. | 264 | * address region. |
| 260 | */ | 265 | */ |