aboutsummaryrefslogtreecommitdiff
path: root/src/queue_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue_context.hh')
-rw-r--r--src/queue_context.hh4
1 files changed, 3 insertions, 1 deletions
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<submission_ptr_t> 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<submission_ptr_t> submissions;
std::uint64_t sequence;
};