Yaron Cohen-Tal
cc5e0157eb
Merge pull request #92 from ebassi/force-rebuild
...
build: Force replacing autotools generated files
8 years ago
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
Emmanuele Bassi
04387bc188
build: Force replacing autotools generated files
...
If the '--force' switch is not passed to autoreconf, the autotools will
try to reuse the generated files committed in the Git repo, which hard
code the names and versions of the tools originally used to generate
them.
8 years ago
Adam Jackson
ced192c30b
egl: Fix the query for the current context's API
...
Binding an API does not change the type of the current context. Even if
it did, EGL 1.5 treats EGL_OPENGL_API and EGL_OPENGLES_API as identical
for this purpose. If you want to know properties of the current
context, query it.
Signed-off-by: Adam Jackson <ajax@redhat.com>
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
8 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.
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