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_asynch.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_asynch.h')
| -rw-r--r-- | src/video_core/gpu_asynch.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/gpu_asynch.h b/src/video_core/gpu_asynch.h index 15e9f1d38..f89c855a5 100644 --- a/src/video_core/gpu_asynch.h +++ b/src/video_core/gpu_asynch.h | |||
| @@ -20,8 +20,7 @@ namespace VideoCommon { | |||
| 20 | /// Implementation of GPU interface that runs the GPU asynchronously | 20 | /// Implementation of GPU interface that runs the GPU asynchronously |
| 21 | class GPUAsynch final : public Tegra::GPU { | 21 | class GPUAsynch final : public Tegra::GPU { |
| 22 | public: | 22 | public: |
| 23 | explicit GPUAsynch(Core::System& system, std::unique_ptr<VideoCore::RendererBase>&& renderer, | 23 | explicit GPUAsynch(Core::System& system); |
| 24 | std::unique_ptr<Core::Frontend::GraphicsContext>&& context); | ||
| 25 | ~GPUAsynch() override; | 24 | ~GPUAsynch() override; |
| 26 | 25 | ||
| 27 | void Start() override; | 26 | void Start() override; |
| @@ -42,7 +41,6 @@ protected: | |||
| 42 | private: | 41 | private: |
| 43 | GPUThread::ThreadManager gpu_thread; | 42 | GPUThread::ThreadManager gpu_thread; |
| 44 | std::unique_ptr<Core::Frontend::GraphicsContext> cpu_context; | 43 | std::unique_ptr<Core::Frontend::GraphicsContext> cpu_context; |
| 45 | std::unique_ptr<Core::Frontend::GraphicsContext> gpu_context; | ||
| 46 | }; | 44 | }; |
| 47 | 45 | ||
| 48 | } // namespace VideoCommon | 46 | } // namespace VideoCommon |