• 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
..
relnotes Loading commit data...
specs Loading commit data...
ARB_color_buffer_float.txt Loading commit data...
README.UVD Loading commit data...
README.VCE Loading commit data...
README.WIN32 Loading commit data...
VERSIONS Loading commit data...
application-issues.html Loading commit data...
autoconf.html Loading commit data...
bugs.html Loading commit data...
codingstyle.html Loading commit data...
conform.html Loading commit data...
contents.html Loading commit data...
debugging.html Loading commit data...
developers.html Loading commit data...
devinfo.html Loading commit data...
dispatch.html Loading commit data...
download.html Loading commit data...
egl.html Loading commit data...
envvars.html Loading commit data...
extensions.html Loading commit data...
faq.html Loading commit data...
features.txt Loading commit data...
gears.png Loading commit data...
helpwanted.html Loading commit data...
index.html Loading commit data...
install.html Loading commit data...
intro.html Loading commit data...
libGL.txt Loading commit data...
license.html Loading commit data...
lists.html Loading commit data...
llvmpipe.html Loading commit data...
mangling.html Loading commit data...
mesa.css Loading commit data...
opengles.html Loading commit data...
osmesa.html Loading commit data...
patents.txt Loading commit data...
perf.html Loading commit data...
postprocess.html Loading commit data...
precompiled.html Loading commit data...
release-calendar.html Loading commit data...
releasing.html Loading commit data...
relnotes.html Loading commit data...
repository.html Loading commit data...
shading.html Loading commit data...
sourcedocs.html Loading commit data...
sourcetree.html Loading commit data...
submittingpatches.html Loading commit data...
systems.html Loading commit data...
thanks.html Loading commit data...
utilities.html Loading commit data...
versions.html Loading commit data...
viewperf.html Loading commit data...
vmware-guest.html Loading commit data...
webmaster.html Loading commit data...
xlibdriver.html Loading commit data...