[cairo-commit] cairo/test .cvsignore, 1.25, 1.26 Makefile.am, 1.46,
1.47 paint-with-alpha-ref.png, NONE, 1.1 paint-with-alpha.c,
NONE, 1.1
Carl Worth
commit at pdx.freedesktop.org
Thu May 12 11:02:38 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv16627/test
Modified Files:
.cvsignore Makefile.am
Added Files:
paint-with-alpha-ref.png paint-with-alpha.c
Log Message:
* test/.cvsignore:
* test/Makefile.am:
* test/paint-with-alpha-ref.png:
* test/paint-with-alpha.c: (draw), (main): Add new test for bug in
cairo_paint_with_alpha not transforming the source.
* src/cairo-gstate.c: (_cairo_gstate_mask): Use a transformed copy
of the source just like we do in all the other calls to
cairo_surface_composite. Fixes the bug tested by
test/paint-with-alpha.
Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- .cvsignore 3 May 2005 15:33:32 -0000 1.25
+++ .cvsignore 12 May 2005 18:02:35 -0000 1.26
@@ -18,6 +18,7 @@
mask
move-to-show-surface
paint
+paint-with-alpha
path-data
pdf-surface
pdf-surface.pdf
Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- Makefile.am 11 May 2005 23:01:56 -0000 1.46
+++ Makefile.am 12 May 2005 18:02:35 -0000 1.47
@@ -14,6 +14,7 @@
mask \
move-to-show-surface \
paint \
+paint-with-alpha \
path-data \
pixman-rotate \
scale-source-surface-paint \
@@ -53,6 +54,7 @@
mask-ref.png \
move-to-show-surface-ref.png \
paint-ref.png \
+paint-with-alpha-ref.png \
path-data-ref.png \
pixman-rotate-ref.png \
romedalen.png \
@@ -128,6 +130,7 @@
mask_LDADD = $(LDADDS)
move_to_show_surface_LDADD = $(LDADDS)
paint_LDADD = $(LDADDS)
+paint_with_alpha_LDADD = $(LDADDS)
path_data_LDADD = $(LDADDS)
pdf_surface_LDADD = $(LDADDS)
pixman_rotate_LDADD = $(LDADDS)
--- NEW FILE: paint-with-alpha-ref.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: paint-with-alpha.c ---
(This appears to be a binary file; contents omitted.)
More information about the cairo-commit
mailing list