81 Commits (0625a74d69f762df8d411bc0451927424aee1f2c)

Author SHA1 Message Date
Emmanuele Bassi 5df022edb5 Do not call errx() on platforms without it 8 years ago
Emmanuele Bassi bac9400bb0 Use EGL to retrieve pointers if available 8 years ago
Yaron Cohen-Tal 9e46b8e659 Use the appropriate GLES library name for Windows 8 years ago
Adam Jackson 91916269e5 egl: Fix the query for the current context's API 8 years ago
Emmanuele Bassi ad1f9204a2 Avoid C99 declaration after statement 8 years ago
Yaron Cohen-Tal c45cc5f821 Check for NULL extensions string 8 years ago
Emmanuele Bassi 8dead45cb3 Revert all changes since 8bbc0d40 8 years ago
Yaron Cohen-Tal b8d609e8f9 Fox some X server not supporting any OpenGL feature, glXQueryExtensionsString 8 years ago
Yaron Cohen-Tal a4ead97cfd Make "epoxy_current_context_is_egl" visible. 9 years ago
Yaron Cohen-Tal 8d58c89064 Fix "epoxy_egl_get_current_gl_context_api" to use "eglQueryContext" with "EGL_CONTEXT_CLIENT_TYPE" as "attribute". 9 years ago
Yaron Cohen-Tal 44d51f2844 Fix support for a static build of Epoxy. Add support building and running tests with CMake. Add support for linking with the static run-time library with MSVC. 9 years ago
Yaron Cohen-Tal dd695faee3 Remove redundant code in "epoxy_get_bootstrap_proc_address". 9 years ago
Yaron Cohen-Tal 06fd4a271a Add support for CMake (no support for building/running the tests yet). Fix support for Android. Add built-in support for building with EGL support (using "khrplatform.h" and "eglplatform.h" which are distributed together with Epoxy, and should work with any platform). 9 years ago
Yaron Cohen-Tal 4c4a6e49ca Fix support of some OpenGL ES and EGL implementations, specifically on Windows. 9 years ago
Yaron Cohen-Tal 90c6158d61 Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors. 9 years ago
Eric Anholt d4620b7dd3 Use __attribute__((packed)) to reduce our data size. 9 years ago
Yaron Cohen-Tal a7c270f8e2 Fix epoxy_egl_get_current_gl_context_api() on non-conformant ES. 9 years ago
Eric Anholt 227d1312e6 Look for GL 1.1 functions in win32's OpenGL32.dll. 9 years ago
Chun-wei Fan d9df59df71 src/dispatch_common.c: Remove Unneeded PUBLIC Annotation 10 years ago
Chun-wei Fan 7d5e8e9d56 Put the callspec after the return type for MSVC. 10 years ago
Chun-wei Fan e242497728 Avoid empty struct intializer on MSVC. 10 years ago
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