aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-17 10:19:51 +0100
committerSimon Ser <contact@emersion.fr>2021-01-17 12:08:40 +0100
commite537382991ea44a6b8dae41875c94d0455620e9a (patch)
treea2bf57e27af4e7d1db2d48143603000e4fc9bda9 /include/backend
parent284233c34fe291d0022b336f100c864f3905cf4f (diff)
backend/x11: add support for DRI3 1.0
Add fallbacks when DRI3 1.2 isn't supported. Closes: https://github.com/swaywm/wlroots/issues/2586
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/x11.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 85836ad4..b21d818e 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -68,6 +68,7 @@ struct wlr_x11_backend {
xcb_depth_t *depth;
xcb_visualid_t visualid;
xcb_colormap_t colormap;
+ uint32_t dri3_major_version, dri3_minor_version;
size_t requested_outputs;
size_t last_output_num;