summaryrefslogtreecommitdiffstats
path: root/src/gallium/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/meson.build')
-rw-r--r--src/gallium/meson.build11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index 6edfe80321d..31884f5b72e 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -65,17 +65,22 @@ endif
if with_gallium_imx
subdir('winsys/imx/drm')
endif
+if with_glx == 'gallium-xlib'
+ subdir('winsys/sw/xlib')
+endif
subdir('state_trackers/dri')
if with_osmesa == 'gallium'
subdir('state_trackers/osmesa')
endif
+if with_glx == 'gallium-xlib'
+ subdir('state_trackers/glx/xlib')
+endif
# TODO: i915
# TODO: SVGA
# TODO: r300
# TODO: r600
# TODO: SWR
# TODO: virgl
-# TODO: winsys/sw/xlib
# TODO: clover
if with_dri and with_gallium
subdir('targets/dri')
@@ -83,7 +88,9 @@ endif
if with_osmesa == 'gallium'
subdir('targets/osmesa')
endif
-# TODO: xlib-glx
+if with_glx == 'gallium-xlib'
+ subdir('targets/libgl-xlib')
+endif
# TODO: OMX
# TODO: VA
# TODO: vdpau