From 2af8cc769a4cb2e47d6ec75aa62bb8e565578a24 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Thu, 14 Oct 2021 22:40:12 +0300 Subject: output: add presented flag to presentation event --- include/wlr/types/wlr_output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') 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. -- cgit v1.2.3