summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix return value of shading language for GLES2.glslesEric Anholt2020-04-202-10/+7
| | | | | | | Throughout the mesa project we've been using 100 for GLES2's shading language. It was pretty clearly the intent here, but the clever inline detection of "am I parsing a GLSL version or a GL version string" forgot about GLSL 1.0.x, and thus returned 10.
* Merge pull request #220 from crziter/masterEmmanuele Bassi2020-02-251-1/+1
|\ | | | | Add call convention to mock function
| * Add call convention to mock functioncrziter2020-02-251-1/+1
|/
* Merge pull request #215 from anholt/issue-214Emmanuele Bassi2020-01-141-3/+6
|\ | | | | Use EGL_NO_X11 to disable X11 headers
| * Use EGL_NO_X11 to disable X11 headersEmmanuele Bassi2020-01-141-3/+6
|/ | | | | | | MESA_EGL_NO_X11_HEADERS has been deprecated, and libglvnd only supports EGL_NO_X11. Fixes: #214
* Merge pull request #216 from anholt/gen-find-programEmmanuele Bassi2020-01-142-1/+2
|\ | | | | build: Use find_program()
| * ci: Unlink python2 on macOSEmmanuele Bassi2020-01-141-0/+1
| | | | | | | | Otherwise installing Python3 will break horribly.
| * build: Use find_program()gen-find-programEmmanuele Bassi2020-01-141-1/+1
|/ | | | | | Do not rely on the shebang line and the executable bit; we should use find_program(), instead, which lets Meson run a script in the appropriate environment, portably.
* Merge pull request #212 from anholt/no-autotoolsEmmanuele Bassi2019-11-2711-841/+1
|\ | | | | Remove the autotools build system.
| * Lower the minimum required version of MesonEmmanuele Bassi2019-11-261-1/+1
| | | | | | | | Makes it easier to build Epoxy on older operating systems.
| * Remove the autotools build system.Eric Anholt2019-11-2610-840/+0
|/ | | | Meson has been out for a long time, is faster, and is simpler.
* Merge pull request #213 from anholt/no-python2Emmanuele Bassi2019-11-265-9/+2
|\ | | | | Remove Python 2 support
| * Remove Python 2 supportEmmanuele Bassi2019-11-145-9/+2
| | | | | | | | | | Python 2 is going to reach EOL in January 2020, and most platforms have already moved to Python 3.
* | Post-release version bump to 1.5.5Emmanuele Bassi2019-11-251-1/+1
|/
* Merge pull request #211 from gurchetansingh/master1.5.4Eric Anholt2019-11-054-286/+2394
|\ | | | | Update OpenGL Registry
| * Merge branch 'khronos-registry' into HEADGurchetan Singh2019-09-234-286/+2394
| |\ |/ /
| * Update OpenGL/EGL registriesGurchetan Singh2019-09-234-1809/+6563
| | | | | | | | | | OpenGL: 253836ac53b2e248fa47d96cacc18a63ac27c703 EGL: a9bef577b041caab108257ea386d0302290d4361
* | Merge pull request #194 from centricular/meson-trivial-fixEmmanuele Bassi2019-09-091-1/+1
|\ \ | | | | | | meson: Don't build glx tests if x11 is disabled
| * | meson: Don't build glx tests if x11 is disabledNirbheek Chauhan2018-10-281-1/+1
| | | | | | | | | | | | Fixes build failure when x11 is not found or disabled.
* | | Merge pull request #210 from alanc/solarisEmmanuele Bassi2019-09-092-0/+8
|\ \ \ | | | | | | | | test: #define __EXTENSIONS__ on Solaris for strdup()
| * | | test: #define __EXTENSIONS__ on Solaris for strdup()Alan Coopersmith2019-09-082-0/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | Needed to allow functions outside the original XPG3 standard to be visible in the Solaris headers when _XOPEN_SOURCE is defined and not set to a particular value. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* | | Reuse the enum_strings in looking for extension providers.Eric Anholt2019-06-251-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Shaves another 14k off the binary: 1114236 56800 160 1171196 11defc providernames.so 1099948 56800 160 1156908 11a72c enumstrings.so Fixes #202
* | | Drop "GL extension" and "GLX extension" and such from the debug output.Eric Anholt2019-06-251-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | Saves 7k of text from the binary. You can already tell what kind of extension it is from the prefix on the extension name anyway. 1121212 56800 160 1178172 11fa3c master.so 1114236 56800 160 1171196 11defc providernames.so
* | | Make the provider enums have a PROVIDER_ prefixEric Anholt2019-06-251-1/+2
| | | | | | | | | | | | This will distinguish them from the exposed extension presence
* | | Merge pull request #195 from anholt/version-unit-testEmmanuele Bassi2019-04-113-0/+96
|\ \ \ | |/ / |/| | test: Add unit tests for epoxy_gl_version() and epoxy_glsl_version().
| * | test: Add unit tests for epoxy_gl_version() and epoxy_glsl_version().version-unit-testEric Anholt2018-11-013-0/+96
|/ / | | | | | | | | | | Based on a bug report I got on IRC. v2: Drop glx includes, add to automake.
* | ci: Update the Meson version for AppVeyorEmmanuele Bassi2018-10-051-6/+6
| |
* | Post-release version bump to 1.5.4Emmanuele Bassi2018-10-052-2/+2
| |
* | Merge pull request #193 from anholt/issue-1881.5.3Emmanuele Bassi2018-10-051-0/+2
|\ \ | | | | | | Ensure Autotools enables EGL-X11 support
| * | Ensure Autotools enables EGL-X11 supportissue-188Emmanuele Bassi2018-10-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The X11 support in the Autotools build is missing the definition of the ENABLE_X11 pre-processor symbol. Without it, we're missing the X11 platform definitions for EGL. Fixes #188
* | | Merge pull request #192 from anholt/meson-bumpEmmanuele Bassi2018-10-042-6/+2
|\ \ \ | | | | | | | | Require a newer version of Meson
| * | | build: Drop conditional use of get_supported_link_arguments()meson-bumpEmmanuele Bassi2018-10-041-5/+1
| | | | | | | | | | | | | | | | Meson complains even in the face of a version check.
| * | | Update minimum Meson versionEmmanuele Bassi2018-10-041-1/+1
| |/ / | | | | | | | | | | | | We're using functionality introduced after 0.44, so we might as well update to a more recent version of Meson.
* | | Merge pull request #189 from jbicha/gitignore-patchEmmanuele Bassi2018-10-041-1/+0
|\ \ \ | |/ / |/| | gitignore: Don't ignore .patch files
| * | gitignore: Don't ignore .patch filesJeremy Bicha2018-09-181-1/+0
|/ / | | | | | | | | This makes things a bit awkward for distros that keep their packaging in git and use patch files
* | Merge pull request #184 from quink-black/devEmmanuele Bassi2018-07-251-2/+2
|\ \ | | | | | | | | | | | | dispatch_common: fix conditional compilation Symbols are always defined, but they are set to 0 or 1; this means we can't use `ifdef`.
| * | dispatch_common: fix conditional compilationZhao Zhili2018-07-161-2/+2
|/ /
* | dispatch: Fix GLES3 symbol lookupAdam Jackson2018-07-061-1/+1
| | | | | | | | | | Looking for a symbol named "libGLESv2.so.2" is probably not going to work very well.
* | Merge pull request #182 from anholt/issue-181Emmanuele Bassi2018-06-182-0/+2
|\ \ | | | | | | Define _GNU_SOURCE for strdup()
| * | Define _GNU_SOURCE for strdup()issue-181Emmanuele Bassi2018-06-182-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The strdup() function is available on uClibc if _XOPEN_SOURCE_EXTENDED is defined; since we're using _GNU_SOURCE elsewhere to enable extended libc features, and uClibc will set _XOPEN_SOURCE_EXTENDED if _GNU_SOURCE is set, let's use that. Closes #181
* | | Add a CGL test for the Epoxy APIEmmanuele Bassi2018-06-042-0/+84
| | | | | | | | | | | | Just like the one we use for EGL.
* | | Add a CoreGraphics OpenGL test for macOSEmmanuele Bassi2018-06-042-0/+77
| | | | | | | | | | | | | | | A basic test, to check that we're actually capable of working on macOS without GLX enabled.
* | | ci: Dump the test log on failureEmmanuele Bassi2018-06-043-10/+28
| | | | | | | | | | | | | | | We need to see what failed, as Meson's test harness will just show the result.
* | | Merge pull request #178 from ebassi/osx-ciEmmanuele Bassi2018-05-305-19/+61
|\ \ \ | |/ / |/| | Fix build of Epoxy on macOS
| * | ci: Enable builds on macOSEmmanuele Bassi2018-05-293-5/+42
| | | | | | | | | | | | | | | Use Travis's macOS builder to check if Epoxy is building on that platform.
| * | Use the appropriate symbols on __APPLE__Emmanuele Bassi2018-05-291-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building on macOS we don't have access to EGL, and GLX support is conditional. We should ensure we're using the appropriate paths depending on the platform, and protect our use of macros to avoid undefined symbols. Closes: #176
| * | Disable EGL on macOSEmmanuele Bassi2018-05-291-1/+1
|/ / | | | | | | EGL is not available on macOS, except through Objective C.
* | Post-release version bump to 1.5.3Emmanuele Bassi2018-05-192-2/+2
| |
* | dispatch: Try harder to avoid calling the resolver1.5.2Adam Jackson2018-05-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Our caller may load (eg) epoxy_glAlphaFunc, which is a function pointer, and then call through that value multiple times. Until the caller re-examines the value of that function pointer, which is a copy relocation in the executable, repeated calls mean repeated work resolving the GL function. We can't make the caller reinspect the variable, but the resolver function can avoid doing redundant work. Fixes: anholt/libepoxy#171 Signed-off-by: Adam Jackson <ajax@redhat.com>
* | Use -Bsymbolic-functions instead of -BsymbolicEmmanuele Bassi2018-05-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Epoxy updates the function pointers in order to avoid calling the resolver multiple times, but with -Bsymbolic we're going to update the copy inside libepoxy, instead of the relocated copy in the code using libepoxy. This leads to libepoxy constantly querying the function resolver code instead of just once. We still want to avoid intra-library relocations for our functions, but we need to live with them for our global function pointers. See issue #171