diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-18 03:29:10 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-10-19 04:41:53 +0200 |
commit | 7e665c2721863fe9784dd3de4aa430434fb10cff (patch) | |
tree | 4b8c4101ff74bd76794e298715f7aac8e2168396 /src/video_core/engines/maxwell_dma.h | |
parent | decoders: Introduce functions for un/swizzling subrects. (diff) | |
download | yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.tar yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.tar.gz yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.tar.bz2 yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.tar.lz yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.tar.xz yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.tar.zst yuzu-7e665c2721863fe9784dd3de4aa430434fb10cff.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/maxwell_dma.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h index df19e02e2..5f3704f05 100644 --- a/src/video_core/engines/maxwell_dma.h +++ b/src/video_core/engines/maxwell_dma.h @@ -12,11 +12,15 @@ #include "video_core/gpu.h" #include "video_core/memory_manager.h" +namespace VideoCore { +class RasterizerInterface; +} + namespace Tegra::Engines { class MaxwellDMA final { public: - explicit MaxwellDMA(MemoryManager& memory_manager); + explicit MaxwellDMA(VideoCore::RasterizerInterface& rasterizer, MemoryManager& memory_manager); ~MaxwellDMA() = default; /// Write the value to the register identified by method. @@ -133,6 +137,8 @@ public: MemoryManager& memory_manager; private: + VideoCore::RasterizerInterface& rasterizer; + /// Performs the copy from the source buffer to the destination buffer as configured in the /// registers. void HandleCopy(); |