[Piglit] piglit window

Dave Airlie airlied at gmail.com
Thu Aug 26 17:01:14 PDT 2010


On Fri, Aug 27, 2010 at 9:52 AM, Ian Romanick <idr at freedesktop.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Eric Anholt wrote:
>> On Sun, 22 Aug 2010 19:03:07 +0200, Luca Barbieri <luca.barbieri at gmail.com> wrote:
>>> I managed to solve the issue of preventing the annoying piglit popups
>>> with an LD_PRELOAD library.
>>
>> Alternative solution that airlied proposed: If in -auto mode, use an FBO
>> instead of ever showing the glut window.  This sounds like a great way
>> to avoid flicker and focus stealing, and it wouldn't be hard to set it
>> up in the framework.  The only thing I'm slightly uncomfortable with is
>> that we won't catch as many weird glx issues any more.  I think the
>> solution for that is more actual glx tests that specifically try to test
>> GLX behavior.
>
> Doesn't this also fail on implementations that lack FBOs?

Well my suggestion was to be a bit smarter, so run initial 5-10 tests
that make sure normal GLX stuff is sane, these tests may flicker, then
if you have working FBO support after those basic tests, use it for
all the remaining tests.

Dave.


More information about the Piglit mailing list