| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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()
|
| |
| |
| |
| | |
Otherwise installing Python3 will break horribly.
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Remove the autotools build system.
|
| |
| |
| |
| | |
Makes it easier to build Epoxy on older operating systems.
|
|/
|
|
| |
Meson has been out for a long time, is faster, and is simpler.
|
|\
| |
| | |
Remove Python 2 support
|
| |
| |
| |
| |
| | |
Python 2 is going to reach EOL in January 2020, and most platforms have
already moved to Python 3.
|
|/ |
|
|\
| |
| | |
Update OpenGL Registry
|
| |\
|/ / |
|
| |
| |
| |
| |
| | |
OpenGL: 253836ac53b2e248fa47d96cacc18a63ac27c703
EGL: a9bef577b041caab108257ea386d0302290d4361
|
|\ \
| | |
| | | |
meson: Don't build glx tests if x11 is disabled
|
| | |
| | |
| | |
| | | |
Fixes build failure when x11 is not found or disabled.
|
|\ \ \
| | | |
| | | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Shaves another 14k off the binary:
1114236 56800 160 1171196 11defc providernames.so
1099948 56800 160 1156908 11a72c enumstrings.so
Fixes #202
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
This will distinguish them from the exposed extension presence
|
|\ \ \
| |/ /
|/| | |
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.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
Require a newer version of Meson
|
| | | |
| | | |
| | | |
| | | | |
Meson complains even in the face of a version check.
|
| |/ /
| | |
| | |
| | |
| | | |
We're using functionality introduced after 0.44, so we might as well
update to a more recent version of Meson.
|
|\ \ \
| |/ /
|/| | |
gitignore: Don't ignore .patch files
|
|/ /
| |
| |
| |
| | |
This makes things a bit awkward for distros that
keep their packaging in git and use patch files
|
|\ \
| | |
| | |
| | |
| | | |
dispatch_common: fix conditional compilation
Symbols are always defined, but they are set to 0 or 1; this means we can't use `ifdef`.
|
|/ / |
|
| |
| |
| |
| |
| | |
Looking for a symbol named "libGLESv2.so.2" is probably not going to
work very well.
|
|\ \
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Just like the one we use for EGL.
|
| | |
| | |
| | |
| | |
| | | |
A basic test, to check that we're actually capable of working on macOS
without GLX enabled.
|
| | |
| | |
| | |
| | |
| | | |
We need to see what failed, as Meson's test harness will just show the
result.
|
|\ \ \
| |/ /
|/| | |
Fix build of Epoxy on macOS
|
| | |
| | |
| | |
| | |
| | | |
Use Travis's macOS builder to check if Epoxy is building on that
platform.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| | |
EGL is not available on macOS, except through Objective C.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|