[mutter] configure.ac: Add option to enable EGLDevice based rendering



commit f692eb3677b19e3e85ee28a98a1467e762b3a56d
Author: Jonas Ådahl <jadahl gmail com>
Date:   Thu Aug 18 11:26:33 2016 +0800

    configure.ac: Add option to enable EGLDevice based rendering
    
    This does nothing so far.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773629

 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cddbf3e..f7859f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -257,6 +257,15 @@ AS_IF([test "$have_native_backend" = "yes"], [
 ])
 AM_CONDITIONAL([HAVE_NATIVE_BACKEND],[test "$have_native_backend" = "yes"])
 
+AC_ARG_ENABLE(egl-device,
+  AS_HELP_STRING([--enable-egl-device], [enable support for EGLDevice on top of KMS]),
+  enable_egl_device=yes,
+  enable_egl_device=no
+)
+AS_IF([test "$enable_egl_device" = "yes"], [
+  AC_DEFINE([HAVE_EGL_DEVICE],[1], [Defined if EGLDevice support is enabled])
+])
+
 MUTTER_WAYLAND_MODULES="wayland-server >= 1.6.90"
 
 AC_ARG_ENABLE(wayland,
@@ -484,6 +493,7 @@ mutter-$VERSION
        Session management:       ${found_sm}
        Wayland:                  ${have_wayland}
        Native (KMS) backend:     ${have_native_backend}
+       EGLDevice:                ${enable_egl_device}
 "
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]