summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar bunnei2019-02-20 21:24:56 -0500
committerGravatar GitHub2019-02-20 21:24:56 -0500
commitae437320c84e8c5fff69e8cec413e63b11f952b6 (patch)
treed7f7f74d87fdaa6dd9ec829086e8c3814ae0506b /src/video_core/gpu.h
parentFixes Unicode Key File Directories (#2120) (diff)
parentvideo_core: Remove usages of System::GetInstance() within the engines (diff)
downloadyuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.gz
yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.xz
yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.zip
Merge pull request #2130 from lioncash/system_engine
video_core: Remove usages of System::GetInstance() within the engines
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index a482196ea..0f5bfdcbf 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -6,12 +6,15 @@
6 6
7#include <array> 7#include <array>
8#include <memory> 8#include <memory>
9#include <vector>
10#include "common/common_types.h" 9#include "common/common_types.h"
11#include "core/hle/service/nvflinger/buffer_queue.h" 10#include "core/hle/service/nvflinger/buffer_queue.h"
12#include "video_core/dma_pusher.h" 11#include "video_core/dma_pusher.h"
13#include "video_core/memory_manager.h" 12#include "video_core/memory_manager.h"
14 13
14namespace Core {
15class System;
16}
17
15namespace VideoCore { 18namespace VideoCore {
16class RasterizerInterface; 19class RasterizerInterface;
17} 20}
@@ -118,7 +121,7 @@ enum class EngineID {
118 121
119class GPU final { 122class GPU final {
120public: 123public:
121 explicit GPU(VideoCore::RasterizerInterface& rasterizer); 124 explicit GPU(Core::System& system, VideoCore::RasterizerInterface& rasterizer);
122 ~GPU(); 125 ~GPU();
123 126
124 struct MethodCall { 127 struct MethodCall {