Fix bugs in image.create tests and clean up code a bit
authorPyry Haulos <phaulos@google.com>
Tue, 8 Sep 2015 19:53:12 +0000 (12:53 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 8 Sep 2015 19:53:12 +0000 (12:53 -0700)
commit8deafd7e4dcdd401ebb39ea28eb4cfaa8e326135
tree949fb488dfd3d676bf8c48cab0876228a56c171c
parent4d6d18f16e92b0abe926ed193cd35e724993dd9c
Fix bugs in image.create tests and clean up code a bit

 * Cube map tests were incorrectly using EGL image target as format.

 * GL_R & GL_RG cases weren't properly checking for extensions due
to typo in m_format initialization.

 * General cleanup for format/internalFormat handling and separation.

Change-Id: I6c1b28385269d4af60d1a5e097ef1dbb11413f6b
modules/egl/teglImageFormatTests.cpp
modules/egl/teglImageTests.cpp
modules/egl/teglImageUtil.cpp