]> git.cworth.org Git - fips/commit
test: Add support for EGL-based test, (and one EGL-based test)
authorCarl Worth <cworth@cworth.org>
Tue, 2 Jul 2013 00:44:14 +0000 (17:44 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 2 Jul 2013 21:19:39 +0000 (14:19 -0700)
commitbc8909973744d68743a8401ec52afbbc3b0a12a4
treef0b54928a70a2a83df479882a4299b6a95508547
parentddd77c29412866e8567aeff1951e6e010b3676bf
test: Add support for EGL-based test, (and one EGL-based test)

For this, common.c now supports a new macro COMMON_USE_EGL which can
optionally be defined by the test before including common.c.

Some aspects of the common.c interface have changed slightly, (the
create_context call is now either create_glx_context or
create_egl_context, and the caller must explicitly call the new
common_make_current call).

This commit adds a single egl-based test, (egl-opengl-link-call),
which is similar to the existing gl-link-call test. This is basically
to ensure that the new code in common.c is functional.

We plan to follow up with egl-opengl variants for the remaining 5
existing gl tests, (and then egl-glesv2 variants for all 6 as well).
test/.gitignore
test/Makefile.local
test/common.c
test/egl-opengl-link-call.c [new file with mode: 0644]
test/fips-test
test/glx-dlopen-dlsym.c
test/glx-dlopen-gpa.c
test/glx-dlopen-gpaa.c
test/glx-link-call.c
test/glx-link-gpa.c
test/glx-link-gpaa.c