diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-12 09:24:33 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-12-29 01:33:48 +0100 |
commit | 40571c073faa02a6a4301e7f0ce365ef50a400aa (patch) | |
tree | f36bf8633469b5fc370495477e3c7cbc6e97a9c6 /src/video_core/gpu_thread.h | |
parent | video_core: gpu: Refactor out synchronous/asynchronous GPU implementations. (diff) | |
download | yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.gz yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.bz2 yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.lz yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.xz yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.zst yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu_thread.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 0071195d6..2775629e7 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -27,7 +27,7 @@ class System; } // namespace Core namespace VideoCore { - class RendererBase; +class RendererBase; } // namespace VideoCore namespace VideoCommon::GPUThread { @@ -117,7 +117,7 @@ struct SynchState final { /// Class used to manage the GPU thread class ThreadManager final { public: - explicit ThreadManager(Core::System& system_); + explicit ThreadManager(Core::System& system_, bool is_async_); ~ThreadManager(); /// Creates and starts the GPU thread. @@ -155,6 +155,7 @@ private: Core::System& system; std::thread thread; std::thread::id thread_id; + const bool is_async; }; } // namespace VideoCommon::GPUThread |