Eric Anholt
34d7b3d872
Fix signedness warning on OS X build of the testsuite.
11 years ago
Eric Anholt
6553c08752
Fix compiler warning in glx_static.
11 years ago
Eric Anholt
22ce76fe0b
Make glx_static report skip if it was built non-static.
...
It won't have that symbol, unless it happens to be linked against the
full library.
11 years ago
Eric Anholt
2206e6e302
Add a testcase for trying to use libepoxy as a static library.
...
Note that it will only actually link statically against epoxy if
you've set --enable-static.
11 years ago
Eric Anholt
ca14052cfe
Add a test for basic functionality on win32.
11 years ago
Eric Anholt
bfd687da89
Port tests directory to win32.
11 years ago
Eric Anholt
0d7d26537d
Conditionalize building GLX and EGL tests and headers.
...
Note that the generated code is still generated, they just aren't
built and installed. The goal with that is that someone could take
the built .c and .h files and drop it into their own project, if they
want to avoid shared libs.
11 years ago
Eric Anholt
19053c4d6f
Fix out of tree build
11 years ago
Eric Anholt
01ce694073
Add a compile-time test for missing #defines.
11 years ago
Eric Anholt
0983996e49
Fix calling new entrypoints from within glBegin()/glEnd().
11 years ago
Eric Anholt
9ffa5d25c4
Add a test for a bug when called during glBegin()/glEnd().
11 years ago
Eric Anholt
8bb5a2545e
Fix extension detection on core GL contexts.
...
The nasty old strings were deprecated.
11 years ago
Eric Anholt
20f03e65c4
Add a new test for our public API against a core context.
...
Our extension detection for core is totally broken.
11 years ago
Eric Anholt
a258cdcffe
Pull a helper function from piglit.
...
I need this for doing testing against core contexts.
11 years ago
Eric Anholt
f2d5248e3d
Add missing .gitignore bits for EGL
11 years ago
Eric Anholt
0270c80008
Add support for EGL.
...
This totally replaces the getprocaddress and dlsym code, which was
basically just stubs up until now. The is_glx/is_egl() is also
dropped -- they weren't doing anything, and the only false answer they
could give is if the dlopen were to fail.
11 years ago
Eric Anholt
2be86a9a9c
Add .gitignore for the built tests.
11 years ago
Eric Anholt
de70a2a0ab
Fix a similar bug to HEAD~2, this time in epoxy_has_glx_extension().
11 years ago
Eric Anholt
7603c144db
Add a failing testcase for the public API of epoxy_has_glx_extension.
11 years ago
Eric Anholt
0f67bf3f11
Fix bug in public entrypoint for epoxy_glx_version()
...
Unfortunately, for GLX 1.4+ entrypoints (just glxGetProcAddress
currently) or extensions, if there isn't a context bound then we don't
have a dpy and screen available to provide useful debug messages. Oh
well.
11 years ago
Eric Anholt
14f822ee91
Add a testcase for a bug in the public API.
11 years ago
Eric Anholt
617fd39b5b
Add a test for including system GL headers after epoxy.
11 years ago
Eric Anholt
106298f2f9
Add a little more testing of our public GLX API.
11 years ago
Eric Anholt
04cf940e1b
Add an initial testsuite for GLX API.
11 years ago