Fix EGLImage depth image test issues.
authorJarkko Pöyry <jpoyry@google.com>
Wed, 6 May 2015 03:12:24 +0000 (20:12 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Wed, 6 May 2015 20:27:46 +0000 (13:27 -0700)
commit7f2e8aa43396923cff333c4b4e17773589e19c17
tree0606cbfbc632729fa187066eb393121a943ec541
parentfc5a709d7a3d1782f6f248684f10b25af6dacd69
Fix EGLImage depth image test issues.

- Fix reversed depth compare in reference image generation.
- Set probe plane z coordinates in clip space.
- Use depth mask to avoid probe planes from altering the result.
- Clear fb color before rendering probe planes.
- Use proper threshold when reading a RGB4 fb.
- Initialize RBOs to a nice pattern instead of a single value.
- Don't render from images in multicontext cases before creating it.

Bug: 20637957
Change-Id: I158e51489ab8d562e74066b8549f5ee5a0d90cb7
modules/egl/teglImageFormatTests.cpp
modules/egl/teglImageUtil.cpp