diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-11 22:26:14 -0800 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-12-28 16:33:48 -0800 |
commit | 14c825bd1c37b2444e858bf1a75fb77455b4eb52 (patch) | |
tree | 60dfa8c299f4709d04ca652c8eb35e7f7b13ad89 /src/video_core/gpu_thread.h | |
parent | 5d4715cc6af424e8529de5ac1a11d1cca3b3f7cf (diff) |
video_core: gpu: Refactor out synchronous/asynchronous GPU implementations.
- We must always use a GPU thread now, even with synchronous GPU.
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r-- | src/video_core/gpu_thread.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index f1c52cd9e0..0071195d6d 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -10,8 +10,9 @@ #include <optional> #include <thread> #include <variant> + #include "common/threadsafe_queue.h" -#include "video_core/gpu.h" +#include "video_core/framebuffer_config.h" namespace Tegra { struct FramebufferConfig; @@ -25,6 +26,10 @@ class GraphicsContext; class System; } // namespace Core +namespace VideoCore { + class RendererBase; +} // namespace VideoCore + namespace VideoCommon::GPUThread { /// Command to signal to the GPU thread that processing has ended |