wlroots-hyprland/include/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
session backend/session: Remove session_impl 2021-04-14 23:25:07 +02:00
backend.h backend: automatically create allocator 2021-05-21 22:13:54 +02:00
headless.h backend/headless: remove wlr_output_impl.export_dmabuf 2021-07-12 13:29:03 -04:00
libinput.h backend/libinput: send touch frame events 2021-07-08 09:12:17 +02:00
multi.h Rework session handling 2018-09-24 23:35:09 +02:00
noop.h noop: listen to display destroy and destroy the backend 2020-12-31 20:34:36 +01:00
wayland.h move wlr_box from /types to /util 2021-07-06 21:43:17 +02:00
x11.h backend/x11: remove swapchain 2021-06-07 15:42:38 +02:00