[Piglit] [PATCH 1/3] Add eglut utility

Ian Romanick idr at freedesktop.org
Thu Oct 21 18:54:42 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shuang He wrote:
> These are directly copied from mesa/demos
> ---
>  tests/util/CMakeLists.txt       |    5 +
>  tests/util/eglut/CMakeLists.txt |   18 ++
>  tests/util/eglut/eglut.c        |  348 +++++++++++++++++++++++++++++++++++++++
>  tests/util/eglut/eglut.h        |   68 ++++++++
>  tests/util/eglut/eglut_x11.c    |  220 ++++++++++++++++++++++++
>  tests/util/eglut/eglutint.h     |   78 +++++++++
>  6 files changed, 737 insertions(+), 0 deletions(-)
>  create mode 100644 tests/util/eglut/CMakeLists.txt
>  create mode 100644 tests/util/eglut/eglut.c
>  create mode 100644 tests/util/eglut/eglut.h
>  create mode 100644 tests/util/eglut/eglut_x11.c
>  create mode 100644 tests/util/eglut/eglutint.h

If this is just GLUT for EGL, the functions should keep their GLUT
names.  Changing the names means that we have to change all of the tests
(or add wrappers).  That's just silly.  GLUT is already a window system
abstraction layer that works on Windows, X, and Mac OS.  EGL is just
another possible target.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzA7uAACgkQX1gOwKyEAw8zTQCeJHXtgpvi2q3NNh1MH57+7ZEK
ecQAoIyIlhG+FKdYNEdKUJmoCulCM/AV
=IHM7
-----END PGP SIGNATURE-----


More information about the Piglit mailing list