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

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


Here is a branch with some basic ARM NEON optimizations for pixman_blt:
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

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.x.org/archives/xorg-devel/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.x.org/archives/xorg-devel/attachments/20091118/dba00534/attachment.pgp 

More information about the xorg-devel mailing list