glx: make xf86vidmode mandatory for direct rendering
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 16 Nov 2018 11:15:37 +0000 (11:15 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 20 Nov 2018 11:13:20 +0000 (11:13 +0000)
commit5bc509363b6dbc42af72668fe500b6aec988dbf0
treed9bf7beec454f84cbc96e3892d640aebba776f7e
parent84445a86d192c0d7f07bc25a84080458de764149
glx: make xf86vidmode mandatory for direct rendering

Currently we detect the module and if missing, the glXGetMsc* API is
effectively a stub, always returning false.

This is what effectively has been happening with our meson build :-(

Thus users have no chance of using it - they cannot even distinguish
if the failure is due to a misconfigured build.

There's no reason for keeping xf86vidmode optional - it has been
available in all distributions for years.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Fixes: a47c525f3281a2753180e "meson: build glx"
configure.ac
meson.build
src/glx/Makefile.am
src/glx/SConscript
src/glx/glxcmds.c
src/glx/meson.build