Mesa (master): mesa: improve getprocaddress test
Robert Ellison
papillo at kemper.freedesktop.org
Fri Aug 7 18:12:34 UTC 2009
Module: Mesa
Branch: master
Commit: 99d5139078654f2728aa42aca31811308e29a589
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99d5139078654f2728aa42aca31811308e29a589
Author: Robert Ellison <papillo at tungstengraphics.com>
Date: Fri Aug 7 12:06:17 2009 -0600
mesa: improve getprocaddress test
- Allow the getprocaddress test to test extensions not supported by
Mesa. The original getprocaddress.py script only included OpenGL
extension functions that were in Mesa dispatch tables. Now all
known extension functions (as detailed in gl_API.xml) are included.
As the test does not link against any extension function symbols
(i.e. it uses glXGetProcAddress() for all extension functions),
it still compiles and links against Mesa; but now the same
binary can be used to test extensions not yet supported by Mesa.
- Extend the list of tested extension functions. The last revision
of this test exercised 16 extension functions; this revision adds
support for 95 more.
---
progs/tests/getprocaddress.c | 3243 ++++++++++++++++++++++++++++++++++++++++-
progs/tests/getprocaddress.py | 2 +-
2 files changed, 3204 insertions(+), 41 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=99d5139078654f2728aa42aca31811308e29a589
More information about the mesa-commit
mailing list