Yaron Cohen-Tal
6fe6b8e2d4
Merge branch "nephatrine/registry-support".
9 years ago
Daniel Wolf
262a623452
support newer/larger gl.xml
9 years ago
Yaron Cohen-Tal
2bf2468502
Merge branch "blino/master".
9 years ago
Olivier Blin
fe7a96e077
dlwrap: add GLIBC_2.4 version to be able to run tests from ARM
...
See sysdeps/unix/sysv/linux/arm/libdl.abilist in glibc
9 years ago
Yaron Cohen-Tal
4b6d637ae0
Update "README.md".
9 years ago
Yaron Cohen-Tal
2af1715fbf
Fix "FindGLESv1.cmake" and "FindGLESv2.cmake".
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
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
540952010b
Fix tests to work with some OpenGL ES / EGL implementations.
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
...
...so that the generated code are buildable by pre-2013 Visual Studio.
The main thing that this does is that we avoid named initializers, but
instead initialize the structs in old-school C89 way.
The generated code may not look that robust, but since this is generated
code, I think this is not that much an issue; when the Khronos registry gets
updated, all that is needed is that the code gets re-generated, and we have the
items in the right order.
9 years ago
Yaron Cohen-Tal
b527c5f01f
Add new header file "common.h" to the installed files.
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
8bbc0d40c6
Make the glx_alias_prefer_same_name test work, and hook it up.
...
Apparently I started writing it, and didn't notice I wasn't building
my code when I committed the library support.
9 years ago
Eric Anholt
c8cd4b7e0c
Add missing files in the make dist.
...
Make dist is such a terrible idea.
9 years ago
Eric Anholt
e2c33af5bf
Bump to version 1.3.1 for release.
...
A small bug was noticed during debian packaging.
9 years ago
Eric Anholt
35016b7589
Also drop the publishing of epoxy_conservative_egl_version()
...
Like epoxy_conservative_gl_version(), it's internal only (and didn't
have a published prototype in the headers).
9 years ago
Eric Anholt
118565cd8e
Bump version to 1.3 for release.
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.
...
Saves another 15kb of compiled code.
9 years ago
Eric Anholt
d4620b7dd3
Use __attribute__((packed)) to reduce our data size.
...
Since our provider enums are small, we can store them as bytes or
shorts if we just let the compiler know that it's OK. Saves 20kb in
the compiled library.
9 years ago
Eric Anholt
62861d12f9
Emit APIENTRY for typedefs that use it.
...
The XML uses a node for where the string should be. This should fix
segfaults using GL_ARB_debug_output on windows.
Fixes #46 .
9 years ago
Eric Anholt
8154c0efd3
Merge branch 'khronos-registry'
...
This brings in support for non-error context extensions.
9 years ago
Eric Anholt
5987e1ef1a
Import registry from SVN 31705
9 years ago
Yaron Cohen-Tal
a7c270f8e2
Fix epoxy_egl_get_current_gl_context_api() on non-conformant ES.
...
According to the OpenGL ES standard, "glGetString(GL_VERSION)" should
return a string starting with "OpenGL ES". However, PowerVR's OpenGL
ES implementation (and perhaps others) don't comply with the standard
here. If our context happend to be bound using EGL, then we can just
ask EGL what kind of context it was, avoiding the glGetString() check.
9 years ago
Eric Anholt
227d1312e6
Look for GL 1.1 functions in win32's OpenGL32.dll.
...
The windows ABI is GL 1.1, not 1.0. You get NULL pointers for 1.1
functions when calling wglGetProcAddress(). Fixes #47 .
9 years ago
Eric Anholt
8ce3e5f14f
Update README for the dropping of X11 on OSX.
...
Fixes #39
9 years ago
Chun-wei Fan
d9df59df71
src/dispatch_common.c: Remove Unneeded PUBLIC Annotation
...
Don't mark epoxy_conservative_gl_version() for export, as it is meant
to be a private API to be used within libepoxy only.
Reviewed-by: Eric Anholt <eric@anholt.net>
10 years ago
Chun-wei Fan
a2a51904b0
test/wgl_per_context_funcptrs.c: Fix build on Visual Studio
...
Ensure that we do __stdcall only after the return type, as Visual Studio
will not like it otherwise.
10 years ago
Chun-wei Fan
e9f68fe3a3
Fix generated code for building on MSVC 2013
...
This updates the script to generate code that is buildable by Visual Studio
2013 by:
-Using a macro to define the compiler-specific way to do noinline for a
function, and use it when needed.
-Avoid using empty arrays and structs as that is a C99 feature that will
likely be never support on Visual Studio as it is now an optional feature
of C11.
10 years ago
Chun-wei Fan
7d5e8e9d56
Put the callspec after the return type for MSVC.
...
Visual Studio does not like __stdcall before the return type, which is
what GLAPIENTRY and EPOXY_CALLSPEC expands to on Windows.
10 years ago
Chun-wei Fan
e242497728
Avoid empty struct intializer on MSVC.
...
It is a C99 feature that is not supported (nor will it probably be at
any point) on Visual Studio.
10 years ago
Chun-wei Fan
95ecc2d1a1
Port the library_init() constructor to MSVC.
10 years ago
Chun-wei Fan
d88c639e63
Fix public headers for building in Visual Studio
...
Ensure that we also have import/export decorations for the prototypes, as
Visual Studio does not like such decorations on the function definitions
without the prototypes decorated as well, when the function prototypes
exist.
10 years ago
Eric Anholt
136cf85424
Use the provider enum to tie-break sorting by function provider name.
...
Without this, we got code generation that was dependent on the
original ordering in the hash table, and thus non-reproducible builds.
Based on a commit by Stephan Kulow, but retaining the sorting by
function name first (that way all providers with the same name appear
next to each other like before, and also happens to ensure that core
names tend to appear before non-core names)
10 years ago
Eric Anholt
b9fbcaf0e2
Merge remote-tracking branch 'airlied/master'
10 years ago
Eric Anholt
6411628392
Merge pull request #42 from cicku/patch-1
...
Update the homepage URL
10 years ago
Dave Airlie
eeda3a5a6d
Merge branch 'khronos-registry'
10 years ago
Dave Airlie
85e5100d67
Import registry from SVN 31039
10 years ago
Christopher Meng
b7e921da13
Update the homepage URL
10 years ago
Eric Anholt
20062c25e7
Merge branch 'khronos-registry'
10 years ago
Eric Anholt
e9ce388f74
Import registry from SVN 29350
10 years ago
Eric Anholt
135f7bf104
wgl: Fix an extra break statement.
...
This would have leaked our TLS indices on process exit.
Fixes #32
10 years ago
Eric Anholt
363d57a9de
Merge remote-tracking branch 'sonicadvance/OSX-NoX11Support'
...
I've come around to the various contributors' positions: X11 on OSX is
basically dead, and we're not serving our users by trying to support
it.
10 years ago
Eric Anholt
b2ae054b3a
Avoid name conflicts between pkgconfig's EGL_LIBS and a temporary var.
...
I felt a little uncomfortable knowing I had two things defining
EGL_LIBS, but it worked on my system. It failed on the travis ci
build.
11 years ago