From fe6b048afbf76904a4b265c7019fe75476d618af Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Thu, 13 May 2010 20:29:51 -0400 Subject: Add the start of an EGL test suite and a EGL_NOK_swap_region test --- tests/egl/egl-util.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/egl/egl-util.h (limited to 'tests/egl/egl-util.h') diff --git a/tests/egl/egl-util.h b/tests/egl/egl-util.h new file mode 100644 index 000000000..870ee8a0a --- /dev/null +++ b/tests/egl/egl-util.h @@ -0,0 +1,18 @@ +#ifndef EGL_UTIL_H +#define EGL_UTIL_H + +#include +#include +#include +#include +#include +#include + +struct egl_test { + const char **extensions; + enum piglit_result (*draw)(EGLDisplay egl_dpy, EGLSurface surf); +}; + +int egl_run(const struct egl_test *test, int argc, char *argv[]); + +#endif -- cgit v1.2.3