[cairo] [PATCH, pixman] ARM NEON optimized pixman_blt & overlapped stuff

Siarhei Siamashka siarhei.siamashka at gmail.com
Wed Nov 18 05:41:51 PST 2009


Hello,

Here is a branch with some basic ARM NEON optimizations for pixman_blt:
http://cgit.freedesktop.org/~siamashka/pixman/log/?h=pixman_blt_neon
These are quite similar to MMX/SSE2 and don't introduce any controversy,
so I hope that they can be pushed to pixman master soon unless somebody
has objections.

But a bit more speed can be gained by tweaking pixman_blt to support
overlapped source/destination areas and making use of SIMD optimizations
there:
http://cgit.freedesktop.org/~siamashka/pixman/log/?h=overlapped_blt

Making real use of overlapped pixman_blt also requires patching xserver and
the most simple way to do it is included in the attached test patch (not
intended to be applied as-is). I wonder if it just makes sense to apply
overlapped_blt patches to pixman now? And then later bump minimal required
pixman version in xserver from current 0.15.20 to the one which supports
overlapped blt operations?

Overlapped blitting is used in many places like GTK file dialog, arora web
browser (scrolling page back) and some other applications.

Comments are very much welcome.

I did not include the changes to drop delegates support in this patchset
because they only distracted everyone from the main topic earlier when
overlapped pixman_blt had been discussed :-)

-- 
Best regards,
Siarhei Siamashka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hack-assume-pixman-supports-overlapped-blt.patch
Type: text/x-diff
Size: 514 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091118/dba00534/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.cairographics.org/archives/cairo/attachments/20091118/dba00534/attachment.pgp 


More information about the cairo mailing list