diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-08 18:04:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 18:04:26 +0100 |
commit | 160fc63c721bd633920e04f687f5e37435bb286d (patch) | |
tree | 27aef9b133400e514a1de3208e150367ad45ac22 /src/video_core | |
parent | Merge pull request #2208 from lioncash/gpu (diff) | |
parent | video_core/gpu_thread: Remove unimplemented WaitForIdle function prototype (diff) | |
download | yuzu-160fc63c721bd633920e04f687f5e37435bb286d.tar yuzu-160fc63c721bd633920e04f687f5e37435bb286d.tar.gz yuzu-160fc63c721bd633920e04f687f5e37435bb286d.tar.bz2 yuzu-160fc63c721bd633920e04f687f5e37435bb286d.tar.lz yuzu-160fc63c721bd633920e04f687f5e37435bb286d.tar.xz yuzu-160fc63c721bd633920e04f687f5e37435bb286d.tar.zst yuzu-160fc63c721bd633920e04f687f5e37435bb286d.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/gpu_thread.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 2ad8214cc..edb148b14 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -113,9 +113,6 @@ public: /// Notify rasterizer that any caches of the specified region should be flushed and invalidated void FlushAndInvalidateRegion(VAddr addr, u64 size); - /// Waits the caller until the GPU thread is idle, used for synchronization - void WaitForIdle(); - private: /// Pushes a command to be executed by the GPU thread void PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu); @@ -127,10 +124,10 @@ private: private: SynchState state; - std::thread thread; - std::thread::id thread_id; VideoCore::RendererBase& renderer; Tegra::DmaPusher& dma_pusher; + std::thread thread; + std::thread::id thread_id; }; } // namespace VideoCommon::GPUThread |