194 Commits (abe6a80412891cd9cfdb22a66a2b2a773fc4eb3b)

Author SHA1 Message Date
Yaron Cohen-Tal 64e2ee2ca8 Fix a bug in which "DllMain" isn't called when using the static version of Epoxy in Windows. 9 years ago
Yaron Cohen-Tal dd695faee3 Remove redundant code in "epoxy_get_bootstrap_proc_address". 9 years ago
Yaron Cohen-Tal ec2f42f01a Add support for building static libs with CMake. Fix file permissions. Update documentation about building static libs and about using OpenGL ES / EGL. 9 years ago
Yaron Cohen-Tal 62e384129b Add some files to the repo so that it's possible to build without running "autogen.sh". 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
Chun-wei Fan c976864bc9 src/gen_dispatch.py: Make Generated Code Build Under C89 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
Yaron Cohen-Tal 773dd02f59 Added makefiles to build with MSVC 2013, and fixed errors and warnings. 9 years ago
Eric Anholt 35016b7589 Also drop the publishing of epoxy_conservative_egl_version() 9 years ago
Eric Anholt 585c703699 Add some missing spacing in generated code. 9 years ago
Eric Anholt b2c00a18af Use a concatenated string for enum descriptions. 9 years ago
Eric Anholt d4620b7dd3 Use __attribute__((packed)) to reduce our data size. 9 years ago
Eric Anholt 62861d12f9 Emit APIENTRY for typedefs that use it. 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 e9f68fe3a3 Fix generated code for building on MSVC 2013 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 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