[cairo-commit] cairo ChangeLog, 1.1170, 1.1171 configure.in, 1.155, 1.156

Carl Worth commit at pdx.freedesktop.org
Fri Dec 16 11:31:13 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv591

Modified Files:
	ChangeLog configure.in 
Log Message:

2005-12-16  Carl Worth  <cworth at cworth.org>

        * configure.in: Add a new option --enable-test-surfaces.

        * src/Makefile.am:
        * src/test-fallback-surface.h:
        * src/test-fallback-surface.c: (_test_fallback_surface_create),
        (_test_fallback_surface_create_for_data),
        (_test_fallback_surface_create_similar),
        (_test_fallback_surface_finish),
        (_test_fallback_surface_acquire_source_image),
        (_test_fallback_surface_release_source_image),
        (_test_fallback_surface_acquire_dest_image),
        (_test_fallback_surface_release_dest_image),
        (_test_fallback_surface_get_extents): New surface backend for
        testing only. It has as many NULL backend entries as possible.

        * test/Makefile.am:
        * test/cairo-test.c: (create_test_fallback_surface),
        (cleanup_test_fallback), (cairo_test_expecting): Add support to
        test the new test_fallback backend.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.1170
retrieving revision 1.1171
diff -u -d -r1.1170 -r1.1171
--- ChangeLog	16 Dec 2005 19:21:24 -0000	1.1170
+++ ChangeLog	16 Dec 2005 19:31:10 -0000	1.1171
@@ -1,5 +1,27 @@
 2005-12-16  Carl Worth  <cworth at cworth.org>
 
+	* configure.in: Add a new option --enable-test-surfaces.
+
+	* src/Makefile.am:
+	* src/test-fallback-surface.h:	
+	* src/test-fallback-surface.c: (_test_fallback_surface_create),
+	(_test_fallback_surface_create_for_data),
+	(_test_fallback_surface_create_similar),
+	(_test_fallback_surface_finish),
+	(_test_fallback_surface_acquire_source_image),
+	(_test_fallback_surface_release_source_image),
+	(_test_fallback_surface_acquire_dest_image),
+	(_test_fallback_surface_release_dest_image),
+	(_test_fallback_surface_get_extents): New surface backend for
+	testing only. It has as many NULL backend entries as possible.
+
+	* test/Makefile.am:
+	* test/cairo-test.c: (create_test_fallback_surface),
+	(cleanup_test_fallback), (cairo_test_expecting): Add support to
+	test the new test_fallback backend.
+
+2005-12-16  Carl Worth  <cworth at cworth.org>
+
 	* src/cairoint.h: Don't export cairo_image_surface_set_clip_region.
 	
 	* src/cairo-image-surface.c: (_cairo_image_surface_finish),

Index: configure.in
===================================================================
RCS file: /cvs/cairo/cairo/configure.in,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- configure.in	15 Dec 2005 16:58:08 -0000	1.155
+++ configure.in	16 Dec 2005 19:31:10 -0000	1.156
@@ -581,8 +581,8 @@
 dnl ===========================================================================
 
 AC_ARG_ENABLE(gcov,
-[  --enable-gcov           Enable gcov],
-[use_gcov=$enableval], [use_gcov=no])
+  [  --enable-gcov           Enable gcov],
+  [use_gcov=$enableval], [use_gcov=no])
 
 if test "x$use_gcov" = "xyes"; then
   dnl we need gcc:
@@ -645,6 +645,17 @@
 
 dnl ===========================================================================
 
+AC_ARG_ENABLE(test-surfaces,
+  [  --enable-test-surfaces  Add backends for more test suite coverage (no additional public functionality)],
+  [use_test_surfaces=$enableval], [use_test_surfaces=no])
+
+AM_CONDITIONAL(CAIRO_HAS_TEST_SURFACES, test "x$use_test_surfaces" = "xyes")
+if test "x$use_test_surfaces" = "xyes"; then
+  AC_DEFINE(CAIRO_HAS_TEST_SURFACES, 1, [define in the extra test surface have been built into cairo for the test suite])
+fi
+
+dnl ===========================================================================
+
 AC_OUTPUT([
 cairo.pc
 Makefile
@@ -662,6 +673,7 @@
 
 echo ""
 echo "cairo will be compiled with the following surface backends:"
+echo "  image:      yes (always builtin)"
 echo "  Xlib:       $use_xlib"
 echo "  Quartz:     $use_quartz"
 echo "  XCB:        $use_xcb"
@@ -681,8 +693,11 @@
 echo ""
 echo "and the following debug options:"
 echo "  gcov support:  $use_gcov"
+echo "  test surfaces: $use_test_surfaces"
+echo ""
 echo "using CFLAGS:"
 echo $CAIRO_CFLAGS
+echo ""
 
 if test x"$use_freetype" != "xyes" && \
    test x"$use_win32"    != "xyes" && \



More information about the cairo-commit mailing list