From a670ee7940342333abd91b351e42992bba6d635e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 19 Dec 2020 15:54:53 +0100 Subject: backend/x11: remove swapchain Rely on wlr_output's generic swapchain handling. We still need a renderer for cursor readback, sadly. --- include/backend/x11.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/backend/x11.h b/include/backend/x11.h index bb2bbeb8..fadcbedc 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -21,7 +21,6 @@ #include #include #include -#include #define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f @@ -35,9 +34,6 @@ struct wlr_x11_output { xcb_window_t win; xcb_present_event_t present_event_id; - struct wlr_swapchain *swapchain; - struct wlr_buffer *back_buffer; - struct wlr_pointer pointer; struct wlr_input_device pointer_dev; @@ -93,7 +89,6 @@ struct wlr_x11_backend { const struct wlr_x11_format *x11_format; struct wlr_drm_format_set primary_dri3_formats; struct wlr_drm_format_set primary_shm_formats; - struct wlr_drm_format *drm_format; struct wl_event_source *event_source; struct { -- cgit v1.2.3