output: add presented flag to presentation event

This commit is contained in:
Kirill Primak 2021-10-14 22:40:12 +03:00 committed by Simon Ser
parent 1089b7b8d6
commit 2af8cc769a
6 changed files with 11 additions and 2 deletions

View file

@ -228,6 +228,8 @@ struct wlr_output_event_present {
// Frame submission for which this presentation event is for (see
// wlr_output.commit_seq).
uint32_t commit_seq;
// Whether the frame was presented at all.
bool presented;
// Time when the content update turned into light the first time.
struct timespec *when;
// Vertical retrace counter. Zero if unavailable.