mesa/src/egl
Derek Foreman e4f186d3ae egl/wayland: Add a fallback when fourcc query isn't supported
When queryImage doesn't support __DRI_IMAGE_ATTRIB_FOURCC wayland clients
will die with a NULL derefence in wl_proxy_add_listener.

Attempt to provide a simple fallback to keep ancient systems working.

Fixes: 6595c69951 ("egl/wayland: Remove more surface specifics from
create_wl_buffer")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103519
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
(cherry picked from commit 0db36caa19)

Squashed with:

egl: fix var type

queryImage() takes an `int*`; compiler is warning about the
signed<->unsigned pointer mismatch.

Fixes: 0db36caa19 "egl/wayland: Add a fallback when fourcc
       query isn't supported"
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
(cherry picked from commit ca95d7ad4e)
2017-11-17 19:24:29 +00:00
..
drivers egl/wayland: Add a fallback when fourcc query isn't supported 2017-11-17 19:24:29 +00:00
generate egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
main egl: Support IMG_context_priority 2017-10-20 11:28:17 +01:00
wayland wayland-egl: fix wayland cflags 2017-10-27 21:33:04 +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
meson.build meson: fix egl build for meson version < 0.43 2017-10-27 18:56:37 +01:00
SConscript egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean 2017-09-12 13:53:11 +01:00