diff options
author | Daniel Stone <[email protected]> | 2017-10-02 16:40:53 +0100 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2017-10-04 15:17:46 +0100 |
commit | 6273d2f2693c365ac84e8808577d16698a6ae46a (patch) | |
tree | e1e6658b38128fa3bd72018405a3208fd845bf2d /src/util/xmlpool.h | |
parent | d246aa3a0dbbdf0766521392669251eabdd67e79 (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reported-by: Andy Furniss <[email protected]>
Cc: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/xmlpool.h')
0 files changed, 0 insertions, 0 deletions