diff options
| author | 2018-04-24 23:22:24 -0400 | |
|---|---|---|
| committer | 2018-04-24 23:22:24 -0400 | |
| commit | ea3151f475e170eaaec3ded306a0fe5c1e5944db (patch) | |
| tree | 6f7e127c4f58de6071d9a7dbd2af464dbbd14b9b /src/core/memory.h | |
| parent | Merge pull request #393 from lioncash/loader (diff) | |
| parent | renderer_opengl: Use correct byte order for framebuffer pixel format ABGR8. (diff) | |
| download | yuzu-ea3151f475e170eaaec3ded306a0fe5c1e5944db.tar.gz yuzu-ea3151f475e170eaaec3ded306a0fe5c1e5944db.tar.xz yuzu-ea3151f475e170eaaec3ded306a0fe5c1e5944db.zip | |
Merge pull request #388 from bunnei/refactor-rasterizer-cache
Refactor rasterizer cache
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index e9b8ca873..3f56a2c6a 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <boost/optional.hpp> | 14 | #include <boost/optional.hpp> |
| 15 | #include "common/common_types.h" | 15 | #include "common/common_types.h" |
| 16 | #include "core/memory_hook.h" | 16 | #include "core/memory_hook.h" |
| 17 | #include "video_core/memory_manager.h" | ||
| 17 | 18 | ||
| 18 | namespace Kernel { | 19 | namespace Kernel { |
| 19 | class Process; | 20 | class Process; |
| @@ -258,7 +259,7 @@ enum class FlushMode { | |||
| 258 | /** | 259 | /** |
| 259 | * Mark each page touching the region as cached. | 260 | * Mark each page touching the region as cached. |
| 260 | */ | 261 | */ |
| 261 | void RasterizerMarkRegionCached(VAddr start, u64 size, bool cached); | 262 | void RasterizerMarkRegionCached(Tegra::GPUVAddr start, u64 size, bool cached); |
| 262 | 263 | ||
| 263 | /** | 264 | /** |
| 264 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual | 265 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual |