From bb7c9b56e1710a7f2a3f4bb57f181e4fa196aba2 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Wed, 18 Feb 2026 14:51:21 +1100 Subject: Fix missing cpu time between gpu presents, simplify timestamp->get_time() --- src/queue_context.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/queue_context.hh') diff --git a/src/queue_context.hh b/src/queue_context.hh index ed13465..219e6fb 100644 --- a/src/queue_context.hh +++ b/src/queue_context.hh @@ -48,10 +48,12 @@ class QueueContext final : public Context { std::deque submissions; // In flight frame submissions grouped together. - // The first element in the vector refers to the first submission that + // The first element in the deque refers to the first submission that // contributed to that frame. The last element is the last submission before // present was called. + // std::size(submissions) >= 1 btw struct Frame { + submission_ptr_t prev_frame_last_submit; std::deque submissions; std::uint64_t sequence; }; -- cgit v1.2.3