diff options
author | Benjamin Otte <otte@gnome.org> | 2009-11-02 12:51:14 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-11-02 12:51:14 +0100 |
commit | 942a15ba9e85fa3297ad6e65270928ad3c1c0a42 (patch) | |
tree | 0b5d5f81b3c381b1e45f0be1c36ff17ccb232112 | |
parent | 19c411a5b8b84d31516d9c85642ad55ef5d29aba (diff) |
[test] Update upscale test to expose an Xlib failure
By filling the background with grey, we can see that Xlib fills areas
with black that it shouldn't. Xlib therefore now fails this test.
-rw-r--r-- | test/surface-pattern-scale-up.c | 4 | ||||
-rw-r--r-- | test/surface-pattern-scale-up.pdf.ref.png | bin | 2793 -> 3482 bytes | |||
-rw-r--r-- | test/surface-pattern-scale-up.ps2.ref.png | bin | 943 -> 913 bytes | |||
-rw-r--r-- | test/surface-pattern-scale-up.ps3.ref.png | bin | 943 -> 913 bytes | |||
-rw-r--r-- | test/surface-pattern-scale-up.ref.png | bin | 4061 -> 4017 bytes |
5 files changed, 3 insertions, 1 deletions
diff --git a/test/surface-pattern-scale-up.c b/test/surface-pattern-scale-up.c index 3217f844..26e75c8c 100644 --- a/test/surface-pattern-scale-up.c +++ b/test/surface-pattern-scale-up.c @@ -40,7 +40,9 @@ draw (cairo_t *cr, int width, int height) cairo_t * cr_surface; int surface_size = 6; - cairo_set_source_rgb (cr, 0, 0, 0); + /* Fill the background with grey, so that it's easily visible when + * things get overdrawn */ + cairo_set_source_rgb (cr, 0.5, 0.5, 0.5); cairo_paint (cr); /* Create an image surface with my favorite four colors in each diff --git a/test/surface-pattern-scale-up.pdf.ref.png b/test/surface-pattern-scale-up.pdf.ref.png Binary files differindex 97472fa8..593d058a 100644 --- a/test/surface-pattern-scale-up.pdf.ref.png +++ b/test/surface-pattern-scale-up.pdf.ref.png diff --git a/test/surface-pattern-scale-up.ps2.ref.png b/test/surface-pattern-scale-up.ps2.ref.png Binary files differindex 7f672880..f2eac7a7 100644 --- a/test/surface-pattern-scale-up.ps2.ref.png +++ b/test/surface-pattern-scale-up.ps2.ref.png diff --git a/test/surface-pattern-scale-up.ps3.ref.png b/test/surface-pattern-scale-up.ps3.ref.png Binary files differindex 7f672880..f2eac7a7 100644 --- a/test/surface-pattern-scale-up.ps3.ref.png +++ b/test/surface-pattern-scale-up.ps3.ref.png diff --git a/test/surface-pattern-scale-up.ref.png b/test/surface-pattern-scale-up.ref.png Binary files differindex 821f5402..41aafaf6 100644 --- a/test/surface-pattern-scale-up.ref.png +++ b/test/surface-pattern-scale-up.ref.png |