• Adam Jackson's avatar
    egl: Simplify the "driver" interface · b174a1ae
    Adam Jackson authored
    "Driver" isn't a great word for what this layer is, it's effectively a
    build-time choice about what OS you're targeting. Despite that both of
    the extant backends totally ignore the display argument, the old code
    would only set up the backend relative to a display.
    
    That causes problems! One problem is it means eglGetProcAddress can
    generate X or Wayland protocol when it tries to connect to a default
    display so it can call into the backend, which is, you know, completely
    bonkers. Any other EGL API that doesn't reference a display, like
    EGL_EXT_device_query, would have the same issue.
    
    Fortunately this is a problem that can be solved with the delete key.
    Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
    Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
    b174a1ae
Name
Last commit
Last update
..
drivers Loading commit data...
generate Loading commit data...
main Loading commit data...
wayland Loading commit data...
.gitignore Loading commit data...
Android.mk Loading commit data...
Makefile.am Loading commit data...
Makefile.sources Loading commit data...
SConscript Loading commit data...
egl-entrypoint-check Loading commit data...
egl-symbols-check Loading commit data...