diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-24 14:46:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-24 15:25:16 +0000 |
commit | 8ecfbea9d1f83b2de62bee0f58299e7a90c741d1 (patch) | |
tree | d5cf796af6152b58238880397550a9aea3f9237c /src/sna/sna_render.c | |
parent | 778dba90cfc4e801a975bd661c56a565ce60524b (diff) |
sna: Experiment with a threaded renderer for fallback compositing
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r-- | src/sna/sna_render.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index 46ce64ba..84c6b351 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -1465,11 +1465,11 @@ sna_render_picture_approximate_gradient(struct sna *sna, pixman_transform_multiply(&t, picture->transform, &t); pixman_image_set_transform(src, &t); - pixman_image_composite(PictOpSrc, src, NULL, dst, - x + dx, y + dy, - 0, 0, - 0, 0, - w2, h2); + sna_image_composite(PictOpSrc, src, NULL, dst, + x+dx, y+dy, + 0, 0, + 0, 0, + w2, h2); free_pixman_pict(picture, src); pixman_image_unref(dst); @@ -1580,11 +1580,11 @@ do_fixup: DBG(("%s: compositing tmp=(%d+%d, %d+%d)x(%d, %d)\n", __FUNCTION__, x, dx, y, dy, w, h)); - pixman_image_composite(PictOpSrc, src, NULL, dst, - x + dx, y + dy, - 0, 0, - 0, 0, - w, h); + sna_image_composite(PictOpSrc, src, NULL, dst, + x + dx, y + dy, + 0, 0, + 0, 0, + w, h); free_pixman_pict(picture, src); /* Then convert to card format */ |