[Mesa-dev] [PATCH v2 05/27] configure: enable the surfaceless platform by default

Emil Velikov emil.l.velikov at gmail.com
Thu May 4 16:29:50 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

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: Tapani Pälli <tapani.palli at intel.com>
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 configure.ac        | 5 ++---
 docs/releasing.html | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index f4f488a25bc..b132edef255 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1648,10 +1648,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 83f4a52b49f..68d83f2ae20 100644
--- a/docs/releasing.html
+++ b/docs/releasing.html
@@ -405,7 +405,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"'
-- 
2.12.2



More information about the mesa-dev mailing list