Re: Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-16 Thread Michel Dänzer
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 arg

Re: Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-03 Thread Michel Dänzer
On Tue, 2009-02-03 at 04:10 +0200, Mart Raudsepp wrote: > On Mon, 2009-02-02 at 21:28 +0100, Rémi Cardona wrote: > > Le 02/02/2009 19:52, Clemens Eisserer a écrit : > > > 2.) What do you think about a data structure where EXA drivers could > > > tell EXA which features they support. > > > This way

Re: Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-02 Thread Mart Raudsepp
On Mon, 2009-02-02 at 21:28 +0100, Rémi Cardona wrote: > Le 02/02/2009 19:52, Clemens Eisserer a écrit : > > 2.) What do you think about a data structure where EXA drivers could > > tell EXA which features they support. > > This way EXA could e.g. choose to use A8 instead of A1 only when it > > rea

Re: Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-02 Thread Rémi Cardona
Le 02/02/2009 19:52, Clemens Eisserer a écrit : > 2.) What do you think about a data structure where EXA drivers could > tell EXA which features they support. > This way EXA could e.g. choose to use A8 instead of A1 only when it > really needed? > This could help in various cases to decide which ro

Re: Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-02 Thread Clemens Eisserer
> I'm not looking at the code, so my recollection could be wrong, (or just > plain out of date), but I don't think that pixman has code to rasterize > "aliased" to an A8 buffer. It simply rasterizes based on the depth of > the target mask buffer. > > So I think you'd have to write some new code to

Re: Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-02 Thread Carl Worth
On Mon, 2009-02-02 at 19:52 +0100, Clemens Eisserer wrote: > 1.) As far as I have seen the only way to get aliased rasterization > with XRenderCompositeTrapezoids is to pass PictStandardA1 as mask > format. > However a lot of hardware can't use A1 as mask, leading to a fallback. ... > Wouldn't it m

Performance of XRenderCompositeTrapezoids in the aliased case

2009-02-02 Thread Clemens Eisserer
Hi, 1.) As far as I have seen the only way to get aliased rasterization with XRenderCompositeTrapezoids is to pass PictStandardA1 as mask format. However a lot of hardware can't use A1 as mask, leading to a fallback. On my 945GM I get for a 100x100 circle consisting of ~180 traps: 20ms, A8 120ms