[Piglit] Patch to prefix piglit window titles with "pigli : "

Dave Airlie airlied at gmail.com
Tue Aug 17 01:45:37 PDT 2010


On Tue, Aug 17, 2010 at 6:05 PM, Michal Suchanek <hramrach at centrum.cz> wrote:
> Sorry, forgot tot attach the patch.
>
> On 17 August 2010 00:40, Dave Airlie <airlied at gmail.com> wrote:
>> On Fri, Aug 13, 2010 at 11:12 PM, Michal Suchanek <hramrach at centrum.cz> wrote:
>>> Hello
>>>
>>> I was trying how managed vs unmamaged windows affect my piglit results
>>> and wrote a patch that prefixes all piglit window titles with piglit:
>>> to make it easier to match them in window management rules.
>>>
>>> It seems that read-front always fails when the window is resized and
>>> often fails when the window is managed.
>>>
>>
>> I think this is a bug in freeglut if you are using it, it didn't at
>> one point wait for the window to be mapped,
>> so you'd read from a 0x0 frontbuffer, then X would map the window and
>> you'd get a resize event.
>>
>
> How does it explain that it works better when the window is not
> resized and even better when the window is not managed?

Since the map race is won in that case and the window is mapped before
GL starts,
otherwise resizing/management is causing a delay on the initial map
event or the initial map is 0x0, I forget the exact details now.

non-free glut didn't suffer from this issue at the time.

Dave.

>
> And yes, glut is used for most tests so probably for read-front as well.
>
> Thanks
>
> Michal
>


More information about the Piglit mailing list