Tolerate flush/finish test assumption failures.
authorNicolas Capens <capn@google.com>
Thu, 25 Jan 2018 16:58:26 +0000 (16:58 +0000)
committerNicolas Capens <capn@google.com>
Thu, 25 Jan 2018 17:05:51 +0000 (17:05 +0000)
commit963af9cc8940416f5205755d531046a41798cc5b
tree3bfc3c8e06b14d553a74c353ce8284f7e1a723fd
parent16fc7b99edc0efc192f2e2f9b8750a922eb287ee
Tolerate flush/finish test assumption failures.

These tests assume that draw calls are queued up until they're forced
to be executed by a ReadPixels, Flush, or Finish call. The spec does
not require this, and implementations are free to eagerly start
execution of draw calls.

Thus this change reports a CompatibilityWarning if the assumption isn't
met, instead of a Failure.

Google bug: b/71858368
Components: AOSP
Tests: dEQP-GLES2.functional.flush_finish,
dEQP-GLES3.functional.flush_finish
framework/common/tcuApp.cpp
framework/common/tcuApp.hpp
modules/gles2/functional/es2fFlushFinishTests.cpp
modules/gles3/functional/es3fFlushFinishTests.cpp