presentation-time: implement support for presentation-time v3

See: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/459
This commit is contained in:
llyyr 2025-12-06 21:49:01 +05:30
parent a962d58727
commit e6e57da34f
3 changed files with 15 additions and 1 deletions

View file

@ -303,6 +303,10 @@ enum wlr_output_present_flag {
WLR_OUTPUT_PRESENT_HW_COMPLETION = 0x4,
// The presentation of this update was done zero-copy.
WLR_OUTPUT_PRESENT_ZERO_COPY = 0x8,
// The display hardware is operating at a fixed refresh rate.
WLR_OUTPUT_PRESENT_FIXED_RATE = 0x10,
// The display hardware is operating at a variable refresh rate.
WLR_OUTPUT_PRESENT_VARIABLE_RATE = 0x20,
};
struct wlr_output_event_present {