mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-06 01:40:52 -05:00
backend/drm: add explicit sync support to libliftoff interface
This commit is contained in:
parent
d7223eae02
commit
0d6284eb62
2 changed files with 12 additions and 2 deletions
|
|
@ -1646,8 +1646,7 @@ static bool connect_drm_connector(struct wlr_drm_connector *wlr_conn,
|
|||
output->non_desktop = non_desktop;
|
||||
}
|
||||
|
||||
// TODO: support sync timelines with libliftoff
|
||||
output->timeline = drm->iface == &atomic_iface;
|
||||
output->timeline = drm->iface != &legacy_iface;
|
||||
if (drm->parent) {
|
||||
output->timeline = output->timeline && drm->mgpu_renderer.wlr_rend->features.timeline;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue