Do not use degenerate frames in EGL tests
authorMichael Chock <mchock@nvidia.com>
Mon, 14 Aug 2017 18:55:14 +0000 (11:55 -0700)
committerMika Isojärvi <misojarvi@google.com>
Mon, 18 Sep 2017 21:58:57 +0000 (14:58 -0700)
commit8adce77ee5730aa6f1dcdf5f179782ad8fdcc9e7
treeac2fb6d266bd4d9b760b9cd782ee1fda817424a0
parentae838ac1c9fbfadf5d71f5eb0eb8d66b372f1ce3
Do not use degenerate frames in EGL tests

The dEQP-EGL.functional.buffer_age.* and
dEQP-EGL.functional.partial_update.* tests use randomly-generated frames
for rendering. The test allows the generation of frames with a width or
height of 0, but the tcu::PixelBufferAccess interface does not permit
0-sized subregions (see assertions inside getSubregion overloads in
tcuTextureUtil.cpp).

Skip the rendering of degenerate frames in the reference renderer, as
they are unsupported but would not affect the rendering if they were.

Bug: 65317274
Test: Ran tests on couple of Google devices
Change-Id: I3977c3c293715db633dde74132e56b5d9303ab28
modules/egl/teglBufferAgeTests.cpp
modules/egl/teglPartialUpdateTests.cpp