diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-09 20:02:00 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-12 04:11:40 +0200 |
commit | 6d0551196d90af7f1233c655fd3b979811a14708 (patch) | |
tree | 9e91a2a79d5351360efaca57cc49be7801c7faf3 /src/video_core/gpu_thread.h | |
parent | core/cpu_core_manager: Create threads separately from initialization. (diff) | |
download | yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.gz yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.bz2 yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.lz yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.xz yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.zst yuzu-6d0551196d90af7f1233c655fd3b979811a14708.zip |
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r-- | src/video_core/gpu_thread.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 62bcea5bb..cc14527c7 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -138,10 +138,12 @@ struct SynchState final { /// Class used to manage the GPU thread class ThreadManager final { public: - explicit ThreadManager(Core::System& system, VideoCore::RendererBase& renderer, - Tegra::DmaPusher& dma_pusher); + explicit ThreadManager(Core::System& system); ~ThreadManager(); + /// Creates and starts the GPU thread. + void StartThread(VideoCore::RendererBase& renderer, Tegra::DmaPusher& dma_pusher); + /// Push GPU command entries to be processed void SubmitList(Tegra::CommandList&& entries); |