diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-20 04:58:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 04:58:30 +0200 |
commit | 48495695655210c91a36a4e847aaa73278949991 (patch) | |
tree | daabac59bf0f4958aeaa3dbcf788728c8295f1bd /src/video_core/engines/maxwell_dma.h | |
parent | Merge pull request #1526 from lioncash/svc-id (diff) | |
parent | GPU: Improved implementation of maxwell DMA (Subv). (diff) | |
download | yuzu-48495695655210c91a36a4e847aaa73278949991.tar yuzu-48495695655210c91a36a4e847aaa73278949991.tar.gz yuzu-48495695655210c91a36a4e847aaa73278949991.tar.bz2 yuzu-48495695655210c91a36a4e847aaa73278949991.tar.lz yuzu-48495695655210c91a36a4e847aaa73278949991.tar.xz yuzu-48495695655210c91a36a4e847aaa73278949991.tar.zst yuzu-48495695655210c91a36a4e847aaa73278949991.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_dma.h')
-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(); |