Mesa (master): configure: Allow android as an EGL platform

Eric Engeström eric_engestrom at kemper.freedesktop.org
Tue Oct 24 13:51:08 UTC 2017


Module: Mesa
Branch: master
Commit: de3555f83497498201aeea111292654e95fb5bd4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de3555f83497498201aeea111292654e95fb5bd4

Author: Benjamin Gordon <bmgordon at chromium.org>
Date:   Fri Oct 20 15:34:57 2017 -0600

configure: Allow android as an EGL platform

I'm working on radeonsi support in the Chrome OS Android container
(ARC++).  Mesa in ARC++ uses autotools instead of Android.mk, but all
the necessary EGL bits are there, so the existing check is too strict.

Signed-off-by: Benjamin Gordon <bmgordon at chromium.org>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index add3830f23..9aa02f55de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2410,12 +2410,13 @@ dnl Surfaceless is an alternative for the last one.
 dnl
 require_basic_egl() {
     case "$with_platforms" in
-        *drm*|*surfaceless*)
+        *drm*|*surfaceless*|*android*)
             ;;
         *)
             AC_MSG_ERROR([$1 requires one of these:
                   1) --with-platforms=drm (X, Wayland, offscreen rendering based on DRM)
                   2) --with-platforms=surfaceless (offscreen only)
+                  3) --with-platforms=android (Android only)
                   Recommended options: drm,x11])
             ;;
     esac




More information about the mesa-commit mailing list