summaryrefslogtreecommitdiff
path: root/test/xlib-surface.c
diff options
context:
space:
mode:
authorVladimir Vukicevic <vladimir@pobox.com>2006-02-15 13:46:52 -0800
committerCarl Worth <cworth@cworth.org>2006-05-03 23:42:45 -0700
commitb3e2252b94297b7fbdbd3a3776781ea6df7c8bc6 (patch)
treecda8fb5fdc5d631777e2ab145b8d416339cdbe50 /test/xlib-surface.c
parent7beb3e27a552c724bbdb147bc27b775af0d61063 (diff)
downloadcairo-b3e2252b94297b7fbdbd3a3776781ea6df7c8bc6.tar.gz
Augment test framework to test everything under device offsets as well.
[With this change, two tests with gradients exhibit subtle differences under device offsets. I don't think we actually care about them though. -cworth]
Diffstat (limited to 'test/xlib-surface.c')
-rw-r--r--test/xlib-surface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/xlib-surface.c b/test/xlib-surface.c
index 0df5514fa..1aea8734d 100644
--- a/test/xlib-surface.c
+++ b/test/xlib-surface.c
@@ -160,6 +160,8 @@ do_test (Display *dpy,
diff_data + offset,
SIZE - OFFSCREEN_OFFSET,
SIZE - OFFSCREEN_OFFSET,
+ 4 * SIZE,
+ 4 * SIZE,
4 * SIZE);
} else {
result = !buffer_diff_noalpha (reference_data,
@@ -167,6 +169,8 @@ do_test (Display *dpy,
diff_data,
SIZE,
SIZE,
+ 4 * SIZE,
+ 4 * SIZE,
4 * SIZE);
}