aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/x11.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 89760069..b977955e 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -75,6 +75,9 @@ struct wlr_x11_backend {
xcb_colormap_t colormap;
xcb_cursor_t transparent_cursor;
xcb_render_pictformat_t argb32;
+
+ bool have_shm;
+ bool have_dri3;
uint32_t dri3_major_version, dri3_minor_version;
size_t requested_outputs;
@@ -87,6 +90,7 @@ struct wlr_x11_backend {
int drm_fd;
struct wlr_renderer *renderer;
struct wlr_drm_format_set dri3_formats;
+ struct wlr_drm_format_set shm_formats;
const struct wlr_x11_format *x11_format;
struct wlr_drm_format *drm_format;
struct wlr_allocator *allocator;