[Piglit] Render-to-FBO and concurrent shader_runner.

Ian Romanick idr at freedesktop.org
Thu Aug 25 08:06:56 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/23/2011 11:32 AM, Eric Anholt wrote:
> On Mon, 15 Aug 2011 12:49:19 -0700, Eric Anholt <eric at anholt.net> wrote:
>> With all the new tests we're adding, I was feeling guilty about our
>> piglit runtime.  I figured that we could run tests into FBOs and avoid
>> a bunch of overhead in talking to the X Server and window manager
>> about window setup.  That doesn't appear to have been a limiting
>> factor (didn't do stats, but didn't look like a statistically
>> significant difference after converting), but I think it's worth it
>> anyway for not popping up stupid windows as much.  And, now that we're
>> rendering offscreen, I feel like running things in parallel even if we
>> use the GPU is worth it -- our test runtime is CPU limited, not GPU,
>> and anything we can do to make testing easier should help driver
>> quality.
>>
>> This patch series reduced runtime from 11 minutes 47 seconds in the
>> before run to 6:38 in the after run on my dual-core system.
>>
>> For those of us working on temporarily unstable drivers that impact
>> other tests when run in parallel, we should be able to just use -c
>> off.  And, as Ken noted, it's not like the X Server isn't running the
>> GPU in parallel with our GL drawing already anyway.
> 
> If nobody complains about this in the next couple of days, I'm pushing.

Acked-by: Ian Romanick <ian.d.romanick at intel.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk5WZRAACgkQX1gOwKyEAw+EwQCfRpazs/6Yq0CyiEq0ki2CBSC0
9XsAmwffEj1QRNEODz/OcMCif/kkKxNu
=fxAv
-----END PGP SIGNATURE-----


More information about the Piglit mailing list