diff options
Diffstat (limited to 'src/video_core/gpu.h')
| -rw-r--r-- | src/video_core/gpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index cc65a7870..3188b83ed 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <memory> | 7 | #include <memory> |
| 8 | #include <stop_token> | ||
| 9 | 8 | ||
| 10 | #include "common/bit_field.h" | 9 | #include "common/bit_field.h" |
| 11 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| @@ -210,7 +209,7 @@ public: | |||
| 210 | [[nodiscard]] const VideoCore::ShaderNotify& ShaderNotify() const; | 209 | [[nodiscard]] const VideoCore::ShaderNotify& ShaderNotify() const; |
| 211 | 210 | ||
| 212 | /// Allows the CPU/NvFlinger to wait on the GPU before presenting a frame. | 211 | /// Allows the CPU/NvFlinger to wait on the GPU before presenting a frame. |
| 213 | void WaitFence(u32 syncpoint_id, u32 value, std::stop_token stop_token = {}); | 212 | void WaitFence(u32 syncpoint_id, u32 value); |
| 214 | 213 | ||
| 215 | void IncrementSyncPoint(u32 syncpoint_id); | 214 | void IncrementSyncPoint(u32 syncpoint_id); |
| 216 | 215 | ||
| @@ -233,6 +232,9 @@ public: | |||
| 233 | /// core timing events. | 232 | /// core timing events. |
| 234 | void Start(); | 233 | void Start(); |
| 235 | 234 | ||
| 235 | /// Performs any additional necessary steps to shutdown GPU emulation. | ||
| 236 | void NotifyShutdown(); | ||
| 237 | |||
| 236 | /// Obtain the CPU Context | 238 | /// Obtain the CPU Context |
| 237 | void ObtainContext(); | 239 | void ObtainContext(); |
| 238 | 240 | ||