Improve glFlush() & glFinish() tests
authorPyry Haulos <phaulos@google.com>
Wed, 6 May 2015 20:32:39 +0000 (13:32 -0700)
committerPyry Haulos <phaulos@google.com>
Wed, 6 May 2015 20:32:39 +0000 (13:32 -0700)
commit2995cc217d02c92dbca8fed6f55337b93d1a7506
tree3e5cb167824fbe378b9ded910af60e54ddb55705
parent37fb8b51d4a98fc3a46be8a02a91c2dc189d79be
Improve glFlush() & glFinish() tests

 * Use tcu::warmupCPU() instead of simple busy wait for warmup.

 * Ensure that wait time is always longer than estimated render time.

Change-Id: I891771d41a9bd48e58ad493f4b4dc7f28c571c30
modules/gles2/functional/es2fFlushFinishTests.cpp
modules/gles3/functional/es3fFlushFinishTests.cpp