585 Commits
Author SHA1 Message Date
osy bf98587477 Add GL ANGLE extensions header 2026-03-26 14:50:44 -07:00
osy 56b6e72575 Add EGL ANGLE extensions header 2026-03-26 14:50:44 -07:00
osy 266d2290a4 Use library paths for UTM 2021-08-02 13:23:36 -07:00
Akihiko Odaki d07148c748 Support ANGLE on macOS 2021-08-02 13:23:35 -07:00
Emmanuele Bassi ecfa8e0f08 Merge pull request #257 from batesj/allow_libopengl
Allow libopengl.so to be used when GLX_LIB is missing
2021-07-12 16:53:46 +01:00
John Bates 7975061f6b Allow libopengl.so to be used when GLX_LIB is missing
This maintains compatibility with previous behavior of
always using GLX_LIB if it is found. The only change is
when there is no GLX_LIB.

Previous behavior when no GLX_LIB:
- abort.

New behavior when no GLX_LIB:
- Try to load libOpenGL.so as gl_handle (glx_handle remains NULL).
- Else, abort.

Reviewed-by: Emil Velikov <[email protected]>
2021-07-02 11:57:17 -07:00
Emmanuele Bassi ad723a7a75 Post-release version bump to 1.5.9 2021-05-21 16:56:51 +01:00
Emmanuele Bassi 2a1665c632 Merge pull request #254 from anholt/issue-252
Revert OpenGL/GLX loading changes
1.5.8
2021-05-21 16:51:50 +01:00
Emmanuele Bassi 622ca393c3 Revert "If glvnd library found, do not use libGL.so in epoxy_load_gl"
Commit dbfa4b20 has introduced a string of regressions in the X server
and KWin.

This reverts commit dbfa4b209c.

See: #252
2021-05-21 15:35:41 +01:00
Emmanuele Bassi c2148eb019 Revert "Do not overwrite glx_handle in epoxy_load_gl if GLX library is loaded already"
This reverts commit 4994c48172.
2021-05-21 15:35:35 +01:00
Emmanuele Bassi 0dd0e0a272 Post-release version bump to 1.5.8 2021-04-30 13:17:59 +01:00
Emmanuele Bassi f9e76359cf Merge pull request #250 from anholt/ebassi/issues-249
Remove redeclaration of khronos_uintptr_t
1.5.7
2021-04-30 12:56:41 +01:00
Emmanuele Bassi 1403303e77 Remove redeclaration of khronos_uintptr_t
The type is being redeclared because I didn't see the original
declaration when I wrote 144cbc9325.

Fixes: #249
2021-04-30 12:15:25 +01:00
Emmanuele Bassi e271edbc3b Post-release version bump to 1.5.7 2021-04-30 10:45:15 +01:00
Emmanuele Bassi 0a304d1a25 Merge pull request #247 from anholt/win64-khr-types
Support Win64 pointer-sized types
1.5.6
2021-04-19 15:46:30 +01:00
Emmanuele Bassi 54f645b077 Merge pull request #243 from amezin/master
gen_dispatch.py: close output files
2021-03-31 11:16:51 +01:00
Emmanuele Bassi 144cbc9325 Support Win64 pointer-sized types
Since we're generating stub types from khrplatform.h because we can't
include it reliably, we'll have to deal with some of the fallout of the
Win64 types.

Fixes: #246
2021-03-21 19:02:58 +00:00
Aleksandr d0b319e27b gen_dispatch.py: close output files
Fixes https://github.com/anholt/libepoxy/issues/242
2021-03-06 09:11:44 +06:00
Emmanuele Bassi de08cf3479 Merge pull request #238 from anholt/pull-229-alt
Fix some bugs in loading OpenGL/GLX/EGL libraries
2021-01-20 15:18:00 +00:00
Emmanuele Bassi 7ec320d1db Merge pull request #231 from xclaesse/meson-vars
meson: Set same variables in declare_dependency() as in pkgconfig
2021-01-20 13:27:36 +00:00
Xavier Claessens 950b9f5b25 meson: Set same variables in declare_dependency() as in pkgconfig
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().
2021-01-20 08:09:14 -05:00
Yaroslav Isakov 4994c48172 Do not overwrite glx_handle in epoxy_load_gl if GLX library is loaded already
Reviewed-by: Adam Jackson <[email protected]>

Signed-off-by: Emmanuele Bassi <[email protected]>
2021-01-20 12:23:43 +00:00
Yaroslav Isakov dbfa4b209c If glvnd library found, do not use libGL.so in epoxy_load_gl
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 <[email protected]>

