summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build: Check for included system headersebassi/header-checkEmmanuele Bassi2021-04-191-35/+57
| | | | | | | | | | | The generated dispatch headers for EGL and GLX include system headers. We do a pkg-config check for those, but the dependency is not required, in order to support builds on systems that do not use pkg-config. If the dependency is not found, we need to check for the headers we include, otherwise building Epoxy will fail. If the support for EGL or GLX was explicitly enabled, fail the configuration step; otherwise, disable the EGL or GLX support.
* Merge pull request #243 from amezin/masterEmmanuele Bassi2021-03-311-0/+10
|\ | | | | gen_dispatch.py: close output files
| * gen_dispatch.py: close output filesAleksandr2021-03-061-0/+10
|/ | | | Fixes https://github.com/anholt/libepoxy/issues/242
* Merge pull request #238 from anholt/pull-229-altEmmanuele Bassi2021-01-201-3/+7
|\ | | | | Fix some bugs in loading OpenGL/GLX/EGL libraries
| * Do not overwrite glx_handle in epoxy_load_gl if GLX library is loaded alreadypull-229-altYaroslav Isakov2021-01-201-1/+2
| | | | | | | | | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
| * If glvnd library found, do not use libGL.so in epoxy_load_glYaroslav Isakov2021-01-201-3/+6
| | | | | | | | | | | | | | | | | | | | Without additional check, even if libOpenGL was loaded, libGL.so will be loaded as well, and used both in gl_handle and glx_handle, so libglvnd libraries will not be used. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* | Merge pull request #231 from xclaesse/meson-varsEmmanuele Bassi2021-01-202-5/+10
|\ \ | |/ |/| meson: Set same variables in declare_dependency() as in pkgconfig
| * meson: Set same variables in declare_dependency() as in pkgconfigXavier Claessens2021-01-202-5/+10
|/ | | | | | | | | GTK currently fails to detect if epoxy has been built with EGL on Windows when epoxy is a subproject. To fix that it needs to get that information from the dependency variables. This requires Meson >=0.54.0 for setting variables in declare_dependency().
* Merge pull request #236 from anholt/ebassi/ci-splitEmmanuele Bassi2020-12-233-15/+34
|\ | | | | ci: Split Linux and macOS pipelines
| * Add a badge for the project licenseEmmanuele Bassi2020-12-231-0/+1
| |
| * Update the CI status badgesEmmanuele Bassi2020-12-231-2/+4
| | | | | | | | Use the badges from GitHub Actions.
| * ci: Split Linux and macOS pipelinesEmmanuele Bassi2020-12-232-13/+29
|/ | | | Don't use a single pipeline for everything.
* Merge pull request #235 from anholt/github-ciEmmanuele Bassi2020-12-239-165/+52
|\ | | | | Move CI to GitHub
| * ci: Drop tests from MSYS2 pipelinegithub-ciEmmanuele Bassi2020-12-231-1/+0
| | | | | | | | | | The WGL tests are failing, likely because of some set up issue; for the time being, we care more about building Epoxy, rather than testing it.
| * ci: Remove AppVeyor pipelineEmmanuele Bassi2020-12-231-67/+0
| | | | | | | | We have MSYS2 and MSVC pipelines on GitHub Actions.
| * ci: Remove TravisEmmanuele Bassi2020-12-235-155/+0
| | | | | | | | The GitHub Actions pipeline replaces Travis in any way it matters.
| * ci: Use scripts for GitHub ActionsEmmanuele Bassi2020-12-233-2/+61
| | | | | | | | Do not share them with the Travis pipelines.
| * ci: Add MSVC workflow on GitHub ActionsEmmanuele Bassi2020-12-231-0/+23
| |
| * ci: Add MSYS2 workflow on GitHub ActionsEmmanuele Bassi2020-12-231-0/+28
|/
* Post-release version bump to 1.5.6Emmanuele Bassi2020-12-221-1/+1
|
* Merge pull request #228 from eyelash/github-ci1.5.5Emmanuele Bassi2020-07-221-0/+48
|\ | | | | GitHub CI
| * GitHub CIElias Aebi2020-07-211-0/+48
| |
* | Merge pull request #225 from anholt/darwin_versionsEmmanuele Bassi2020-07-222-4/+3
|\ \ | |/ |/| Use the darwin_versions argument
| * Use Meson's darwin_versions argumentdarwin_versionsEmmanuele Bassi2020-07-211-3/+2
| | | | | | | | | | Instead of tweaking the linker flags ourselves. This allows Meson to do the right thing, and pass the arguments only where needed.
| * Require Meson >= 0.48Emmanuele Bassi2020-07-211-1/+1
|/
* Merge pull request #223 from anholt/glslesEmmanuele Bassi2020-04-212-10/+7
|\ | | | | Fix return value of shading language for GLES2.
| * 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