wlroots/backend
Simon Ser 3c74bd0c91 backend/drm: introduce wlr_drm_connector_state
Previously, we were copying wlr_output_state on the stack and
patching it up to be guaranteed to have a proper drmModeModeInfo
stored in it (and not a custom mode). Also, we had a bunch of
helpers deriving DRM-specific information from the generic
wlr_output_state.

Copying the wlr_output_state worked fine so far, but with output
layers we'll be getting a wl_list in there. An empty wl_list stores
two pointers to itself, copying it on the stack blindly results in
infinite loops in wl_list_for_each.

To fix this, rework our DRM backend to stop copying wlr_output_state,
instead add a new struct wlr_drm_connector_state which holds both
the wlr_output_state and additional DRM-specific information.
2021-09-07 11:18:18 +02:00
..
drm backend/drm: introduce wlr_drm_connector_state 2021-09-07 11:18:18 +02:00
headless Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
libinput backend: unify startup messages 2021-08-19 20:47:36 +02:00
multi backend: introduce wlr_backend_finish 2021-05-21 22:13:54 +02:00
noop backend/noop: drop attach_render/rollback_render 2021-07-29 09:48:33 -04:00
session backend/session: use DRM_PRIMARY_MINOR_NAME 2021-06-17 00:28:04 +02:00
wayland Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
x11 Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
backend.c Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
meson.build backend: make DRM and libinput backends optional 2021-07-22 09:56:38 -04:00