summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-24 22:25:46 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-24 22:25:46 +0000
commit427b7311fe1b66d54518bae45e9fa149bda8a6e8 (patch)
tree2bc7f6fa1b6bac3e68e7d97f0f9448456d551b68
parent326dcd75f2202b1af29e986f5efb6b1e133217cb (diff)
sna: Perform the last threaded composite operation directly
The point of the refactor was to execute the last stage of the composite in the master thread, so do so. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_threads.c b/src/sna/sna_threads.c
index b375b946..3cda969c 100644
--- a/src/sna/sna_threads.c
+++ b/src/sna/sna_threads.c
@@ -294,7 +294,7 @@ void sna_image_composite(pixman_op_t op,
data[n].dst_y = y;
data[n].height = dy;
- sna_threads_run(thread_composite, &data[n]);
+ thread_composite(&data[n]);
sna_threads_wait();
}