summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_asynch.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-09 20:02:00 +0200
committerLioncash <mathew1800@gmail.com>2019-04-12 04:11:40 +0200
commit6d0551196d90af7f1233c655fd3b979811a14708 (patch)
tree9e91a2a79d5351360efaca57cc49be7801c7faf3 /src/video_core/gpu_asynch.cpp
parentcore/cpu_core_manager: Create threads separately from initialization. (diff)
downloadyuzu-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_asynch.cpp')
-rw-r--r--src/video_core/gpu_asynch.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/gpu_asynch.cpp b/src/video_core/gpu_asynch.cpp
index db507cf04..d4e2553a9 100644
--- a/src/video_core/gpu_asynch.cpp
+++ b/src/video_core/gpu_asynch.cpp
@@ -9,10 +9,14 @@
namespace VideoCommon {
GPUAsynch::GPUAsynch(Core::System& system, VideoCore::RendererBase& renderer)
- : Tegra::GPU(system, renderer), gpu_thread{system, renderer, *dma_pusher} {}
+ : GPU(system, renderer), gpu_thread{system} {}
GPUAsynch::~GPUAsynch() = default;
+void GPUAsynch::Start() {
+ gpu_thread.StartThread(renderer, *dma_pusher);
+}
+
void GPUAsynch::PushGPUEntries(Tegra::CommandList&& entries) {
gpu_thread.SubmitList(std::move(entries));
}