Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data).

This commit is contained in:
Carl Worth 2005-10-09 13:33:21 +00:00
parent ea7ac21d3b
commit 951c7a6592
7 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,14 @@
2005-10-09 Carl Worth <cworth@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).
2005-10-09 Billy Biggs <vektor@dumbterm.net>
reviewed by: davidr, cworth, otaylor

View file

@ -44,7 +44,7 @@ static cairo_test_status_t
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,

View file

@ -36,7 +36,7 @@ draw (cairo_t *cr, int width, int height)
{
cairo_surface_t *mask_surface;
cairo_pattern_t *mask;
uint32_t data[] = {
static uint32_t data[] = {
0x80000000, 0x80000000,
0x80000000, 0x80000000,
};

View file

@ -35,7 +35,7 @@ static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
cairo_surface_t *mask;
uint32_t data[] = {
static uint32_t data[] = {
0x80000000, 0x80000000,
0x80000000, 0x80000000,
};

View file

@ -35,7 +35,7 @@ static cairo_test_status_t
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,

View file

@ -35,7 +35,7 @@ static cairo_test_status_t
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,

View file

@ -35,7 +35,7 @@ static cairo_test_status_t
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,