54 Commits (db5b939f986b7c052185a28864fcb7351bc20e8a)

Author SHA1 Message Date
Eric Anholt db5b939f98 Ask glXGetProcAddress for ES symbols when we're on a GLX context. 11 years ago
Eric Anholt b251e3ae33 Factor out the GLX versus EGL current context detection code. 11 years ago
Eric Anholt d48978c084 Don't leak dlerror()s while we're trying to probe libraries. 11 years ago
Eric Anholt 72187a29c2 Don't dlsym() if we failed to dlopen(). 11 years ago
Eric Anholt 5dcdfe9d79 Remove a debug printf that slipped in. 11 years ago
Eric Anholt 847a6d50db Avoid using eglGPA() for core funcs when the current context is GLX. 11 years ago
Eric Anholt b670c84039 Refactor dispatch_common's EGL context detection code. 11 years ago
Eric Anholt e6d9bb971b Try to use glXGPA() for core funcs if the current context is GLX. 11 years ago
Eric Anholt 698185e24a Try to avoid looking up bootstrap functions in the wrong library. 11 years ago
Eric Anholt 037ac7f566 Add a test for EGL and GLX returning different function pointers. 11 years ago
Eric Anholt 14f24485e3 Add support for looking up GLES3 functions using dlsym(). 11 years ago
Eric Anholt 53b87c33e4 Catch eglBindAPI() failures in looking up bootstrap functions. 11 years ago
Eric Anholt 81ccc70837 Fix some silly line-wrapping in a printf. 11 years ago
Eric Anholt c4d19366cc Add a missing \n on an error message. 11 years ago
Eric Anholt a55d28ee1b Fix a missing \n on printing out failure to dlsym(). 11 years ago
Eric Anholt 1064406814 Fix using epoxy on systems with only EGL and GLES1 or GLES2. 11 years ago
Eric Anholt 72e57908c6 Fix typo in gles2 dlsym setup 11 years ago
Eric Anholt aa778ef39d Add support for Mesa's GLES1 implementation. 11 years ago
Eric Anholt 9bc909f5a7 win32: Convert the API to being based on function pointers, like Linux. 11 years ago
Eric Anholt c4214a39f4 win32: Reset all dispatch tables to re-resolve on any wglMakeCurrent. 11 years ago
Eric Anholt 8dcd1512db Drop the PLATFORM_HAS_EGL check in epoxy_egl_dlsym(). 11 years ago
Eric Anholt 5112b477c2 win32: Move dynamic symbol loading to do_dlsym(). 11 years ago
Eric Anholt c24afd8a9e Fix printout of missing versions/extensions. 11 years ago
Eric Anholt 26880549bc Fix loading of extension functions on OS X. 11 years ago
Eric Anholt 3d2a2b3c80 Abandon ifuncs and go with the traditional global function pointers. 11 years ago
Eric Anholt 10c611a3f1 Add a check that we've made it into the C runtime when doing dlopen(). 11 years ago
Eric Anholt 03e9537331 Fix infinite loop in extension detection when the needle is a substring. 11 years ago
Eric Anholt 8d8334c350 Use the right library name for GLX on OS X. 11 years ago
Eric Anholt d82c5c33a6 Fix the path to the GL library on OS X. 11 years ago
Eric Anholt 708c31a406 Disable EGL on OS X. 11 years ago
Eric Anholt 1d746bfeb2 Add dispatch generation for wgl. 11 years ago
Eric Anholt 4eaf4bfe21 Fill in the begin/end counting on win32. 11 years ago
Eric Anholt b128dd9b25 Move the check for whether to dlsym or GPA on linux to the common C code. 11 years ago
Eric Anholt 259136845d Start porting the GL dispatch code to win32. 11 years ago
Eric Anholt 60ea7c38a2 Move GLX/EGL dispatch code using those API types to separate files. 11 years ago
Eric Anholt 906d5b6e3a Conditionalize building the EGL and GLX dispatch code. 11 years ago
Eric Anholt 9b8ac73231 Improve the quality of the missing providers output. 11 years ago
Eric Anholt 8d208fff51 Print the missing provider information to stderr. 11 years ago
Eric Anholt 0983996e49 Fix calling new entrypoints from within glBegin()/glEnd(). 11 years ago
Eric Anholt 1cb041fbaa Fix a compiler warning in the previous commit. 11 years ago
Eric Anholt 8bb5a2545e Fix extension detection on core GL contexts. 11 years ago
Eric Anholt 0270c80008 Add support for EGL. 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 0f67bf3f11 Fix bug in public entrypoint for epoxy_glx_version() 11 years ago
Eric Anholt 5f60534bac Fix up an unfinished comment 11 years ago
Eric Anholt a82e54aafa Make a table full of strings describing our providers. 11 years ago
Eric Anholt 8139c7c489 Actually implement GLX version detection. 11 years ago
Eric Anholt ed938dc4c5 Make a few more public functions actually public. 11 years ago
Eric Anholt 66d7b9fb02 Fix the version detection for GL < 3. 11 years ago
Eric Anholt a1d555e446 Fix a copy-and-paste mistake in getting GL version 11 years ago