Re: EXA patches

2009-08-06 Thread Michel Dänzer
On Wed, 2009-08-05 at 14:21 -0400, Alex Deucher wrote: 2009/8/5 Michel Dänzer mic...@daenzer.net: On Wed, 2009-08-05 at 01:39 -0400, Alex Deucher wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net: On Tue, 2009-08-04 at 11:54 +1000, Dave Airlie wrote: On Tue, 2009-08-04 at 09:49 +0800,

Re: EXA patches

2009-08-05 Thread Michel Dänzer
On Wed, 2009-08-05 at 01:39 -0400, Alex Deucher wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net: On Tue, 2009-08-04 at 11:54 +1000, Dave Airlie wrote: On Tue, 2009-08-04 at 09:49 +0800, Joel Feiner wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net snip I wonder if

Re: EXA patches

2009-08-05 Thread Alex Deucher
2009/8/5 Michel Dänzer mic...@daenzer.net: On Wed, 2009-08-05 at 01:39 -0400, Alex Deucher wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net: On Tue, 2009-08-04 at 11:54 +1000, Dave Airlie wrote: On Tue, 2009-08-04 at 09:49 +0800, Joel Feiner wrote: 2009/8/4 Michel Dänzer

Re: EXA patches

2009-08-04 Thread Michel Dänzer
On Tue, 2009-08-04 at 00:04 +0200, Maarten Maathuis wrote: I think glyphs are uploaded through UTS when possible, so that might just be it. In the case of driver pixmaps it would composite them from whatever driver pixmap you have iirc. Right, but that should only matter between with/out your

Re: EXA patches

2009-08-04 Thread Michel Dänzer
On Tue, 2009-08-04 at 09:35 +1000, Ben Skeggs wrote: On Tue, 2009-08-04 at 01:29 +0200, Maarten Maathuis wrote: 2009/8/4 Maarten Maathuis madman2...@gmail.com: I think glyphs are uploaded through UTS when possible, so that might just be it. In the case of driver pixmaps it would composite

Re: EXA patches

2009-08-04 Thread Alex Deucher
2009/8/4 Michel Dänzer mic...@daenzer.net: On Tue, 2009-08-04 at 11:54 +1000, Dave Airlie wrote: On Tue, 2009-08-04 at 09:49 +0800, Joel Feiner wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net         snip         I wonder if maybe the slowdown I'm seeing is because the         radeon

Re: EXA patches

2009-08-03 Thread Michel Dänzer
On Sun, 2009-08-02 at 16:47 +0200, Maarten Maathuis wrote: These patches split off some exa code into more readable seperate files. And a 3rd implementation is added, which brings trapezoids back to reasonable performance for me (=nouveau driver pixmaps). It's completely transparent for the

Re: EXA patches

2009-08-03 Thread Maarten Maathuis
There is one thing that did change, driver pixmaps are not allocated by default (only when exa deems acceleration doable). So for dri2 pixmaps you would need to create a scratch pixmap and attach a bo afterwards. I suspect this is the issue. About the performance, i didn't notice that, but we

Re: EXA patches

2009-08-03 Thread Maarten Maathuis
2009/8/3 Michel Dänzer mic...@daenzer.net: On Mon, 2009-08-03 at 18:56 +0200, Maarten Maathuis wrote: There is one thing that did change, driver pixmaps are not allocated by default (only when exa deems acceleration doable). So for dri2 pixmaps you would need to create a scratch pixmap and

Re: EXA patches

2009-08-03 Thread Maarten Maathuis
I think glyphs are uploaded through UTS when possible, so that might just be it. In the case of driver pixmaps it would composite them from whatever driver pixmap you have iirc. I will make another patch handling exaGetDriverPrivate more gracefully. Maarten.

Re: EXA patches

2009-08-03 Thread Maarten Maathuis
2009/8/4 Maarten Maathuis madman2...@gmail.com: I think glyphs are uploaded through UTS when possible, so that might just be it. In the case of driver pixmaps it would composite them from whatever driver pixmap you have iirc. I will make another patch handling exaGetDriverPrivate more

Re: EXA patches

2009-08-03 Thread Joel Feiner
2009/8/4 Michel Dänzer mic...@daenzer.net snip I wonder if maybe the slowdown I'm seeing is because the radeon driver is temporarily lacking UploadToScreen and DownloadFromScreen hooks with KMS, though I'm not sure what those would be used for with text rendering. Off-topic, but if I may

Re: EXA patches

2009-08-03 Thread Dave Airlie
On Tue, 2009-08-04 at 09:49 +0800, Joel Feiner wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net snip I wonder if maybe the slowdown I'm seeing is because the radeon driver is temporarily lacking UploadToScreen and DownloadFromScreen hooks

[OT: newbie questions] Re: EXA patches

2009-08-03 Thread Joel Feiner
On Tue, Aug 4, 2009 at 9:54 AM, Dave Airlie airl...@redhat.com wrote: On Tue, 2009-08-04 at 09:49 +0800, Joel Feiner wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net snip I wonder if maybe the slowdown I'm seeing is because the radeon driver is

Re: [OT: newbie questions] Re: EXA patches

2009-08-03 Thread Joel Feiner
On Tue, Aug 4, 2009 at 10:02 AM, Joel Feiner jafei...@gmail.com wrote: On Tue, Aug 4, 2009 at 9:54 AM, Dave Airlie airl...@redhat.com wrote: On Tue, 2009-08-04 at 09:49 +0800, Joel Feiner wrote: 2009/8/4 Michel Dänzer mic...@daenzer.net snip I wonder if maybe the