mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output: add presented flag to presentation event
This commit is contained in:
parent
1089b7b8d6
commit
2af8cc769a
6 changed files with 11 additions and 2 deletions
|
|
@ -1465,6 +1465,7 @@ static void handle_page_flip(int fd, unsigned seq,
|
|||
/* The DRM backend guarantees that the presentation event will be for
|
||||
* the last submitted frame. */
|
||||
.commit_seq = conn->output.commit_seq,
|
||||
.presented = true,
|
||||
.when = &present_time,
|
||||
.seq = seq,
|
||||
.refresh = mhz_to_nsec(conn->output.refresh),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue