60 Commits (95ecc2d1a1731c7018cea1d11d1ad85a71629d21)

Author SHA1 Message Date
Chun-wei Fan 95ecc2d1a1 Port the library_init() constructor to MSVC. 10 years ago
Eric Anholt 0096b79923 Fix context type detection if we find eglGetCurrentContext(). 11 years ago
Eric Anholt 28c9c471b2 Remove a C99ism from dispatch. 11 years ago
Ryan Houdek c791612b0a Adds support for Android. 11 years ago
Eric Anholt 6eb075c70e Fix EGL context detection for non-GLES2-core functions. 11 years ago
Eric Anholt b1d875ef0b Clean up epoxy_current_context_is_glx(). 11 years ago
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