[Mesa-dev] [PATCH 04/24] configure: autodetect video state-trackers when non swrast driver is present
Emil Velikov
emil.l.velikov at gmail.com
Thu Mar 27 14:00:19 PDT 2014
It makes little sense to enable the vdpau, xvmc and omx state-trackers
as they do not make use of (don't work with) the software driver.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index de05ab2..d0a7bd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1268,7 +1268,7 @@ AM_CONDITIONAL(HAVE_OPENVG, test "x$enable_openvg" = xyes)
dnl
dnl Gallium G3DVL configuration
dnl
-if test -n "$with_gallium_drivers"; then
+if test -n "$with_gallium_drivers" && ! echo "$with_gallium_drivers" | grep -q 'swrast'; then
if test "x$enable_xvmc" = xauto; then
PKG_CHECK_EXISTS([xvmc], [enable_xvmc=yes], [enable_xvmc=no])
fi
--
1.9.1
More information about the mesa-dev
mailing list