diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-02 10:47:32 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-02 12:47:14 +0100 |
commit | 87e659b887f4c738cfc91439efdac0d48fd294f0 (patch) | |
tree | 1e6d5738e627dbb67ce489e0bb7b17d52a067ed4 /src/sna/sna_render.c | |
parent | 2bf36d54ebdfa2a59bf7ef71134b953628ae5d50 (diff) |
sna: Use the threaded compositor for picture conversions
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 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); |