From 87e659b887f4c738cfc91439efdac0d48fd294f0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 2 Jul 2014 10:47:32 +0000 Subject: sna: Use the threaded compositor for picture conversions Signed-off-by: Chris Wilson --- src/sna/sna_render.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/sna/sna_render.c') diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index 5135c117..89be5a58 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -1699,11 +1699,11 @@ do_fixup: dst = pixman_image_create_bits(channel->pict_format, w, h, ptr, channel->bo->pitch); if (dst) { - pixman_image_composite(PictOpSrc, src, NULL, dst, - 0, 0, - 0, 0, - 0, 0, - w, h); + sna_image_composite(PictOpSrc, src, NULL, dst, + 0, 0, + 0, 0, + 0, 0, + w, h); pixman_image_unref(src); } else { memset(ptr, 0, __kgem_buffer_size(channel->bo)); @@ -1891,11 +1891,11 @@ sna_render_picture_convert(struct sna *sna, } if (sigtrap_get() == 0) { - pixman_image_composite(PictOpSrc, src, NULL, dst, - box.x1, box.y1, - 0, 0, - 0, 0, - w, h); + sna_image_composite(PictOpSrc, src, NULL, dst, + box.x1, box.y1, + 0, 0, + 0, 0, + w, h); sigtrap_put(); } pixman_image_unref(dst); -- cgit v1.2.3