diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-06-16 09:49:06 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-06-16 09:49:06 -0700 |
commit | 334d2203d35c27e0c0d73226ad8a58360c8b36bb (patch) | |
tree | 54f9d39bd6c3a2b6f0469887070b1d1b871ae4ce /t_fill.c | |
parent | b99c20783f3d77077eef2af18960db1a68d0dffd (diff) |
Add an option "--minimalrendering" which suppresses the copying of offscreen
rendering results to the window, which reduces the runtime of the blend tests by
10.2% +/- 6.2% on my system. The copy remains on by default because I think it
can be useful.
Diffstat (limited to 't_fill.c')
-rw-r--r-- | t_fill.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -35,9 +35,8 @@ fill_test(Display *dpy, picture_info *win, picture_info *src) char name[20]; get_pixel(dpy, src, 0, 0, &tested); - /* Copy the output to the window, so the user sees something visual. */ - XRenderComposite(dpy, PictOpSrc, src->pict, 0, win->pict, 0, 0, 0, 0, - 0, 0, win_width, win_height); + + copy_pict_to_win(dpy, src, win); strcpy(name, "fill "); describe_format(name, 20 - strlen(name), src->format); |