mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-27 10:30:16 +01:00
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:
parent
ea7ac21d3b
commit
951c7a6592
7 changed files with 17 additions and 6 deletions
11
ChangeLog
11
ChangeLog
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue