mesa/src/egl
Hal Gentz 075a96aa92 egl: Configs w/o double buffering support have no EGL_WINDOW_BIT.
When users pass a config to `eglCreateWindowSurface` it requests double
buffering, but if the config doesn't have the appropriate `__DRIconfig`,
`eglCreateWindowSurface` fails with a `EGL_BAD_MATCH`.

Given that such behaviour is completely unacceptable, we drop the
`EGL_WINDOW_BIT` if we don't have at least one `__DRIconfig` supporting double
buffering, otherwise dropping the `EGL_PIXMAP_BIT`.

Fixes: 049f343e8a "egl: Allow 24-bit visuals for 32-bit RGBA8888 configs"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67676
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
2019-10-11 21:57:21 +00:00
..
drivers egl: Configs w/o double buffering support have no EGL_WINDOW_BIT. 2019-10-11 21:57:21 +00:00
generate egl: Include stddef.h in generated source 2019-10-09 13:16:38 -07:00
main egl: Configs w/o double buffering support have no EGL_WINDOW_BIT. 2019-10-11 21:57:21 +00:00
wayland egl/wayland: Add FP16 format support 2019-09-20 19:10:31 +00:00
Android.mk egl: add EGL_platform_device support 2019-06-05 13:35:21 -04:00
egl-entrypoint-check.py egl: rewrite entrypoints check 2019-07-10 11:27:51 +00:00
egl-glvnd-symbols.txt egl: add glvnd symbols check 2019-07-10 11:27:51 +00:00
egl-symbols.txt egl: use new symbols check script 2019-07-10 11:27:51 +00:00
Makefile.sources egl: drop empty eglfallbacks.c 2019-06-25 06:36:54 +00:00
meson.build meson: rename glvnd_missing_pc_files to not glvnd_has_headers_and_pc_files 2019-10-10 22:18:04 +01:00
SConscript drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00