231 Commits (b80ea6a36ac579edda5ea575782ce719c314ebfd)

Author SHA1 Message Date
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 136cf85424 Use the provider enum to tie-break sorting by function provider name. 10 years ago
Eric Anholt 135f7bf104 wgl: Fix an extra break statement. 10 years ago
Eric Anholt 0096b79923 Fix context type detection if we find eglGetCurrentContext(). 11 years ago
Eric Anholt d56f21c494 Use the EGL pkgconfig for finding eglplatform.h. 11 years ago
Eric Anholt 28c9c471b2 Remove a C99ism from dispatch. 11 years ago
Ryan Houdek e3051481cc Adds support for OS X without X11. 11 years ago
Ryan Houdek c791612b0a Adds support for Android. 11 years ago
Eric Anholt c7a91844de Don't forget to install the wgl headers. 11 years ago
Eric Anholt 568533441f Move __stdcall into the parens for function pointer definitions. 11 years ago
Eric Anholt 6eb075c70e Fix EGL context detection for non-GLES2-core functions. 11 years ago
Eric Anholt 3e09de7550 win32: Delay using dispatch tables until the second MakeCurrent. 11 years ago
Eric Anholt 370c49d5cd Use #defines to shrink the size of gl_generated_dispatch.c 11 years ago
Eric Anholt 11a946cbf5 Prefer non-aliased functions when resolving. 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 e7d3088d71 win32: Add support for wglUseFontBitmaps(). 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 9efad17eb4 Actually fix #21 (hopefully). 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
Fredrik Höglund e20b3ce6c7 Fix EGLDisplay parameters in epoxy 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 766422a82c Use the same typedefs as upstream khrplatform.h in a couple cases. 11 years ago
Eric Anholt c996534080 Define the rest of the khrplatform.h types, and prevent its inclusion. 11 years ago
Eric Anholt 17e5c307f5 Add missing dependency on libdl. 11 years ago
Matt Turner 309f2d2020 Use LDADD instead of LDFLAGS/DEPENDENCIES. 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 46953a662c Add missing make dist of gen_dispatch.py. 11 years ago
Eric Anholt 9e30b7e633 Fix a typo in the Makefile.am. 11 years ago
Eric Anholt 12ef9dcf2d Do a trivial sort on the enums generated. 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 3ae4726cdb win32: Expose the dispatch table reset funtion in the public API. 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 417927e2eb win32: Start wrapping the 1.0 wgl functions. 11 years ago