]> git.cworth.org Git - fips/commit
test: Add 4 tests using EGL and OpenGLESv2
authorCarl Worth <cworth@cworth.org>
Tue, 2 Jul 2013 20:07:40 +0000 (13:07 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 3 Jul 2013 00:37:49 +0000 (17:37 -0700)
commit0c8d32dabf4cec6957dfb4c071ecdb2fb4e4cd0e
tree1d78cb0e63cf73886b6eaddb0af47349c4ec3f08
parentd6ac766abe401b681282cdcf273e7fb67fff99bd
test: Add 4 tests using EGL and OpenGLESv2

These are similar variants to the four existing tests using EGL and OpenGL.

To add these tests we add a new configure-time check to find the
compilation flags for GLESv2. We also drop the set_2d_projection code
which was using glLoadIdentity, glMatrixMode, and glOrtho functions
which apparently don't exist in GLESv2. So common.s and all tests with
custom wrappers are modified to drop these calls.

As with the egl-opengl tests, all new tests except for the dlsym-based
test pass. That's not too surprising since there are so many twisty
paths in trying to get all the dlopen/dlsym stuff to work correctly.

And hurrah for test suites finding bugs!
17 files changed:
configure
test/.gitignore
test/Makefile.local
test/common.c
test/egl-glesv2-dlopen-dlsym.c [new file with mode: 0644]
test/egl-glesv2-dlopen-gpa.c [new file with mode: 0644]
test/egl-glesv2-link-call.c [new file with mode: 0644]
test/egl-glesv2-link-gpa.c [new file with mode: 0644]
test/egl-opengl-dlopen-dlsym.c
test/egl-opengl-dlopen-gpa.c
test/egl-opengl-link-gpa.c
test/fips-test
test/glx-dlopen-dlsym.c
test/glx-dlopen-gpa.c
test/glx-dlopen-gpaa.c
test/glx-link-gpa.c
test/glx-link-gpaa.c