summaryrefslogtreecommitdiff
path: root/test/egl_has_extension_nocontext.c
Commit message (Collapse)AuthorAgeFilesLines
* test: #define __EXTENSIONS__ on Solaris for strdup()Alan Coopersmith2019-09-081-0/+4
| | | | | | | | 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>
* Define _GNU_SOURCE for strdup()issue-181Emmanuele Bassi2018-06-181-0/+1
| | | | | | | | | 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
* Revert all changes since 8bbc0d40Emmanuele Bassi2016-12-071-2/+3
| | | | | | | | | | | | | | | Most of the changes that happened after commit 8bbc0d40 broke epoxy pretty much irreparably because of the CMake build and the attempt at making libepoxy a static library that can be copy-pasted into another project without generating files. Since all the commits are entangled, and are full of unrelated changes, we cannot simply do a localized set of reverts; instead, we need to hit the reset button. From this point forward, we're going to improve libepoxy's build while attempting to keep the existing build system working. This may mean reinstating the CMake build system at a later date.
* Fix support for a static build of Epoxy. Add support building and running ↵Yaron Cohen-Tal2015-09-031-2/+1
| | | | tests with CMake. Add support for linking with the static run-time library with MSVC.
* Fix tests to work with some OpenGL ES / EGL implementations.Yaron Cohen-Tal2015-08-241-1/+1
|
* Fix a bad error message in an EGL test.Eric Anholt2014-02-061-1/+1
|
* Add support for EGL.Eric Anholt2013-12-051-0/+70
This totally replaces the getprocaddress and dlsym code, which was basically just stubs up until now. The is_glx/is_egl() is also dropped -- they weren't doing anything, and the only false answer they could give is if the dlopen were to fail.