diff options
| author | 2020-08-24 22:56:11 -0400 | |
|---|---|---|
| committer | 2020-08-24 22:56:11 -0400 | |
| commit | bb752df73676fa09e5d37df53ce5a464dd747111 (patch) | |
| tree | 1561d50ec2d80c2106aee208c101e19fa35c7614 /src/video_core/gpu_synch.h | |
| parent | Merge pull request #4562 from lioncash/loop (diff) | |
| parent | video_core: Initialize renderer with a GPU (diff) | |
| download | yuzu-bb752df73676fa09e5d37df53ce5a464dd747111.tar.gz yuzu-bb752df73676fa09e5d37df53ce5a464dd747111.tar.xz yuzu-bb752df73676fa09e5d37df53ce5a464dd747111.zip | |
Merge pull request #4542 from ReinUsesLisp/gpu-init-base
video_core: Initialize renderer with a GPU
Diffstat (limited to 'src/video_core/gpu_synch.h')
| -rw-r--r-- | src/video_core/gpu_synch.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/gpu_synch.h b/src/video_core/gpu_synch.h index 762c20aa5..297258cb1 100644 --- a/src/video_core/gpu_synch.h +++ b/src/video_core/gpu_synch.h | |||
| @@ -19,8 +19,7 @@ namespace VideoCommon { | |||
| 19 | /// Implementation of GPU interface that runs the GPU synchronously | 19 | /// Implementation of GPU interface that runs the GPU synchronously |
| 20 | class GPUSynch final : public Tegra::GPU { | 20 | class GPUSynch final : public Tegra::GPU { |
| 21 | public: | 21 | public: |
| 22 | explicit GPUSynch(Core::System& system, std::unique_ptr<VideoCore::RendererBase>&& renderer, | 22 | explicit GPUSynch(Core::System& system); |
| 23 | std::unique_ptr<Core::Frontend::GraphicsContext>&& context); | ||
| 24 | ~GPUSynch() override; | 23 | ~GPUSynch() override; |
| 25 | 24 | ||
| 26 | void Start() override; | 25 | void Start() override; |
| @@ -36,9 +35,6 @@ public: | |||
| 36 | protected: | 35 | protected: |
| 37 | void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id, | 36 | void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id, |
| 38 | [[maybe_unused]] u32 value) const override {} | 37 | [[maybe_unused]] u32 value) const override {} |
| 39 | |||
| 40 | private: | ||
| 41 | std::unique_ptr<Core::Frontend::GraphicsContext> context; | ||
| 42 | }; | 38 | }; |
| 43 | 39 | ||
| 44 | } // namespace VideoCommon | 40 | } // namespace VideoCommon |