#ifndef DRM_BACKEND_H #define DRM_BACKEND_H #include #include #include #include #include #include #include #include #include #include "udev.h" #include "event.h" #include "drm.h" struct wlr_drm_backend { int fd; struct wl_event_source *drm_event; struct { struct wl_signal output_add; struct wl_signal output_rem; struct wl_signal output_render; } signals; uint32_t taken_crtcs; list_t *outputs; struct wlr_drm_renderer renderer; struct wlr_session *session; struct wlr_udev udev; }; #endif