tests: don't delay/skip frames due to glReadPixel concerns
authorRobert Bragg <robert@linux.intel.com>
Thu, 8 Jul 2010 18:20:33 +0000 (19:20 +0100)
committerRobert Bragg <robert@linux.intel.com>
Thu, 8 Jul 2010 21:40:35 +0000 (22:40 +0100)
commit4ca1e491dae164559479c218f4118869d0fa9187
treeb7bae78da1b37d69b3981cdac34684fc7ce4b52b
parentf47152c557c3d21ebacc7b774e94cfa4f6dcb3bc
tests: don't delay/skip frames due to glReadPixel concerns

This greatly speeds up running all the conformance tests by no longer
delaying many of the tests for a number of dummy frames to be painted.

We used to skip frames because we thought there was a problem with the
driver's glReadPixels implementation. Although we have seen driver
issues at times the real reason the delay was needed was because
resizing the stage usually happens asynchronously (because a non
synchronous X request is used by clutter_stage_set_size()). We now force
all X requests to be synchronized for the conformance tests so this is
no longer a problem and we can avoid these hacks.
16 files changed:
tests/conform/test-cogl-blend-strings.c
tests/conform/test-cogl-depth-test.c
tests/conform/test-cogl-materials.c
tests/conform/test-cogl-multitexture.c
tests/conform/test-cogl-npot-texture.c
tests/conform/test-cogl-pixel-buffer.c
tests/conform/test-cogl-premult.c
tests/conform/test-cogl-sub-texture.c
tests/conform/test-cogl-texture-mipmaps.c
tests/conform/test-cogl-texture-rectangle.c
tests/conform/test-cogl-vertex-buffer-contiguous.c
tests/conform/test-cogl-vertex-buffer-interleved.c
tests/conform/test-cogl-vertex-buffer-mutability.c
tests/conform/test-cogl-wrap-modes.c
tests/conform/test-pick.c
tests/conform/test-texture-fbo.c