aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-19 15:54:53 +0100
committerSimon Ser <contact@emersion.fr>2021-06-07 15:42:38 +0200
commita670ee7940342333abd91b351e42992bba6d635e (patch)
treeaf43f81ec2b7dda6e90f11f37d3992fc021b5ae0 /include
parent68c4f159585c2466e60220d14215340ae58dd958 (diff)
backend/x11: remove swapchain
Rely on wlr_output's generic swapchain handling. We still need a renderer for cursor readback, sadly.
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h5
1 files changed, 0 insertions, 5 deletions
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 <wlr/interfaces/wlr_pointer.h>
#include <wlr/interfaces/wlr_touch.h>
#include <wlr/render/drm_format_set.h>
-#include <wlr/render/wlr_renderer.h>
#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 {