• chadversary's avatar
    egl: Use eglGetPlatformDisplayEXT as a fallback · 809d8b39
    chadversary authored
    If the EGL platform does not support eglGetPlatformDisplay, but does
    support eglGetPlatformDisplayEXT, then use it as a fallback. Of course,
    if neither is supported, we fall back all the way to eglGetDisplay.
    
    This is useful for exercising the codepaths on Mesa, which does support
    the extensions for eglGetPlatformDisplayEXT but not yet
    eglGetPlatformDisplay.
    
    Tested against Mesa master@8c78fdb with `ninja check-func` on Linux for
    x11_egl, wayland, and gbm.
    Reported-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
    809d8b39
Name
Last commit
Last update
bin Loading commit data...
cmake Loading commit data...
debian Loading commit data...
doc Loading commit data...
doxygen Loading commit data...
examples Loading commit data...
include Loading commit data...
man Loading commit data...
pkg/macports Loading commit data...
src Loading commit data...
tests Loading commit data...
third_party Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
Android.mk Loading commit data...
CMakeLists.txt Loading commit data...
HACKING.txt Loading commit data...
LICENSE.txt Loading commit data...
Options.cmake Loading commit data...
README.txt Loading commit data...
waffle.pc.in Loading commit data...