Add a noop composite function for the DST operator
authorSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 24 Jan 2011 16:35:27 +0000 (11:35 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 19 May 2011 13:45:59 +0000 (13:45 +0000)
commit13ce88f80095d0fa18330a23e03819368987e277
tree9e809c059fc4b5576138dce98de80aa8e1204f47
parent8c76235f41b2ac70ce6e652dcd1cab975e1283a4
Add a noop composite function for the DST operator

The DST operator doesn't actually do anything, so add a noop "fast
path" for it, instead of checking in pixman_image_composite32().

The performance tradeoff here is that we get rid of a test for DST in
the common case where the operator is not DST, in return for an extra
walk over the clip rectangles in the uncommon case where the operator
actually is DST.
pixman/pixman-noop.c
pixman/pixman.c