Fix GLES2 negative texture api tests.
authorJarkko Pöyry <jpoyry@google.com>
Tue, 16 Dec 2014 22:11:01 +0000 (14:11 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Wed, 17 Dec 2014 00:37:15 +0000 (16:37 -0800)
commiteb0aaf2611ad99884250a2972c7b5f80dc1329fd
tree5679906901f1bac734cf416076066520610a7b46
parent8ada207f98ac56547ba4a56a2b3ea9305ce9ca93
Fix GLES2 negative texture api tests.

- Remove broken compressedtexsubimage2d_invalid_format test. Function is not
  required to generate INVALID_ENUM on invalid format. Spec only states that
  format must match the target texture format or INVALID_OPERATION.
- Remove broken generatemipmap_invalid_target_bind test.
- Add npot extension check to generatemipmap_npot_wdt_hgt test.
- Add GL_EXT_texture_compression_s3tc and GL_IMG_texture_compression_pvrtc
  format pretty-printing.

Bug: 18770284
Change-Id: I9c2c8d059b04eb51885062e9f0b78c2254050521
android/cts/com.drawelements.deqp.gles2.xml
framework/opengl/gluCallLogWrapper.inl
framework/opengl/gluStrUtil.inl
framework/opengl/wrapper/glwEnums.inl
modules/gles2/functional/es2fNegativeTextureApiTests.cpp
scripts/opengl/gen_call_log_wrapper.py
scripts/opengl/gen_str_util.py
scripts/opengl/src_util.py