From: Emil Velikov Date: Tue, 25 Apr 2017 15:39:52 +0000 (+0100) Subject: configure: enable the surfaceless platform by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d35773221d63658bb764f90bd7be95f910f6309;p=mesa.git configure: enable the surfaceless platform by default A simple platform that you want to use in a many usecases. See the spec file details. It has no special requirements plus it takes less than a second to build. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov Acked-by: Tapani Pälli Reviewed-by: Eric Engestrom --- diff --git a/configure.ac b/configure.ac index de422107a26..f741efcb7c7 100644 --- a/configure.ac +++ b/configure.ac @@ -1643,10 +1643,9 @@ AC_ARG_WITH([egl-platforms], [with_egl_platforms=auto]) if test "x$with_egl_platforms" = xauto; then + with_egl_platforms="x11,surfaceless" if test "x$enable_gbm" = xyes; then - with_egl_platforms="x11,drm" - else - with_egl_platforms="x11" + with_egl_platforms="$with_egl_platforms,drm" fi else AC_MSG_WARN([--with-egl-platforms is deprecated. Use --with-platforms instead.]) diff --git a/docs/releasing.html b/docs/releasing.html index 38d59f6debb..256c2df4e97 100644 --- a/docs/releasing.html +++ b/docs/releasing.html @@ -460,7 +460,7 @@ Here is one solution that I've been using. --enable-glx-tls \ --enable-gbm \ --enable-egl \ - --with-platforms=x11,drm,wayland + --with-platforms=x11,drm,wayland,surfaceless make -j2 && DESTDIR=`pwd`/test make -j6 install __glxinfo_cmd='glxinfo 2>&1 | egrep -o "Mesa.*|Gallium.*|.*dri\.so"' __glxgears_cmd='glxgears 2>&1 | grep -v "configuration file"'