diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-15 23:47:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 23:47:15 +0100 |
commit | 0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a (patch) | |
tree | d10afc301c43914fd67686ebffeec4b2b052df82 /src/video_core/memory_manager.h | |
parent | Merge pull request #3401 from FernandoS27/synchronization (diff) | |
download | yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.gz yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.bz2 yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.lz yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.xz yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.zst yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.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 393447eb4..aea010087 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 Core { class System; } @@ -47,7 +51,7 @@ struct VirtualMemoryArea { class MemoryManager final { public: - explicit MemoryManager(Core::System& system); + explicit MemoryManager(Core::System& system, VideoCore::RasterizerInterface& rasterizer); ~MemoryManager(); GPUVAddr AllocateSpace(u64 size, u64 align); @@ -172,6 +176,7 @@ private: Common::PageTable page_table{page_bits}; VMAMap vma_map; + VideoCore::RasterizerInterface& rasterizer; Core::System& system; }; |