Performance of XRenderCompositeTrapezoids in the aliased case

Michel Dänzer michel at daenzer.net
Sat Feb 14 10:18:01 PST 2009


On Fri, 2009-02-06 at 18:25 +0100, Michel Dänzer wrote:
> On Tue, 2009-02-03 at 04:10 +0200, Mart Raudsepp wrote:
> > 
> > I shamefully admit I haven't actually gotten around to pinpoint this
> > glyph perf regression with 101% certainty at Pict_A8 OpAdd's, but
> > logically that should be the case.
> 
> Does the attached patch help? It should promote a8 masks to argb if the
> driver can't composite to a8. Beware, I only tested that it compiles and
> doesn't seem to break anything else.

Here's a slightly better patch, though there shouldn't be any functional
difference.

Did you get a chance to try it?

BTW, this isn't useful only for Geode but also for other setups that
can't composite to a8, e.g. i830 class or some older cards supported by
nouveau I think.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-EXA-If-the-driver-can-t-composite-to-an-a8-mask-tr.patch
Type: application/mbox
Size: 2195 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090214/199099f6/attachment.bin 


More information about the xorg-devel mailing list