diff options
Diffstat (limited to 'src/swapchain_monitor.hh')
| -rw-r--r-- | src/swapchain_monitor.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/swapchain_monitor.hh b/src/swapchain_monitor.hh index 5678630..be81d59 100644 --- a/src/swapchain_monitor.hh +++ b/src/swapchain_monitor.hh @@ -62,6 +62,10 @@ class SwapchainMonitor { const std::uint64_t& value); void notify_present(const QueueContext::submissions_t& submissions); + + public: + // Synchronously wait until all in-flight submissions have completed. + void wait_until(); }; } // namespace low_latency |
