configure: enable the surfaceless platform by default
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 25 Apr 2017 15:39:52 +0000 (16:39 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 18:44:06 +0000 (19:44 +0100)
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 <emil.velikov@collabora.com>
Acked-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
configure.ac
docs/releasing.html

index de422107a26ca5dafda8f4e4be953ec14fedfe77..f741efcb7c7f87187c968247af0e5e174a1fd11d 100644 (file)
@@ -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.])
index 38d59f6debb741c1d2494c6c24b01a056b7d9868..256c2df4e97f53320555b9a49e5468626e2b1d48 100644 (file)
@@ -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 &amp;&amp; DESTDIR=`pwd`/test make -j6 install
        __glxinfo_cmd='glxinfo 2>&amp;1 | egrep -o "Mesa.*|Gallium.*|.*dri\.so"'
        __glxgears_cmd='glxgears 2>&amp;1 | grep -v "configuration file"'