aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorKirill Primak <vyivel@posteo.net>2021-10-14 22:40:12 +0300
committerSimon Ser <contact@emersion.fr>2021-10-15 09:38:58 +0200
commit2af8cc769a4cb2e47d6ec75aa62bb8e565578a24 (patch)
treebc809b9415aa3cc8b95091f4d65bc03a50310983 /include/wlr
parent1089b7b8d638a286c70571fced969826d61143bc (diff)
output: add presented flag to presentation event
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 5ef5a485..6c07372b 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -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.