Skip to content

backend: add timeline feature flag

Simon Ser requested to merge emersion/wlroots:timeline-backend-flag into master

The output feature flag has a flaw: it's not possible to check whether the backend supports timelines during compositor initialization when we need to figure out whether we want to enable the linux-drm-syncobj-v1 protocol.

Introduce a backend-wide feature flag to indicate support for timelines to address this defect.

Closes: #3904 (closed)
Sway patch: https://github.com/swaywm/sway/pull/8380


Breaking change, but for an unreleased feature: wlr_output.timeline has been superseded by wlr_backend.features.timeline. Compositors should check wlr_backend.features.timeline before calling wlr_linux_drm_syncobj_manager_v1_create().

Edited by Simon Ser

Merge request reports

Loading