summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-12Add aliases for OES_get_program_binaryHEADmasterFredrik Höglund1-0/+2
2014-02-12Add aliases for APPLE_syncFredrik Höglund1-0/+7
2014-02-12Add aliases for EXT_texture_storageFredrik Höglund1-0/+3
2014-02-12Add alias for NV_framebuffer_multisampleFredrik Höglund1-0/+1
2014-02-12Add aliases for OES_texture_3DFredrik Höglund1-0/+6
2014-02-12Fix EGLDisplay parameters in epoxy functionsFredrik Höglund2-6/+6
EGLDisplay is typedefed as a pointer.
2014-02-12Add alias for NV_framebuffer_blitFredrik Höglund1-0/+1
2014-02-12Add aliases for EXT_map_buffer_rangeFredrik Höglund1-0/+2
Note that GLES doesn't allow zero-length mappings, unlike desktop GL.
2014-02-11Add aliases for OES_vertex_array_objectFredrik Höglund1-0/+4
2014-02-11Add aliases for NV_instanced_arraysFredrik Höglund1-0/+3
2014-02-11Add aliases for ANGLE_instanced_arraysFredrik Höglund1-0/+3
2014-02-06Bump version to 1.1 for release.Eric Anholt1-1/+1
2014-02-06Add limited support for the KHRONOS_* defines from khrplatform.h.Eric Anholt1-0/+11
The only way these get used is when you choose to include epoxy/gl.h but EGL/egl.h. I'm not sure that's something I want to actually support, but piglit happened to do so, and this gets things working. There's not as much support here as in real khrplatform.h, but then there's no EGL for windows. And seriously, compilers support 64-bit and float types, why would you even build this complexity?
2014-02-06Fix a bad error message in an EGL test.Eric Anholt1-1/+1
2014-02-06Add missing '\n's to wgl test errors.Eric Anholt1-2/+2
Like some of the other missing '\n's, I'd originally used errx(), then just done a sed job to fprintf when I found that win32 lacked errx().
2014-02-06Fix some silly line-wrapping in a printf.Eric Anholt1-2/+1
2014-02-06Add a missing \n on an error message.Eric Anholt1-1/+1
2014-02-06Use the same typedefs as upstream khrplatform.h in a couple cases.Eric Anholt1-2/+2
This should avoid any differences we might end up with compared to system khrplatform.h.
2014-02-06Add a test that khrplatform.h (if present) agrees with us.Eric Anholt6-0/+195
2014-02-06Define the rest of the khrplatform.h types, and prevent its inclusion.Eric Anholt1-2/+14
One of the problems with krhplatform.h (besides it being a terrible idea in the first place) is that it's not present on many systems at all, including apple, win32, and linux before late 2009. So, unless we introduce the first ./configure dependency to the core library build, we really do need to define these standard types to their standard values. But if we allow khrplatform.h inclusion as well, we'll get long-vs-int redefinition warnings on 32-bit. So, we have to completely replicate the header, which is a thing we've done for everything else except for eglplatform.h. A testcase will be used to make sure that our types don't drift from the system khrplatform.h types, if it even exists. Fixes #17
2014-02-01Merge branch 'khronos-registry'Eric Anholt2-19/+42
2014-02-01Add missing dependency on libdl.Eric Anholt1-0/+1
Everything I'd linked against the library so far already had a libdl dependency (through libX11, for example), so I hadn't noticed.
2014-02-01List X11_LIBS after lib{egl,glx}_common.Matt Turner1-10/+10
Fixes linking with --as-needed.
2014-02-01Use LDADD instead of LDFLAGS/DEPENDENCIES.Matt Turner2-23/+17
This is a lot shorter to type, and still gets the dependencies to work (tested with touch src/dispatch_common.c; make check, and touch src/egl_common.c; make check).
2014-02-01Import registry from SVN 25146Eric Anholt2-19/+43
2014-01-31Fix a missing \n on printing out failure to dlsym().Eric Anholt1-1/+1
2014-01-31Enable compiler warnings in the tests.Eric Anholt1-0/+2
2014-01-31Fix compiler warnings in the tests.Eric Anholt5-16/+23
I didn't have CWARNFLAGS in the Makefile.am, so lots of things that would generate warnings had crept in.
2014-01-31Add a COPYING file describing the two licenses for the project code.Eric Anholt1-0/+50
Fixes #20
2014-01-31Fix using epoxy on systems with only EGL and GLES1 or GLES2.Eric Anholt4-5/+72
Fixes #19
2014-01-31Test for using GLES1/2 without GLX installed.Eric Anholt3-0/+132
2014-01-31Fix typo in gles2 dlsym setupEric Anholt1-1/+1
If you happened to do both GLES2 and GLES1 in a process, it meant that you'd try to look up v1 procs in the v2 API, and lose. Caught by piglit oes_fixed_point-attribute-arrays.
2014-01-30Add missing make dist of gen_dispatch.py.Eric Anholt1-0/+4
Fixes distcheck when built out of tree (not that I'm using make dist for distributing releases, currently).
2014-01-30Fix a typo in the Makefile.am.Eric Anholt1-3/+3
Fixes #15 (and make dist when built out of tree)
2014-01-30Declare a private dependency on libdl.Eric Anholt2-0/+4
The new linker requires that the consumers of a library link against the libraries that that library depends on, which is supported by Libs.private. Fixes #16
2014-01-28Do a trivial sort on the enums generated.Eric Anholt1-2/+10
Python was apparently randomizing the output of the hash iterator, preventing ccache after a make clean.
2014-01-22Add support for Mesa's GLES1 implementation.Eric Anholt2-2/+2
Mesa reports "OpenGL ES-CM 1.1", so we need to not look for a space after "ES", and 1.1 is still a 1.0-compatible implementation.
2014-01-22Make headerguards check for double-inclusion of our own headers.Eric Anholt1-0/+4
Since I was touching these bits, it was easy enough to make sure that our header guards work on our own headers.
2014-01-22Avoid polluting the compiler's namespace with our own stuff.Eric Anholt4-12/+12
We can't completely avoid it, since gl's headers use these defines for their header guards, and we really do need to stop the system GL headers from doing anything. Fixes #14
2014-01-22Fix the definition of ALL_ATTRIB_BITS.Eric Anholt1-1/+1
It's been 0x000fffff on Mesa since the initial import in 1999. It's the same value on my OS X 10.8 system, mingw's Windows-compatible gl.h, and a copy of the windows SDK gl.h I found laying around on the internet. Fixes piglit ARB_multisample/pushpop.
2014-01-20Merge branch 'registry'Eric Anholt3-392/+918
Conflicts: registry/egl.xml registry/gl.xml The only diff we now have from the source is glUnmapBufferOES()'s alias to normal glUnmapBuffer().
2014-01-20Import registry from SVN 24778.Eric Anholt3-394/+924
2013-12-27Add missing provider for eglCreateImageKHR.Eric Anholt1-0/+2
EGL_KHR_image_base defines these two functions, and so does EGL_KHR_image (which is bascically the union of EGL_KHR_image_base and EGL_KHR_image_pixmap).
2013-12-27Add missing aliases for OES_mapbuffer to desktop's buffer mapping.Eric Anholt1-0/+3
2013-12-17Include the README in the distributed tarball.Eric Anholt1-0/+1
2013-12-17Work around README.md rendering on github.Eric Anholt1-2/+2
It would sure be neat if any of the README previewers out there actually rendered things the same way github does.
2013-12-17win32: Convert the API to being based on function pointers, like Linux.Eric Anholt6-28/+38
For performance, I want to be able to make single-context (well, single-pixel-format-and-device) apps be able to directly call GL functions through function pointers. Bake that into the ABI now so I can get a release out the door and fix this up later. This also fixes the lack of __stdcall annotation on the PFNWHATEVERPROC typedefs.
2013-12-17win32: Expose the dispatch table reset funtion in the public API.Eric Anholt3-7/+28
Fixes #2.
2013-12-17win32: Reset all dispatch tables to re-resolve on any wglMakeCurrent.Eric Anholt4-9/+63
2013-12-17Drop the PLATFORM_HAS_EGL check in epoxy_egl_dlsym().Eric Anholt1-4/+0
If you accidentally call it on a non-egl platform, better to get an informative error message.