summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar ameerj2022-01-03 20:31:51 -0500
committerGravatar ameerj2022-01-03 20:47:26 -0500
commitc17938f96ba9a3f2571387b21328743db8050250 (patch)
tree23c8280d1aaf458a1abbad272e8facc3bd58eb36 /src/video_core/gpu.h
parentRevert "Merge pull request #7668 from ameerj/fence-stop-token" (diff)
downloadyuzu-c17938f96ba9a3f2571387b21328743db8050250.tar.gz
yuzu-c17938f96ba9a3f2571387b21328743db8050250.tar.xz
yuzu-c17938f96ba9a3f2571387b21328743db8050250.zip
gpu: Add shut down method to synchronize threads before destruction
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 500411176..3188b83ed 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -232,6 +232,9 @@ public:
232 /// core timing events. 232 /// core timing events.
233 void Start(); 233 void Start();
234 234
235 /// Performs any additional necessary steps to shutdown GPU emulation.
236 void NotifyShutdown();
237
235 /// Obtain the CPU Context 238 /// Obtain the CPU Context
236 void ObtainContext(); 239 void ObtainContext();
237 240