port s3tc tests to gles2

Submitted by Erik Faye-Lund on Oct. 24, 2018, 4:29 p.m.

Details

Reviewer None
Submitted Oct. 24, 2018, 4:29 p.m.
Last Updated Oct. 26, 2018, 1:03 p.m.
Revision 1

Cover Letter(s)

Revision 1
      The EXT_texture_compression_s3tc spec allows to be implemented on top of
gles2 as well as gles 1.1 and up.

So let's port the tests to gles2, so we can test the implementations.

Erik Faye-Lund (5):
  texturing: make sure s3tc tests require GL 1.1
  texturing: use piglit_draw_rect_tex instead of glBegin/glEnd
  s3tc-teximage: port to gles2
  s3tc-texsubimage: port to gles2
  s3tc-errors: port to gles2

 tests/texturing/CMakeLists.gles2.txt |  7 ++++
 tests/texturing/s3tc-errors.c        | 59 ++++++++++++++++++++++++++--
 tests/texturing/s3tc-teximage.c      | 59 ++++++++++++++++++++++++----
 tests/texturing/s3tc-texsubimage.c   | 59 ++++++++++++++++++++++++----
 4 files changed, 165 insertions(+), 19 deletions(-)
 create mode 100644 tests/texturing/CMakeLists.gles2.txt
    

Revisions