summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-27 21:35:15 -0400
committerGravatar bunnei2018-08-31 13:07:27 -0400
commitd647d9550c838fdfb16ad053f3ff243de3e15482 (patch)
tree8bde428c4c670d134dd13b849044e4369566d8f9 /src/core/memory.h
parentgl_rasterizer: Fix issues with the rasterizer cache. (diff)
downloadyuzu-d647d9550c838fdfb16ad053f3ff243de3e15482.tar.gz
yuzu-d647d9550c838fdfb16ad053f3ff243de3e15482.tar.xz
yuzu-d647d9550c838fdfb16ad053f3ff243de3e15482.zip
gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index b7fb3b9ed..f06e04a75 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -11,7 +11,6 @@
11#include <boost/icl/interval_map.hpp> 11#include <boost/icl/interval_map.hpp>
12#include "common/common_types.h" 12#include "common/common_types.h"
13#include "core/memory_hook.h" 13#include "core/memory_hook.h"
14#include "video_core/memory_manager.h"
15 14
16namespace Kernel { 15namespace Kernel {
17class Process; 16class Process;
@@ -179,7 +178,7 @@ enum class FlushMode {
179/** 178/**
180 * Mark each page touching the region as cached. 179 * Mark each page touching the region as cached.
181 */ 180 */
182void RasterizerMarkRegionCached(Tegra::GPUVAddr gpu_addr, u64 size, bool cached); 181void RasterizerMarkRegionCached(VAddr vaddr, u64 size, bool cached);
183 182
184/** 183/**
185 * Flushes and invalidates any externally cached rasterizer resources touching the given virtual 184 * Flushes and invalidates any externally cached rasterizer resources touching the given virtual