mesa/src/egl
Adam Jackson b174a1ae72 egl: Simplify the "driver" interface
"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 <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-10-05 13:43:34 -04:00
..
drivers egl: Simplify the "driver" interface 2017-10-05 13:43:34 -04:00
generate egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
main egl: Simplify the "driver" interface 2017-10-05 13:43:34 -04:00
wayland wayland-egl: adds CFLAGS for wayland.egl.h include 2017-10-04 14:25:06 +01:00
.gitignore egl: add gitignore 2017-04-22 00:42:38 +01:00
Android.mk egl/dri: link directly to libglapi.so 2017-10-02 16:26:46 +01:00
egl-entrypoint-check check: add support for running test as standalone 2017-02-26 13:39:45 +00:00
egl-symbols-check egl/egl-symbols-check: do not mandate bash 2017-03-10 14:12:48 +00:00
Makefile.am egl/dri: link directly to libglapi.so 2017-10-02 16:26:46 +01:00
Makefile.sources egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
SConscript egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean 2017-09-12 13:53:11 +01:00