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.
4 years ago
Emmanuele Bassi
d9dd5e7fd9
Require Meson >= 0.48
4 years ago
Emmanuele Bassi
a191887406
Merge pull request #223 from anholt/glsles
...
Fix return value of shading language for GLES2.
5 years ago
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.
5 years ago
Emmanuele Bassi
4e26d4dcfa
Merge pull request #220 from crziter/master
...
Add call convention to mock function
5 years ago
crziter
81d758d025
Add call convention to mock function
5 years ago
Emmanuele Bassi
dcb0f31ce4
Merge pull request #215 from anholt/issue-214
...
Use EGL_NO_X11 to disable X11 headers
5 years ago
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
5 years ago
Emmanuele Bassi
68371fb802
Merge pull request #216 from anholt/gen-find-program
...
build: Use find_program()
5 years ago
Emmanuele Bassi
1c65093416
ci: Unlink python2 on macOS
...
Otherwise installing Python3 will break horribly.
5 years ago
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.
5 years ago
Emmanuele Bassi
5d818164dd
Merge pull request #212 from anholt/no-autotools
...
Remove the autotools build system.
5 years ago
Emmanuele Bassi
5c0dff6090
Lower the minimum required version of Meson
...
Makes it easier to build Epoxy on older operating systems.
5 years ago
Eric Anholt
3ff32faa18
Remove the autotools build system.
...
Meson has been out for a long time, is faster, and is simpler.
5 years ago
Emmanuele Bassi
d43eae8714
Merge pull request #213 from anholt/no-python2
...
Remove Python 2 support
5 years ago
Emmanuele Bassi
9b50dc4d84
Post-release version bump to 1.5.5
5 years ago
Emmanuele Bassi
7baa918b3f
Remove Python 2 support
...
Python 2 is going to reach EOL in January 2020, and most platforms have
already moved to Python 3.
5 years ago
Eric Anholt
09edbe01d9
Merge pull request #211 from gurchetansingh/master
...
Update OpenGL Registry
5 years ago
Gurchetan Singh
46e1e46d26
Merge branch 'khronos-registry' into HEAD
5 years ago
Gurchetan Singh
5a281aeaa5
Update OpenGL/EGL registries
...
OpenGL: 253836ac53b2e248fa47d96cacc18a63ac27c703
EGL: a9bef577b041caab108257ea386d0302290d4361
5 years ago
Emmanuele Bassi
af38a466ca
Merge pull request #194 from centricular/meson-trivial-fix
...
meson: Don't build glx tests if x11 is disabled
5 years ago
Emmanuele Bassi
7888347610
Merge pull request #210 from alanc/solaris
...
test: #define __EXTENSIONS__ on Solaris for strdup()
5 years ago
Alan Coopersmith
603fcbc4a4
test: #define __EXTENSIONS__ on Solaris for strdup()
...
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>
5 years ago
Eric Anholt
8573dbcee3
Reuse the enum_strings in looking for extension providers.
...
Shaves another 14k off the binary:
1114236 56800 160 1171196 11defc providernames.so
1099948 56800 160 1156908 11a72c enumstrings.so
Fixes #202
6 years ago
Eric Anholt
4b4cd1d768
Drop "GL extension" and "GLX extension" and such from the debug output.
...
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
6 years ago
Eric Anholt
7ce1896dcc
Make the provider enums have a PROVIDER_ prefix
...
This will distinguish them from the exposed extension presence
6 years ago
Emmanuele Bassi
d536f78db8
Merge pull request #195 from anholt/version-unit-test
...
test: Add unit tests for epoxy_gl_version() and epoxy_glsl_version().
6 years ago
Eric Anholt
e94a0816d7
test: Add unit tests for epoxy_gl_version() and epoxy_glsl_version().
...
Based on a bug report I got on IRC.
v2: Drop glx includes, add to automake.
6 years ago
Nirbheek Chauhan
59a689a8b0
meson: Don't build glx tests if x11 is disabled
...
Fixes build failure when x11 is not found or disabled.
6 years ago
Emmanuele Bassi
a7439f9732
ci: Update the Meson version for AppVeyor
6 years ago
Emmanuele Bassi
545b911d01
Post-release version bump to 1.5.4
6 years ago
Emmanuele Bassi
16b1481e00
Merge pull request #193 from anholt/issue-188
...
Ensure Autotools enables EGL-X11 support
6 years ago
Emmanuele Bassi
a5c019ee1b
Ensure Autotools enables EGL-X11 support
...
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
6 years ago
Emmanuele Bassi
439e8b7867
Merge pull request #192 from anholt/meson-bump
...
Require a newer version of Meson
6 years ago
Emmanuele Bassi
f69fa3a3d4
Merge pull request #189 from jbicha/gitignore-patch
...
gitignore: Don't ignore .patch files
6 years ago
Emmanuele Bassi
bf531d1042
build: Drop conditional use of get_supported_link_arguments()
...
Meson complains even in the face of a version check.
6 years ago
Emmanuele Bassi
7a88ef5741
Update minimum Meson version
...
We're using functionality introduced after 0.44, so we might as well
update to a more recent version of Meson.
6 years ago
Jeremy Bicha
9304c4a9c1
gitignore: Don't ignore .patch files
...
This makes things a bit awkward for distros that
keep their packaging in git and use patch files
6 years ago
Emmanuele Bassi
e97162bad5
Merge pull request #184 from quink-black/dev
...
dispatch_common: fix conditional compilation
Symbols are always defined, but they are set to 0 or 1; this means we can't use `ifdef`.
7 years ago
Zhao Zhili
119f06f823
dispatch_common: fix conditional compilation
7 years ago
Adam Jackson
2edc497374
dispatch: Fix GLES3 symbol lookup
...
Looking for a symbol named "libGLESv2.so.2" is probably not going to
work very well.
7 years ago
Emmanuele Bassi
49bec45b28
Merge pull request #182 from anholt/issue-181
...
Define _GNU_SOURCE for strdup()
7 years ago
Emmanuele Bassi
7f38b12881
Define _GNU_SOURCE for strdup()
...
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
7 years ago
Emmanuele Bassi
b3f67d47bd
Add a CGL test for the Epoxy API
...
Just like the one we use for EGL.
7 years ago
Emmanuele Bassi
7e4b490ce7
Add a CoreGraphics OpenGL test for macOS
...
A basic test, to check that we're actually capable of working on macOS
without GLX enabled.
7 years ago
Emmanuele Bassi
dadf83df00
ci: Dump the test log on failure
...
We need to see what failed, as Meson's test harness will just show the
result.
7 years ago
Emmanuele Bassi
3824efc25c
Merge pull request #178 from ebassi/osx-ci
...
Fix build of Epoxy on macOS
7 years ago
Emmanuele Bassi
02a5e55f21
ci: Enable builds on macOS
...
Use Travis's macOS builder to check if Epoxy is building on that
platform.
7 years ago
Emmanuele Bassi
8c3d371187
Use the appropriate symbols on __APPLE__
...
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
7 years ago
Emmanuele Bassi
350a98a308
Disable EGL on macOS
...
EGL is not available on macOS, except through Objective C.
7 years ago