meson: add support for xlib glx
authorDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 00:42:41 +0000 (17:42 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 10 Nov 2017 21:00:01 +0000 (13:00 -0800)
commit118a7f044191d4ab15ac99f7748a6d6d97e683d1
treefa09570d23e5a2c828dda63b710c1e4636ee48c9
parent13752af4edcbebabf20c031a4dc441a5bf7456f4
meson: add support for xlib glx

There is a bunch of churn in the main meson.build so that we can
correctly set the auto tristate of GLX. In particular, don't build
xlib-based glx when dri and gallium are disabled but vulkan is enabled,
in that case just turn glx off.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
meson.build
src/mesa/drivers/x11/meson.build [new file with mode: 0644]
src/mesa/meson.build