diff options
| author | 2021-02-12 22:22:18 -0800 | |
|---|---|---|
| committer | 2021-02-12 22:22:18 -0800 | |
| commit | d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980 (patch) | |
| tree | 5c900d10847e1768a4951c1e6bec35f2618b5991 /src/video_core/gpu_thread.h | |
| parent | Merge pull request #5877 from ameerj/res-limit-usage (diff) | |
| parent | config: Make high GPU accuracy the default (diff) | |
| download | yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.tar.gz yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.tar.xz yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.zip | |
Merge pull request #5741 from ReinUsesLisp/new-bufcache
video_core: Reimplement the buffer cache
Diffstat (limited to 'src/video_core/gpu_thread.h')
| -rw-r--r-- | src/video_core/gpu_thread.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 2775629e7..4cd951169 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h | |||
| @@ -27,6 +27,7 @@ class System; | |||
| 27 | } // namespace Core | 27 | } // namespace Core |
| 28 | 28 | ||
| 29 | namespace VideoCore { | 29 | namespace VideoCore { |
| 30 | class RasterizerInterface; | ||
| 30 | class RendererBase; | 31 | class RendererBase; |
| 31 | } // namespace VideoCore | 32 | } // namespace VideoCore |
| 32 | 33 | ||
| @@ -151,11 +152,12 @@ private: | |||
| 151 | /// Pushes a command to be executed by the GPU thread | 152 | /// Pushes a command to be executed by the GPU thread |
| 152 | u64 PushCommand(CommandData&& command_data); | 153 | u64 PushCommand(CommandData&& command_data); |
| 153 | 154 | ||
| 154 | SynchState state; | ||
| 155 | Core::System& system; | 155 | Core::System& system; |
| 156 | std::thread thread; | ||
| 157 | std::thread::id thread_id; | ||
| 158 | const bool is_async; | 156 | const bool is_async; |
| 157 | VideoCore::RasterizerInterface* rasterizer = nullptr; | ||
| 158 | |||
| 159 | SynchState state; | ||
| 160 | std::thread thread; | ||
| 159 | }; | 161 | }; |
| 160 | 162 | ||
| 161 | } // namespace VideoCommon::GPUThread | 163 | } // namespace VideoCommon::GPUThread |