From: Søren Sandmann Pedersen Date: Mon, 13 Jul 2009 09:58:43 +0000 (-0400) Subject: Return immediately if the operator is CONJOINT_DST or DISJOINT_DST X-Git-Tag: 1.0_branch~894 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7dc2c48bcab7404ace9b41959e2233d0025801b3;p=profile%2Fivi%2Fpixman.git Return immediately if the operator is CONJOINT_DST or DISJOINT_DST These are noops just like plain DST is. --- diff --git a/pixman/pixman.c b/pixman/pixman.c index 4c393c5..fed99ee 100644 --- a/pixman/pixman.c +++ b/pixman/pixman.c @@ -123,7 +123,7 @@ pixman_image_composite (pixman_op_t op, * The output operator should be mathematically equivalent to the source. */ op = pixman_optimize_operator(op, src, mask, dest); - if(op == PIXMAN_OP_DST) + if(op == PIXMAN_OP_DST || op == PIXMAN_OP_CONJOINT_DST || op == PIXMAN_OP_DISJOINT_DST) return; if (!imp)