From 80865351bd58a1cb3c7e47614e67223b157b7998 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 9 Feb 2021 23:29:44 +0100 Subject: backend/wayland: add support for wl_shm buffers --- include/backend/wayland.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/backend') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index d6bed2b6..ddaca335 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -38,10 +38,12 @@ struct wlr_wl_backend { struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1; struct zwp_pointer_gestures_v1 *zwp_pointer_gestures_v1; struct wp_presentation *presentation; + struct wl_shm *shm; struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf_v1; struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1; struct wl_list seats; // wlr_wl_seat.link struct zwp_tablet_manager_v2 *tablet_manager; + struct wlr_drm_format_set shm_formats; struct wlr_drm_format_set linux_dmabuf_v1_formats; struct wl_drm *legacy_drm; char *drm_render_name; -- cgit v1.2.3