wlroots-hyprland/backend
Simon Ser 3b53d1cbf1 backend/drm: introduce page-flip tracking struct
Introduce a per-page-flip tracking struct passed to the kernel
when we request a page-flip event for an atomic commit. The kernel
will pass us back this pointer when delivering the event.

This eliminates any risk of mixing up events together. In particular,
if two events are pending, or if the CRTC of a connector is swapped,
we no longer blow up in the page-flip event handler.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3753
2023-11-17 16:59:04 +00:00
..
drm backend/drm: introduce page-flip tracking struct 2023-11-17 16:59:04 +00:00
headless treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
libinput treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
multi backend: drop wlr_backend_get_presentation_clock() 2023-10-30 18:39:39 +01:00
session backend/session: make optional 2022-11-25 16:15:29 +00:00
wayland backend: drop wlr_backend_get_presentation_clock() 2023-10-30 18:39:39 +01:00
x11 treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
backend.c backend: drop wlr_backend_get_presentation_clock() 2023-10-30 18:39:39 +01:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00