diff options
author | Eric Anholt <eric@anholt.net> | 2006-10-26 16:31:43 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-10-26 16:31:43 -0700 |
commit | 72cb2695ae1f78adef263eff779cc88541a41c87 (patch) | |
tree | a61628b73149315243093eb2bddcbe359925aa0e /t_gradient.c | |
parent | ff63516c203c0593ee08b77cc9267afe2ca5b0e3 (diff) |
Reduce the size of the rendering done in many tests.
This significantly improves test performance (~60% in blend).
Diffstat (limited to 't_gradient.c')
-rw-r--r-- | t_gradient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t_gradient.c b/t_gradient.c index 34aded1..3af209d 100644 --- a/t_gradient.c +++ b/t_gradient.c @@ -216,7 +216,7 @@ Bool linear_gradient_test(Display *dpy, picture_info *win, XRenderComposite(dpy, ops[op].op, gradient, 0, dst->pict, 0, 0, 0, 0, 0, 0, win_width, win_height); - copy_pict_to_win(dpy, dst, win); + copy_pict_to_win(dpy, dst, win, win_width, win_height); pix = test_pixels; while (pix->x >= 0) { |