Merge branch 'present-v3' into 'master'

presentation-time: implement support for presentation-time v3

See merge request wlroots/wlroots!5207
This commit is contained in:
llyyr 2026-05-26 14:35:59 +05:30
commit 8a9ff881b7
3 changed files with 15 additions and 1 deletions

View file

@ -2067,6 +2067,12 @@ static void handle_page_flip(int fd, unsigned seq,
present_flags |= WLR_OUTPUT_PRESENT_ZERO_COPY;
}
if (conn->output.adaptive_sync_status == WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED) {
present_flags |= WLR_OUTPUT_PRESENT_VARIABLE_RATE;
} else {
present_flags |= WLR_OUTPUT_PRESENT_FIXED_RATE;
}
struct wlr_output_event_present present_event = {
/* The DRM backend guarantees that the presentation event will be for
* the last submitted frame. */