summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-02-04 12:32:58 +1300
committerScott Mansell <phiren@gmail.com>2023-02-04 14:58:12 +1300
commit6594532f103f85d2dc7362506040b3c25cbacb42 (patch)
tree7a9add13be5d23f5e712c50a3ec1adf259b014da /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
parentacdb0c5be12ae3db1f09283a0d491fe07f178683 (diff)
WorkQueueThread: rework Cancel/Shutdown workflow
- Cancel doesn't shut down anymore. Allowing it to be used multiple times thoughout the life of the WorkQueue - Remove Clear, so we only have Cancel semantics - Add IsCancelling so work items can abort early if cancelling - Replace m_cancelled and m_thread.joinable() guars with m_shutdown. - Rename Flush to WaitForCompletion (As it's ambiguous if a function called flush should be blocking or not) - Add documentation
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions