mesa/src/gallium/frontends/dri
Simon Ser 655ac4fff6 dri: don't fetch X11 modifiers if we don't support them
If we supply modifiers to dri_create_image_with_modifiers() and
the driver doesn't support them, the function will fail. The X11
server always supports implicit modifiers so we can always fall
back to that.

Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 4c06515892 ("dri: revert INVALID modifier special-casing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32535>
2024-12-19 13:09:48 +00:00
..
dri2.c format: Add R8_G8B8_422_UNORM format 2024-12-11 15:28:08 +00:00
dri_context.c egl: Support NV_context_priority_realtime 2024-09-25 20:17:27 +00:00
dri_context.h mesa_interface: replace opaque __DRIcontext with struct dri_context everywhere 2024-10-22 06:48:02 +00:00
dri_drawable.c mesa_interface: rename __DRIconfig to struct dri_config 2024-10-22 06:48:02 +00:00
dri_drawable.h mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
dri_helpers.c dri: fix NV15 and NV20 definitions to make sure they will be used 2024-11-25 13:04:19 +00:00
dri_helpers.h mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
dri_query_renderer.c mesa_interface: replace opaque __DRIscreen with struct dri_screen everywhere 2024-10-22 06:48:02 +00:00
dri_query_renderer.h dri: delete __DRI2_RENDERER_QUERY interface 2024-08-01 15:28:03 +00:00
dri_screen.c mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
dri_screen.h mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
dri_util.c mesa_interface: rename __DRIconfig to struct dri_config 2024-10-22 06:48:02 +00:00
dri_util.h mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
drisw.c mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
kopper.c kopper: Add '#if' guard around loader_dri3_get_pixmap_buffer to stop missing symbol on MacOS. 2024-12-13 00:39:16 +00:00
kopper_stubs.c mesa_interface: rename __DRIconfig to struct dri_config 2024-10-22 06:48:02 +00:00
loader_dri3_helper.c dri: don't fetch X11 modifiers if we don't support them 2024-12-19 13:09:48 +00:00
loader_dri3_helper.h mesa_interface: rename __DRIimage to struct dri_image 2024-10-22 06:48:02 +00:00
meson.build meson: delete dri3 build option 2024-09-04 14:48:17 +00:00