[EXA PATCH] prefer intermediate surface for triangle/trapezoid/addtraps when destination is offscreen

Maarten Maathuis madman2003 at gmail.com
Sat Sep 20 02:38:48 PDT 2008


On Sat, Sep 20, 2008 at 11:28 AM, Maarten Maathuis <madman2003 at gmail.com> wrote:
> On Sat, Sep 20, 2008 at 11:25 AM, Michel Dänzer
> <michel at tungstengraphics.com> wrote:
>> On Fri, 2008-09-19 at 22:47 +0200, Maarten Maathuis wrote:
>>> On Fri, Sep 19, 2008 at 10:41 PM, Maarten Maathuis <madman2003 at gmail.com> wrote:
>>> > In my experience UploadToScreen is faster than DownloadFromScreen, so
>>> > it seems prudent to give this software rendered operation a reasonable
>>> > chance should someone use an existing (offscreen) mask.
>>> >
>>> > Let me know what you think.
>>> >
>>> > Maarten.
>>> >
>>>
>>> After posting i noticed a rather big mistake (one of the offsets to
>>> fbAddTraps was wrong).
>>> So here is a new version.
>>
>> Do you have any before/after numbers for this?
>>
>>
>> --
>> Earthling Michel Dänzer           |          http://tungstengraphics.com
>> Libre software enthusiast         |          Debian, X and DRI developer
>>
>>
>

That empty message was unintentional.

This patch was made when i was under the impression that someone was
hitting this problem. Now i realize it is something else that is
causing serious issues. I still stand by the patch, because i do
believe an additional composite operation is far cheaper than falling
back. That said, i'll try putting together a testcase in the
forseeable future.



More information about the xorg mailing list