wlroots/backend/wayland/meson.build
Simon Ser e9a6b3b85d backend/wayland: add support for explicit sync
wl_buffer.release event delivery becomes undefined when using the
linux-drm-syncobj-v1 protocol, so we need to wait for buffer
release via a timeline point instead.

The protocol requires both wait and signal timelines to be set, so
we need to create one when the compositor only supplies a wait
timeline.
2024-11-11 15:22:22 +00:00

32 lines
576 B
Meson

wayland_client = dependency('wayland-client',
fallback: 'wayland',
default_options: wayland_project_options,
)
wlr_deps += wayland_client
wlr_files += files(
'backend.c',
'output.c',
'seat.c',
'pointer.c',
'tablet_v2.c',
)
client_protos = [
'drm',
'linux-dmabuf-v1',
'linux-drm-syncobj-v1',
'pointer-gestures-unstable-v1',
'presentation-time',
'relative-pointer-unstable-v1',
'tablet-v2',
'viewporter',
'xdg-activation-v1',
'xdg-decoration-unstable-v1',
'xdg-shell',
]
foreach proto : client_protos
wlr_files += protocols_client_header[proto]
endforeach