OSDN Git Service

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:20:47 +0000 (11:20 +0000)
commit200004fe0312580cf5e678affe97926a65595c2b
treebeb50a30eedc6ecee98bdadfc5b2e76b4159a1fe
parentd7795a8431b133f04744c4e0fdbec804b61b8877
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"
(cherry picked from commit 5bc509363b6dbc42af72668fe500b6aec988dbf0)
configure.ac
meson.build
src/glx/Makefile.am
src/glx/SConscript
src/glx/glxcmds.c
src/glx/meson.build