aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-09 23:29:44 +0100
committerSimon Ser <contact@emersion.fr>2021-04-17 09:54:39 +0200
commit80865351bd58a1cb3c7e47614e67223b157b7998 (patch)
treef252bba9a53f97189240ccd00587cb74756c92e7 /include
parentc6b009ef85fce07f490378e63ac8f3d17b5db92f (diff)
backend/wayland: add support for wl_shm buffers
Diffstat (limited to 'include')
-rw-r--r--include/backend/wayland.h2
1 files changed, 2 insertions, 0 deletions
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;