Mesa (7.9): egl: Enable drm platform by default.

Chia-I Wu olv at kemper.freedesktop.org
Sun Sep 19 09:50:42 UTC 2010


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

Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Sep 19 17:31:34 2010 +0800

egl: Enable drm platform by default.

This enables EGL_MESA_drm_display for st/egl in the default setup.
(cherry picked from commit 2a910b339672e80e70d49d01ac7e8e870068e7ad)

---

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index b19bf8f..cf743ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1376,6 +1376,9 @@ case "$with_egl_platforms" in
 yes)
     if test "x$enable_egl" = xyes && test "x$mesa_driver" != xosmesa; then
         EGL_PLATFORMS="x11"
+        if test "$mesa_driver" = dri; then
+            EGL_PLATFORMS="$EGL_PLATFORMS drm"
+        fi
     fi
     ;;
 *)




More information about the mesa-commit mailing list