diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-20 08:28:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-20 15:08:56 +0100 |
commit | 8d7e7010e33d73a7d99948403b62d859d7a4dfaa (patch) | |
tree | 721db4bd37f35093ea3f38d830a0015d84b2c78a /test/render-copyarea-size.c | |
parent | db6dfc3227155a4792ba3831681daf16839b14bb (diff) | |
download | xorg-driver-xf86-video-intel-8d7e7010e33d73a7d99948403b62d859d7a4dfaa.tar.gz |
test: Increase number of tiled sources
Significantly improve the stress impose upon the tiled BLT operations.
Also start dumping pngs of the failures.
References: https://bugs.freedesktop.org/show_bug.cgi?id=80033
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test/render-copyarea-size.c')
-rw-r--r-- | test/render-copyarea-size.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/render-copyarea-size.c b/test/render-copyarea-size.c index 55e3b56b..3503b329 100644 --- a/test/render-copyarea-size.c +++ b/test/render-copyarea-size.c @@ -53,14 +53,14 @@ static void target_fini(struct test_display *t, struct draw *tt) int main(int argc, char **argv) { struct test test; - struct draw real, ref; + struct draw out, ref; int size, i; test_init(&test, argc, argv); /* Copy back and forth betwenn two pixmaps, gradually getting larger */ for (size = 1; size <= SIZE; size = (size * 3 + 1) / 2) { - target_init(&test.real, &real, size); + target_init(&test.out, &out, size); target_init(&test.ref, &ref, size); printf("size=%d\n", size); @@ -78,10 +78,10 @@ int main(int argc, char **argv) int order = rand() & 1; - XRenderComposite(test.real.dpy, PictOpSrc, - order ? real.pa : real.pb, + XRenderComposite(test.out.dpy, PictOpSrc, + order ? out.pa : out.pb, 0, - (!order) ? real.pa : real.pb, + (!order) ? out.pa : out.pb, sx, sy, 0, 0, dx, dy, @@ -99,17 +99,17 @@ int main(int argc, char **argv) } test_compare(&test, - real.a, real.format, + out.a, out.format, ref.a, ref.format, 0, 0, size, size, ""); test_compare(&test, - real.b, real.format, + out.b, out.format, ref.b, ref.format, 0, 0, size, size, ""); - target_fini(&test.real, &real); + target_fini(&test.out, &out); target_fini(&test.ref, &ref); } |