aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-25 08:28:19 +0100
committerSven Gothel <[email protected]>2019-12-25 08:28:19 +0100
commit784dcfa2094f3fb235ca4b60395708a1f87c0b1b (patch)
tree99627d497b46b11b7d5e2863329fd551096964bb /make/build-test.xml
parentc6ba090a0030c177d7e60f797a3ec25fecfe3546 (diff)
Bug 1156 Regression (Bug 1417): Probe whether 'eglGetPlatformDisplay(..)' is available before using
commit f4281b5ee80d7674134bfee357695a98382884a3 for Bug 1156 (DRM/GBM) introduced the call to 'eglGetPlatformDisplay(..)' for known EGL-platforms. However, 'eglGetPlatformDisplay(..)' is only available for EGL versions >= 1.5 or 'eglGetPlatformDisplayEXT(..)' if EGL extension 'EGL_EXT_platform_base' is available. This patch adds a singular EGL version probe and a secondary extension fallback test at first call using EGL_NO_DISPLAY on both EGL_VERSION and EGL_EXTENSION eglQueryString(..) calls. If 'eglGetPlatformDisplay*(..)' is not available, simply use 'eglGetDisplay(..)'. This regression also impacted Bug 1417 (Android bringup using current SDK + NDK), i.e. disabled most Android devices as their EGL version is often 1.4.
Diffstat (limited to 'make/build-test.xml')
0 files changed, 0 insertions, 0 deletions