Signed-off-by: Emmanuele Bassi <[email protected]>
2021-01-20 12:18:57 +00:00
Emmanuele Bassi c797320424 Merge pull request #236 from anholt/ebassi/ci-split
ci: Split Linux and macOS pipelines
2020-12-23 19:58:50 +00:00
Emmanuele Bassi 1878042c03 Add a badge for the project license 2020-12-23 19:48:37 +00:00
Emmanuele Bassi c37b42432b Update the CI status badges
Use the badges from GitHub Actions.
2020-12-23 19:47:42 +00:00
Emmanuele Bassi 642330e86f ci: Split Linux and macOS pipelines
Don't use a single pipeline for everything.
2020-12-23 19:43:58 +00:00
Emmanuele Bassi 03b9b4692c Merge pull request #235 from anholt/github-ci
Move CI to GitHub
2020-12-23 19:21:29 +00:00
Emmanuele Bassi 4c686ff5e3 ci: Drop tests from MSYS2 pipeline
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.
2020-12-23 14:06:12 +00:00
Emmanuele Bassi 3e35bb8688 ci: Remove AppVeyor pipeline
We have MSYS2 and MSVC pipelines on GitHub Actions.
2020-12-23 13:17:44 +00:00
Emmanuele Bassi 599847dfd6 ci: Remove Travis
The GitHub Actions pipeline replaces Travis in any way it matters.
2020-12-23 13:17:06 +00:00
Emmanuele Bassi 14ab6c6bb8 ci: Use scripts for GitHub Actions
Do not share them with the Travis pipelines.
2020-12-23 13:11:20 +00:00
Emmanuele Bassi c4520d0a72 ci: Add MSVC workflow on GitHub Actions 2020-12-23 13:08:10 +00:00
Emmanuele Bassi 4822fc167d ci: Add MSYS2 workflow on GitHub Actions 2020-12-23 13:07:19 +00:00
Emmanuele Bassi ef4dbfa740 Post-release version bump to 1.5.6 2020-12-22 14:49:08 +00:00
Emmanuele Bassi 34ecb908b0 Merge pull request #228 from eyelash/github-ci
GitHub CI
1.5.5
2020-07-22 00:48:22 +01:00
Emmanuele Bassi 23f4049183 Merge pull request #225 from anholt/darwin_versions
Use the darwin_versions argument
2020-07-22 00:31:18 +01:00
Elias Aebi 1a2784a9c5 GitHub CI 2020-07-21 23:42:03 +02:00
Emmanuele Bassi f91fb0a0b6 Use Meson's darwin_versions argument
Instead of tweaking the linker flags ourselves. This allows Meson to do
the right thing, and pass the arguments only where needed.
2020-07-21 19:37:51 +01:00
Emmanuele Bassi d9dd5e7fd9 Require Meson >= 0.48 2020-07-21 19:37:51 +01:00
Emmanuele Bassi a191887406 Merge pull request #223 from anholt/glsles
Fix return value of shading language for GLES2.
2020-04-21 01:19:29 +01:00
Eric Anholt 1e0b063dbd Fix return value of shading language for GLES2.
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.
2020-04-20 13:01:08 -07:00
Emmanuele Bassi 4e26d4dcfa Merge pull request #220 from crziter/master
Add call convention to mock function
2020-02-25 17:42:14 +00:00
crziter 81d758d025 Add call convention to mock function 2020-02-25 11:33:56 +07:00
Emmanuele Bassi dcb0f31ce4 Merge pull request #215 from anholt/issue-214
Use EGL_NO_X11 to disable X11 headers
2020-01-14 11:56:57 +00:00
Emmanuele Bassi 6b09a8bc48 Use EGL_NO_X11 to disable X11 headers
MESA_EGL_NO_X11_HEADERS has been deprecated, and libglvnd only supports
EGL_NO_X11.

Fixes: #214
2020-01-14 11:37:58 +00:00
Emmanuele Bassi 68371fb802 Merge pull request #216 from anholt/gen-find-program
build: Use find_program()
2020-01-14 11:37:11 +00:00
Emmanuele Bassi 1c65093416 ci: Unlink python2 on macOS
Otherwise installing Python3 will break horribly.
2020-01-14 11:17:51 +00:00
Emmanuele Bassi 01ebe27a82 build: Use find_program()
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.
2020-01-14 11:09:45 +00:00
Emmanuele Bassi 5d818164dd Merge pull request #212 from anholt/no-autotools
Remove the autotools build system.
2019-11-27 12:23:36 +00:00