diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-29 02:58:28 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-04-06 05:43:34 +0200 |
commit | 20be92d5e623a348560dd9f764a9208a99cbc758 (patch) | |
tree | 667ab57d872946e792fd1f058b87bbb9a86ab878 /src/video_core/memory_manager.h | |
parent | Merge pull request #2350 from lioncash/vmem (diff) | |
download | yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.gz yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.bz2 yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.lz yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.xz yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.zst yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/memory_manager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 178e2f655..647cbf93a 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -10,6 +10,10 @@ #include "common/common_types.h" #include "common/page_table.h" +namespace VideoCore { +class RasterizerInterface; +} + namespace Tegra { /** @@ -43,7 +47,7 @@ struct VirtualMemoryArea { class MemoryManager final { public: - MemoryManager(); + MemoryManager(VideoCore::RasterizerInterface& rasterizer); GPUVAddr AllocateSpace(u64 size, u64 align); GPUVAddr AllocateSpace(GPUVAddr addr, u64 size, u64 align); @@ -144,6 +148,7 @@ private: Common::PageTable page_table{page_bits}; VMAMap vma_map; + VideoCore::RasterizerInterface& rasterizer; }; } // namespace Tegra |