[cairo-commit] cairo/test Makefile.am, 1.70, 1.71 source-surface-scale-paint-ref.png, 1.1, 1.2 source-surface-scale-paint.c, 1.2, 1.3

Owen Taylor commit at pdx.freedesktop.org
Mon Aug 1 14:39:03 PDT 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv31089/test

Modified Files:
	Makefile.am source-surface-scale-paint-ref.png 
	source-surface-scale-paint.c 
Log Message:
2005-08-01  Owen Taylor  <otaylor at redhat.com>

        reviewed by: cworth

        * src/cairo-gstate.c src/cairo-gstate-private.h: Store the
        inverse CTM at the time of cairo_gstate_set_source() to
        "lock" the user space matrix.

        * src/cairo-gstate.c: Move the source pattern transformation
        to the outside of _cairo_gstate_clip_and_composite_trapezoids()
        instead of doing it at the leaves.

        * test/source-surface-scale-paint.c: Change size of output
        surface for aesthetics.

        * test/source-surface-scale-paint-ref.png: Updated to correspond
        to the current definition.

        * test/Makefile.am (XFAIL_TESTS):
        Remove source-surface-scale-paint.


Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- Makefile.am	28 Jul 2005 22:55:01 -0000	1.70
+++ Makefile.am	1 Aug 2005 21:39:01 -0000	1.71
@@ -113,7 +113,6 @@
 filter-nearest-offset		\
 pixman-rotate			\
 self-intersecting		\
-source-surface-scale-paint	\
 text-antialias-subpixel		\
 text-rotate
 

Index: source-surface-scale-paint-ref.png
===================================================================
RCS file: /cvs/cairo/cairo/test/source-surface-scale-paint-ref.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
Binary files /tmp/cvswJvW9j and /tmp/cvstfUGKz differ

Index: source-surface-scale-paint.c
===================================================================
RCS file: /cvs/cairo/cairo/test/source-surface-scale-paint.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- source-surface-scale-paint.c	6 May 2005 20:23:41 -0000	1.2
+++ source-surface-scale-paint.c	1 Aug 2005 21:39:01 -0000	1.3
@@ -28,7 +28,7 @@
 cairo_test_t test = {
     "source-surface-scale-paint",
     "Test call sequence: cairo_set_source_surface; cairo_scale; cairo_paint",
-    12, 12
+    8, 8
 };
 
 static cairo_test_status_t
@@ -59,6 +59,5 @@
 int
 main (void)
 {
-    return cairo_test_expect_failure (&test, draw,
-				      "cairo_set_source needs user space locking semantics");
+    return cairo_test (&test, draw);
 }




More information about the cairo-commit mailing list