gl_drm: half fix eglGetPlatformDisplayEXT usage
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 21 Jul 2017 19:00:51 +0000 (14:00 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 21 Jul 2017 19:34:50 +0000 (14:34 -0500)
commit736c63be3449c34678cd4f875b0f41105bb827c7
tree4f72ffd293c48331af51ff1b89ecb1dea27be18b
parentb8a760ed58993a84458eb9eda6170ee1a0f76036
gl_drm: half fix eglGetPlatformDisplayEXT usage

Just because the #define is present doesn't mean the extension is, so we're
BAILing on egl completely on some systems for no good reason at all. (saw
this on an SGX stack)

This is still wrong.  I don't want to try too hard until after the upcoming
release, though.

We should actually be testing for the presence of client extensions before
attempting to do any of this.  It's entirely possible that a gl stack will
return bogus functions for these from eglGetProcAddress
src/modules/evas/engines/gl_drm/evas_outbuf.c