[clutter/wip/cogl-winsys-egl: 30/37] Adds COGL_HAS_EGL_PLATFORM_ defines



commit 8c5d2375e9a43d8972c21f907dcb4800865a6a4c
Author: Robert Bragg <robert linux intel com>
Date:   Thu Mar 17 19:35:53 2011 +0000

    Adds COGL_HAS_EGL_PLATFORM_ defines

 clutter/cogl/configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/clutter/cogl/configure.ac b/clutter/cogl/configure.ac
index 732ad87..8fd890e 100644
--- a/clutter/cogl/configure.ac
+++ b/clutter/cogl/configure.ac
@@ -425,6 +425,9 @@ AS_IF([test "x$enable_null_egl_platform" = "xyes"],
         EGL_PLATFORM_COUNT=$((EGL_PLATFORM_COUNT+1))
         NEED_EGL=yes
         EGL_PLATFORMS="$EGL_PLATFORMS null"
+
+        AC_DEFINE([COGL_HAS_EGL_PLATFORM_POWERVR_NULL_SUPPORT], [1],
+                  [Cogl supports NULL EGL platform typedefs])
       ])
 AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_POWERVR_NULL,
                [test "x$enable_null_egl_platform" = "xyes"])
@@ -493,6 +496,9 @@ AS_IF([test "x$enable_xlib_egl_platform" = "xyes"],
         NEED_EGL=yes
         NEED_XLIB=yes
         EGL_PLATFORMS="$EGL_PLATFORMS xlib"
+
+        AC_DEFINE([COGL_HAS_EGL_PLATFORM_POWERVR_X11_SUPPORT], [1],
+                  [Cogl supports Xlib based EGL platform typedefs])
       ])
 AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_POWERVR_X11,
                [test "x$enable_xlib_egl_platform" = "xyes"])



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