summaryrefslogtreecommitdiffstats
path: root/src/gallium/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-02 13:36:44 -0700
committerDylan Baker <[email protected]>2017-11-10 13:00:01 -0800
commitad9c2f5469deadea25b6781188acdebc3942df49 (patch)
tree908f9201d8605cb49b538ef64f197fde6ce699d6 /src/gallium/meson.build
parent118a7f044191d4ab15ac99f7748a6d6d97e683d1 (diff)
meson: build gallium-xlib based glx
Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
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