| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
meson: Fix for building on non-English locale
|
| |
| |
| |
| | |
Specify utf-8 encoding to fix building on non-English locale
|
|\ \
| | |
| | | |
Fix build if EGL/X11 headers are in a custom prefix
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Libepoxy currently depends on all headers living under the same prefix.
This is not necessarily true: X11 headers can live in a separate prefix,
for instance under /opt/X11. This is also the case when cross-compiling to
a platform that sets up the build environment in non-standard ways.
We could add `x11_dep` and `egl_dep` to the libepoxy target dependencies,
but that could potentially add spurious linker flags and cause libepoxy to
depend on libraries it will dlopen() during normal operations.
To avoid that case, we use a partial_dep() object from Meson, and we limit
the dependency to compiler flags and inclusion paths.
|
|\ \
| |/
|/| |
fix error: use of undeclared identifier 'OPENGL_LIB'
|
|/
|
|
|
| |
at epoxy/src/dispatch_common.c:690 in LibreOffice android build with
libepoxy-1.5.9
|
| |
|
|\
| |
| | |
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 <emil.velikov@collabora.com>
|
| |
|
|\
| |
| | |
Revert OpenGL/GLX loading changes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit dbfa4b20 has introduced a string of regressions in the X server
and KWin.
This reverts commit dbfa4b209c0712b67dfeb8366c2ebe8503063b52.
See: #252
|
|/
|
|
|
|
| |
loaded already"
This reverts commit 4994c48172e94ca81c000597e0abc0ea0e682b3c.
|
| |
|
|\
| |
| | |
Remove redeclaration of khronos_uintptr_t
|
|/
|
|
|
|
|
| |
The type is being redeclared because I didn't see the original
declaration when I wrote 144cbc9325250081f2eb584ca5deb13aaf1c2433.
Fixes: #249
|
| |
|
|\
| |
| | |
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
|
|\ \
| | |
| | | |
gen_dispatch.py: close output files
|
|/ /
| |
| |
| | |
Fixes https://github.com/anholt/libepoxy/issues/242
|
|\ \
| | |
| | | |
Fix some bugs in loading OpenGL/GLX/EGL libraries
|
| | |
| | |
| | |
| | |
| | |
| | | |
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
|/| | |
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().
|
|\ \
| | |
| | | |
ci: Split Linux and macOS pipelines
|
| | | |
|
| | |
| | |
| | |
| | | |
Use the badges from GitHub Actions.
|
|/ /
| |
| |
| | |
Don't use a single pipeline for everything.
|
|\ \
| | |
| | | |
Move CI to GitHub
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
We have MSYS2 and MSVC pipelines on GitHub Actions.
|
| | |
| | |
| | |
| | | |
The GitHub Actions pipeline replaces Travis in any way it matters.
|
| | |
| | |
| | |
| | | |
Do not share them with the Travis pipelines.
|
| | | |
|
|/ / |
|
|/ |
|
|\
| |
| | |
GitHub CI
|
| | |
|
|\ \
| |/
|/| |
Use the 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.
|
|/ |
|
|\
| |
| | |
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.
|
|\
| |
| | |
Add call convention to mock function
|
|/ |
|
|\
| |
| | |
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
|
|\
| |
| | |
build: Use find_program()
|