[cairo-commit] cairo/src Makefile.am, 1.69, 1.70 test-fallback-surface.c, NONE, 1.1 test-fallback-surface.h, NONE, 1.1

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


Committed by: cworth

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

Modified Files:
	Makefile.am 
Added Files:
	test-fallback-surface.c test-fallback-surface.h 
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: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/src/Makefile.am,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- Makefile.am	12 Dec 2005 19:56:40 -0000	1.69
+++ Makefile.am	16 Dec 2005 19:31:11 -0000	1.70
@@ -11,13 +11,17 @@
 libcairo_font_subset_sources = cairo-font-subset.c cairo-font-subset-private.h
 endif
 
+if CAIRO_HAS_PNG_FUNCTIONS
+libcairo_png_sources = cairo-png.c
+endif
+
 if CAIRO_HAS_SVG_SURFACE
 libcairo_svg_headers = cairo-svg.h
 libcairo_svg_sources = cairo-svg-surface.c
 endif
 
-if CAIRO_HAS_PNG_FUNCTIONS
-libcairo_png_sources = cairo-png.c
+if CAIRO_HAS_TEST_SURFACES
+libcairo_test_sources = test-fallback-surface.c test-fallback-surface.h
 endif
 
 if CAIRO_HAS_XLIB_SURFACE
@@ -154,9 +158,10 @@
 	$(libcairo_ft_sources)			\
 	$(libcairo_ps_sources)			\
 	$(libcairo_pdf_sources)			\
+	$(libcairo_png_sources)			\
 	$(libcairo_svg_sources)			\
+	$(libcairo_test_sources)		\
 	$(libcairo_font_subset_sources)		\
-	$(libcairo_png_sources)			\
 	$(libcairo_xlib_sources)		\
 	$(libcairo_quartz_sources)		\
 	$(libcairo_xcb_sources)			\

--- NEW FILE: test-fallback-surface.c ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: test-fallback-surface.h ---
(This appears to be a binary file; contents omitted.)



More information about the cairo-commit mailing list