glx-multithread-texture: Avoid front-buffer rendering.
commit4cb34c72cb6a855cdcda3692b5b7a5cce1f07daf
authorEmma Anholt <emma@anholt.net>
Thu, 24 Feb 2022 17:30:42 +0000 (24 09:30 -0800)
committerEmma Anholt <emma@anholt.net>
Thu, 10 Mar 2022 23:26:15 +0000 (10 15:26 -0800)
tree0f2554fedbf41ae6d5c80bee88cbbbd7fac169bc
parent85b91151dd6199d272edd03b2b86e9abc3117715
glx-multithread-texture: Avoid front-buffer rendering.

It's not what this test is about, and it means that you need a
compositor for reliable results when run in parallel with other tests.

While I'm here, drop the extra swapbuffers for each frame of correct
rendering, and just swap the last one.  This should encourage losing
multithread races while making the test more efficient.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/639>
tests/glx/glx-multithread-texture.c
tests/opengl.py