diff options
author | Kirill Primak <vyivel@posteo.net> | 2021-10-14 22:40:12 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-15 09:38:58 +0200 |
commit | 2af8cc769a4cb2e47d6ec75aa62bb8e565578a24 (patch) | |
tree | bc809b9415aa3cc8b95091f4d65bc03a50310983 /include | |
parent | 1089b7b8d638a286c70571fced969826d61143bc (diff) |
output: add presented flag to presentation event
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 2 |
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. |