mesa/src/egl
Daniel Stone 6273d2f269 egl/wayland: Check queryImage return for wl_buffer
When creating a wl_buffer from a DRIImage, we extract all the DRIImage
information via queryImage. Check whether or not it actually succeeds,
either bailing out if the query was critical, or providing sensible
fallbacks for information which was not available in older DRIImage
versions.

Fixes: a65db0ad1c ("st/dri: don't expose modifiers in EGL if the driver doesn't implement them")
Fixes: 02cc359372 ("egl/wayland: Use linux-dmabuf interface for buffers")
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reported-by: Andy Furniss <adf.lists@gmail.com>
Cc: Marek Olšák <marek.olsak@amd.com>
2017-10-04 15:17:46 +01:00
..
drivers egl/wayland: Check queryImage return for wl_buffer 2017-10-04 15:17:46 +01:00
generate egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
main egl: use switch statements over if/else chain 2017-09-19 19:08:41 +01: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