[cairo-commit] glitz ChangeLog,1.81,1.82 configure.in,1.18,1.19

David Reveman commit at pdx.freedesktop.org
Thu May 19 06:30:51 PDT 2005


Committed by: davidr

Update of /cvs/cairo/glitz
In directory gabe:/tmp/cvs-serv15345

Modified Files:
	ChangeLog configure.in 
Log Message:
Add EGL backend

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/glitz/ChangeLog,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- ChangeLog	12 Apr 2005 15:09:58 -0000	1.81
+++ ChangeLog	19 May 2005 13:30:49 -0000	1.82
@@ -1,3 +1,8 @@
+2005-05-19  David Reveman  <davidr at novell.com>
+
+	* src/Makefile.am: 
+	* configure.in: Add EGL backend.
+
 2005-04-12  David Reveman  <davidr at novell.com>
 
 	* src/glitz.h (GLITZ_REVISION): Bump version to 0.4.2.

Index: configure.in
===================================================================
RCS file: /cvs/cairo/glitz/configure.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- configure.in	12 Apr 2005 15:09:58 -0000	1.18
+++ configure.in	19 May 2005 13:30:49 -0000	1.19
@@ -196,6 +196,26 @@
 AC_SUBST(AGL_CFLAGS)
 AC_SUBST(AGL_LIBS)
 
+
+dnl ===========================================================================
+
+AC_ARG_ENABLE(egl,
+  AC_HELP_STRING([--enable-egl], [Enable glitz's EGL backend]),
+  [use_egl=$enableval], [use_egl=no])
+
+EGL_LIBS="-lGL"
+EGL_CFLAGS="$EGL_CFLAGS"
+    
+if test "x$use_egl" = "xyes"; then
+  AM_CONDITIONAL(GLITZ_BUILD_EGL_BACKEND, true)
+else
+  AM_CONDITIONAL(GLITZ_BUILD_EGL_BACKEND, false)
+fi
+
+AC_SUBST(EGL_CFLAGS)
+AC_SUBST(EGL_LIBS)
+
+
 dnl ===========================================================================
 
 AC_OUTPUT([
@@ -203,9 +223,11 @@
 src/Makefile
 src/glx/Makefile
 src/agl/Makefile
+src/egl/Makefile
 src/glitz.pc
 src/glx/glitz-glx.pc
 src/agl/glitz-agl.pc
+src/egl/glitz-egl.pc
 ])
 
 dnl ===========================================================================
@@ -214,4 +236,5 @@
 echo "glitz will be compiled with the following backends:"
 echo "  GLX: $use_glx"
 echo "  AGL: $use_agl"
+echo "  EGL: $use_egl"
 echo ""




More information about the cairo-commit mailing list