[cairo-commit] cairo/test filter-nearest-offset.c, 1.3, 1.4 mask-ctm.c, 1.2, 1.3 mask-surface-ctm.c, 1.2, 1.3 paint-with-alpha.c, 1.2, 1.3 scale-source-surface-paint.c, 1.3, 1.4 source-surface-scale-paint.c, 1.4, 1.5

Carl Worth commit at pdx.freedesktop.org
Sun Oct 9 13:33:23 PDT 2005


Committed by: cworth

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

Modified Files:
	filter-nearest-offset.c mask-ctm.c mask-surface-ctm.c 
	paint-with-alpha.c scale-source-surface-paint.c 
	source-surface-scale-paint.c 
Log Message:

2005-10-09  Carl Worth  <cworth at cworth.org>

        * test/filter-nearest-offset.c: (draw):
        * test/mask-ctm.c: (draw):
        * test/mask-surface-ctm.c: (draw):
        * test/paint-with-alpha.c: (draw):
        * test/scale-source-surface-paint.c: (draw):
        * test/source-surface-scale-paint.c: (draw): Make surface image
        data static to work around a bug in cairo-meta-surface.c (not
        copying source surface pattern data).


Index: filter-nearest-offset.c
===================================================================
RCS file: /cvs/cairo/cairo/test/filter-nearest-offset.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- filter-nearest-offset.c	1 Sep 2005 09:14:31 -0000	1.3
+++ filter-nearest-offset.c	9 Oct 2005 20:33:21 -0000	1.4
@@ -44,7 +44,7 @@
 draw (cairo_t *cr, int width, int height)
 {
     cairo_surface_t *surface;
-    uint32_t data[STAMP_WIDTH * STAMP_HEIGHT] = {
+    static uint32_t data[STAMP_WIDTH * STAMP_HEIGHT] = {
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 

Index: mask-ctm.c
===================================================================
RCS file: /cvs/cairo/cairo/test/mask-ctm.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mask-ctm.c	1 Sep 2005 09:14:31 -0000	1.2
+++ mask-ctm.c	9 Oct 2005 20:33:21 -0000	1.3
@@ -36,7 +36,7 @@
 {
     cairo_surface_t *mask_surface;
     cairo_pattern_t *mask;
-    uint32_t data[] = {
+    static uint32_t data[] = {
 	0x80000000, 0x80000000,
 	0x80000000, 0x80000000,
     };

Index: mask-surface-ctm.c
===================================================================
RCS file: /cvs/cairo/cairo/test/mask-surface-ctm.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mask-surface-ctm.c	1 Sep 2005 09:14:31 -0000	1.2
+++ mask-surface-ctm.c	9 Oct 2005 20:33:21 -0000	1.3
@@ -35,7 +35,7 @@
 draw (cairo_t *cr, int width, int height)
 {
     cairo_surface_t *mask;
-    uint32_t data[] = {
+    static uint32_t data[] = {
 	0x80000000, 0x80000000,
 	0x80000000, 0x80000000,
     };

Index: paint-with-alpha.c
===================================================================
RCS file: /cvs/cairo/cairo/test/paint-with-alpha.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- paint-with-alpha.c	1 Sep 2005 09:14:31 -0000	1.2
+++ paint-with-alpha.c	9 Oct 2005 20:33:21 -0000	1.3
@@ -35,7 +35,7 @@
 draw (cairo_t *cr, int width, int height)
 {
     cairo_surface_t *surface;
-    uint32_t data[16] = {
+    static uint32_t data[16] = {
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 

Index: scale-source-surface-paint.c
===================================================================
RCS file: /cvs/cairo/cairo/test/scale-source-surface-paint.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- scale-source-surface-paint.c	1 Sep 2005 09:14:31 -0000	1.3
+++ scale-source-surface-paint.c	9 Oct 2005 20:33:21 -0000	1.4
@@ -35,7 +35,7 @@
 draw (cairo_t *cr, int width, int height)
 {
     cairo_surface_t *surface;
-    uint32_t data[16] = {
+    static uint32_t data[16] = {
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 

Index: source-surface-scale-paint.c
===================================================================
RCS file: /cvs/cairo/cairo/test/source-surface-scale-paint.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- source-surface-scale-paint.c	1 Sep 2005 09:14:31 -0000	1.4
+++ source-surface-scale-paint.c	9 Oct 2005 20:33:21 -0000	1.5
@@ -35,7 +35,7 @@
 draw (cairo_t *cr, int width, int height)
 {
     cairo_surface_t *surface;
-    uint32_t data[16] = {
+    static uint32_t data[16] = {
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 	0xffffffff, 0xffffffff,		0xffff0000, 0xffff0000,
 



More information about the cairo-commit mailing list