279 Commits
Author SHA1 Message Date
Emmanuele Bassi 779e8b8013 Merge pull request #101 from kapouer/debian-pr
Synchronize with debian package
2017-02-06 18:02:18 +00:00
Jérémy Lal 0dda30d7d9 Update changelog for next release 2017-02-06 18:57:32 +01:00
Jérémy Lal e903a30147 Copyright: factor Expat license 2017-01-30 15:00:16 +01:00
Jérémy Lal 1ea1a41542 Section: debian-installer for udeb 2017-01-30 15:00:16 +01:00
Jérémy Lal 94cea5812b Executable bit on rules 2017-01-30 15:00:16 +01:00
Jérémy Lal 909780b9ed Build libepoxy0-udeb so libgtk-3-0-udeb can depend on it. Closes: #788711 2017-01-30 15:00:16 +01:00
Jérémy Lal 77c3694dac B-D python:native for cross-build. Closes: #842711.
Thanks to Helmut Grohne <[email protected]>
2017-01-30 15:00:16 +01:00
Jérémy Lal 977867f4c8 Set myself as maintainer, after discussion with Eric 2017-01-30 15:00:16 +01:00
Jérémy Lal 793859a4b6 Standards-Version 3.9.8 2017-01-30 15:00:16 +01:00
Eric Anholt 11ee0f22ab Update build for 1.3.1. 2015-07-15 17:20:20 -07:00
Eric Anholt 5139330ed1 Update the package to be multi-arch: same. 2015-07-15 17:20:14 -07:00
Eric Anholt e70bbf57d0 Fix up a Files line in the copyright (caught by lintian) 2015-07-15 17:10:09 -07:00
Eric Anholt 8d806f4267 Update exported symbols list.
The two dropped "conservative" symbols were internal symbols for the
dispatch code that were erroneously exported.  No user should have
noticed them, because they didn't have prototypes in the headers.
2015-07-15 17:10:09 -07:00
Eric Anholt 70af64edf0 Merge tag 'upstream/1.3.1' into debian
Upstream version 1.3.1
2015-07-15 16:52:37 -07:00
Eric Anholt b06552c4dc Imported Upstream version 1.3.1 2015-07-15 16:52:35 -07:00
Eric Anholt e2c33af5bf Bump to version 1.3.1 for release.
A small bug was noticed during debian packaging.
v1.3.1
2015-07-15 16:46:36 -07:00
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).
2015-07-15 16:44:44 -07:00
Eric Anholt 0f515b3771 Merge tag 'upstream/1.3' into debian
Upstream version 1.3
2015-07-15 16:16:12 -07:00
Eric Anholt b73be3c588 Imported Upstream version 1.3 2015-07-15 16:16:10 -07:00
Eric Anholt 118565cd8e Bump version to 1.3 for release. v1.3 2015-07-15 16:15:19 -07:00
Eric Anholt 585c703699 Add some missing spacing in generated code. 2015-07-15 16:09:06 -07:00
Eric Anholt b2c00a18af Use a concatenated string for enum descriptions.
Saves another 15kb of compiled code.
2015-07-15 16:09:06 -07:00
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.
2015-07-15 14:47:39 -07:00
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.
2015-07-15 14:27:48 -07:00
Eric Anholt 8154c0efd3 Merge branch 'khronos-registry'
This brings in support for non-error context extensions.
2015-07-15 14:08:43 -07:00
Eric Anholt 5987e1ef1a Import registry from SVN 31705 2015-07-15 14:08:34 -07:00
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.
2015-07-15 14:07:06 -07:00
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.
2015-07-15 13:52:56 -07:00
Eric Anholt 8ce3e5f14f Update README for the dropping of X11 on OSX.
Fixes #39
2015-07-15 13:42:43 -07:00
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 <[email protected]>
2015-06-17 22:38:50 -07:00
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.
2015-06-05 17:51:39 -07:00
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.
2015-06-05 17:51:08 -07:00
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.
2015-06-05 17:51:08 -07:00
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.
2015-06-05 17:51:08 -07:00
Chun-wei Fan 95ecc2d1a1 Port the library_init() constructor to MSVC. 2015-06-05 17:51:07 -07:00
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.
2015-06-05 17:50:45 -07:00
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)
2015-06-05 17:22:58 -07:00
Eric Anholt b9fbcaf0e2 Merge remote-tracking branch 'airlied/master' 2015-06-05 16:58:26 -07:00
Eric Anholt 6411628392 Merge pull request #42 from cicku/patch-1
Update the homepage URL
2015-06-05 16:52:45 -07:00
Dave Airlie eeda3a5a6d Merge branch 'khronos-registry' 2015-05-05 16:03:00 +10:00
Dave Airlie 85e5100d67 Import registry from SVN 31039 2015-05-05 16:02:01 +10:00
Christopher Meng b7e921da13 Update the homepage URL 2015-03-04 10:37:02 +08:00
Eric Anholt 20062c25e7 Merge branch 'khronos-registry' 2015-01-10 11:59:51 +13:00
Eric Anholt e9ce388f74 Import registry from SVN 29350 2015-01-10 11:59:42 +13:00
Eric Anholt 135f7bf104 wgl: Fix an extra break statement.
This would have leaked our TLS indices on process exit.

Fixes #32
2015-01-10 11:18:50 +13:00
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.
2015-01-10 10:30:16 +13:00
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.
2014-06-13 15:57:11 -07:00
Eric Anholt 0096b79923 Fix context type detection if we find eglGetCurrentContext().
Fixes #29.
2014-06-13 15:00:31 -07:00
Eric Anholt d56f21c494 Use the EGL pkgconfig for finding eglplatform.h.
We don't ever explicity link against libEGL, so no need to make use of
EGL_LIBS.

Fixes #30.
2014-06-13 14:59:37 -07:00
Eric Anholt 27298ee31b tests: Fix the passing of the "-z now" arg to the linker.
These LDFLAGS go to the compiler, and getting the arg to the linker
requires -Wl or -Xlinker.  gcc apparently was passing this through
anyway, while clang was getting angry.
2014-06-13 14:44:54 -07:00