Multimedia: Skip dma-buf import for unsupported DRM format modifiers


DMABUF zero-copy import can silently and permanently fail on hybrid-GPU
systems (e.g. Intel iGPU VAAPI decode + NVIDIA dGPU rendering): the
decoder exports a vendor-private tiled modifier that the importing EGL
implementation never supports, so eglCreateImage() fails with
EGLError::BadParameter every single frame.

In the error handling codepath we now query the EGL implementation's
supported dma-buf modifiers via EGL_EXT_image_dma_buf_import_modifiers
and, if a plane's modifier is not supported, disable
hardware-accelerated import in subsequent runs.

Pick-to: 6.12
Change-Id: I545f96508e43f733b122ac26db363f36a399e08a
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit2089fbd97d68ad4b513cc65d4ae9a9de950fd81e
parent610715613a9bba4817ebece7ffd1007cc7fb7965
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 16 Sep 2026 13:20:58 +0000