Commit graph

3 commits

Author SHA1 Message Date
Kyle Brenneman 151c595ed1 tests/GLX_dummy: Add a vendor-provided create context function
Added a glXCreateContextVendorDUMMY extension function to GLX_dummy to test
using a vendor-provided extension function to create a context. We can't use
glXCreateContextAttribsARB for that now, because it has a dispatch stub in
libGLX itself.

glXCreateContextVendorDUMMY takes the same arguments as
glXCreateContextAttribsARB, so it can also serve as an example for implementing
a dispatch stub for glXCreateContextAttribsARB in a real vendor library.
2017-12-06 13:29:59 -07:00
Kyle Brenneman 26bdafb0a0 tests: Add a dummy attribute for glXQueryContext.
Defined a dummy attribute that a test program can use with glXQueryContext to
test dispatching by GLXContext.
2017-12-06 13:25:06 -07:00
Kyle Brenneman 6bc8902de8 tests: Rename GLX_dummy directory.
Rename the GLX_dummy directory to just "dummy", since the code in it will be
used for non-GLX tests.
2016-10-17 11:12:21 -06:00
Renamed from tests/GLX_dummy/GLX_dummy.h (Browse further)