Emmanuele Bassi
d5dfe2bd96
build: Drop autogenerated autotools files from Git
...
These files should not be under revision control.
This commit partially reverts:
* 06fd4a271a
* 62e384129b
8 years ago
Yaron Cohen-Tal
15898325c1
Merge pull request #3 from RobotCaleb/patch-2
...
Update README.md
8 years ago
Caleb Anderson
c8fb7dd27d
Update README.md
...
Typo and code block fixes
8 years ago
Caleb Anderson
1814f06490
Update README.md
...
Fix nmake list
8 years ago
Yaron Cohen-Tal
594e2e082a
Merge pull request #2 from BryanKadzban/master
...
nVidia glx.h uses __glx_h__; define that too.
8 years ago
Bryan Kadzban
58610268fe
nVidia glx.h uses __glx_h__; define that too.
...
The code used to check this symbol, but commit 689abf4
replaced it with
GLX_H, presumably to work better with either Mesa or Khronos headers.
But nVidia's header use the older include guard. Add it as another
option.
Should fix the headerguards.c compile test when the system glx.h is from
nVidia's binary drivers.
8 years ago
Yaron Cohen-Tal
b8d609e8f9
Fox some X server not supporting any OpenGL feature, glXQueryExtensionsString
...
will return NULL and causes the function to fail. Thanx to Emmanuel Stapf (manus@eiffel.com ) for the original patch.
This was verified running an application on macOS while the X server was running
on Windows Xming 7.5.0.10
9 years ago
Yaron Cohen-Tal
c342cba2a1
Add glibc versions 2.2 and 2.3 to "dlwrap_real_dlsym".
9 years ago
Yaron Cohen-Tal
d81ab07f0b
Update pregenerated files.
9 years ago
Yaron Cohen-Tal
6e3fa879cf
Merge branch "oncer/half_aliases_fix".
9 years ago
Simon Parzer
4509aafdd2
add glBindRenderbufferEXT to half_aliases
...
it seems like this was forgotten,
because glBindFramebufferEXT is already there
for the same reason
9 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
b3b8bd9af7
Fix "epoxy_glx_version" to handle the case when GLX is not active on the display.
9 years ago
Yaron Cohen-Tal
7d1c96c85f
Update pregenerated files.
9 years ago
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.
10 years ago
Yaron Cohen-Tal
b527c5f01f
Add new header file "common.h" to the installed files.
10 years ago
Yaron Cohen-Tal
90c6158d61
Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors.
10 years ago
Yaron Cohen-Tal
773dd02f59
Added makefiles to build with MSVC 2013, and fixed errors and warnings.
10 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.
10 years ago
Eric Anholt
c8cd4b7e0c
Add missing files in the make dist.
...
Make dist is such a terrible idea.
10 years ago
Eric Anholt
e2c33af5bf
Bump to version 1.3.1 for release.
...
A small bug was noticed during debian packaging.
10 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).
10 years ago
Eric Anholt
118565cd8e
Bump version to 1.3 for release.
10 years ago
Eric Anholt
585c703699
Add some missing spacing in generated code.
10 years ago
Eric Anholt
b2c00a18af
Use a concatenated string for enum descriptions.
...
Saves another 15kb of compiled code.
10 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.
10 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 .
10 years ago
Eric Anholt
8154c0efd3
Merge branch 'khronos-registry'
...
This brings in support for non-error context extensions.
10 years ago
Eric Anholt
5987e1ef1a
Import registry from SVN 31705
10 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.
10 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 .
10 years ago
Eric Anholt
8ce3e5f14f
Update README for the dropping of X11 on OSX.
...
Fixes #39
10 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