mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
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 <emil.velikov@collabora.com> Acked-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
parent
edb5a65f93
commit
2d35773221
2 changed files with 3 additions and 4 deletions
|
|
@ -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.])
|
||||
|
|
|
|||
|
|
@ -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"'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue