[cairo] [PATCH] Commented-out uses of fbCompositeCopyAreasse2()

André Tupinambá andrelrt at gmail.com
Mon Jul 21 18:42:34 PDT 2008


Hi,

The function fbCompositeCopyAreasse2() was commented-out in SSE2
fast-path because the cairo-perf subimage ran with slowdown. But
checking the code of subimage_perf I realize that it copy only a 2x2
image. This image is so small to verify the speedup of SSE2 code, and
it's really slower than the C path.

I change the subimage perf from (cr, 2, 2, 4, 4) to (cr, 2, 2,
width-4, height-4) and the SSE2 fast-path runs something like 1.5x
faster.

So, in attach there is a patch enabling the fbCompositeCopyAreasse2()
function. There is a small compatibility issue fix in pixman-sse.c
too.

Regards,

André Tupinambá
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixman_sse2_copyArea.patch
Type: text/x-patch
Size: 5951 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080721/32b985f9/attachment-0001.bin 


More information about the cairo mailing list