aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-29 14:09:06 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-05-30 13:30:08 +0000
commitbb2946f7377b9e71c15457e93f6f9a34712b77de (patch)
tree5d3418525e4f87c1e77826bd96fc93a151384254 /include/wlr
parentd483dd2f4caeeab97de97c4e8215f084945de63c (diff)
build: make GBM optional
Now that the DRM backend no longer depends on GBM, we can make it optional. The GLES2 renderer still depends on it because of our EGL device selection. This is useful for compositors with their own renderers, and for compositors using the Vulkan renderer.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/config.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/config.h.in b/include/wlr/config.h.in
index 71868a34..0b612271 100644
--- a/include/wlr/config.h.in
+++ b/include/wlr/config.h.in
@@ -6,9 +6,10 @@
#mesondefine WLR_HAS_X11_BACKEND
#mesondefine WLR_HAS_GLES2_RENDERER
-
#mesondefine WLR_HAS_VULKAN_RENDERER
+#mesondefine WLR_HAS_GBM_ALLOCATOR
+
#mesondefine WLR_HAS_XWAYLAND
#endif