[cairo-commit] rendertest configure.in,1.7,1.8

Jon Smirl commit at pdx.freedesktop.org
Thu May 19 18:26:14 PDT 2005


Committed by: jonsmirl

Update of /cvs/cairo/rendertest
In directory gabe:/tmp/cvs-serv6400

Modified Files:
	configure.in 
Log Message:
Added egl version of rendertest.
EGL passes with 172 success, 32 not support, zero failed.


Index: configure.in
===================================================================
RCS file: /cvs/cairo/rendertest/configure.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- configure.in	25 Jan 2005 20:33:37 -0000	1.7
+++ configure.in	20 May 2005 01:26:11 -0000	1.8
@@ -99,6 +99,28 @@
 
 dnl ===========================================================================
 
+AC_ARG_ENABLE(glitz-egl,
+  [  --disable-glitz-egl     Disable glitz-egl backend],
+  [use_glitz_egl=$enableval], [use_glitz_egl=yes])
+
+if test "x$use_glitz_egl" = "xyes"; then
+  PKG_CHECK_MODULES(GLITZ_EGL, glitz-egl >= 0.4.0, [use_glitz_egl=yes], [
+  use_glitz_egl=no])
+fi
+
+if test "x$use_glitz_egl" = "xyes"; then
+  AM_CONDITIONAL(RENDER_GLITZ_EGL_BACKEND, true)
+else
+  AM_CONDITIONAL(RENDER_GLITZ_EGL_BACKEND, false)
+fi
+
+GLITZ_EGL_LIBS="-lEGL -lglitz-egl -L$EGL_LIB_PATH -L$prefix/lib"
+
+AC_SUBST(GLITZ_EGL_CFLAGS)
+AC_SUBST(GLITZ_EGL_LIBS)
+
+dnl ===========================================================================
+
 AC_ARG_ENABLE(glitz-agl,
   [  --disable-glitz-agl     Disable glitz-agl backend],
   [use_glitz_agl=$enableval], [use_glitz_agl=yes])
@@ -171,6 +193,7 @@
 echo ""
 echo "rendertest will be compiled for the following output backends:"
 echo "  glitz-glx: $use_glitz_glx"
+echo "  glitz-glx: $use_glitz_egl"
 echo "  glitz-agl: $use_glitz_agl"
 echo "  xcb:       $use_xcb"
 echo "  pixman:    $use_pixman"




More information about the cairo-commit mailing list