e071b5e300
We need to have EGL extensions loaded when dealing with DMA-BUFs. EGL_EXT_image_dma_buf_import: This extension is required to import DMA-BUFs with the modifier-less path. It is limited to buffers with 3 planes. [1] EGL_EXT_image_dma_buf_import_modifiers: This extension is required to import DMA-BUFs with an explicit modifier. It raises the limit of buffer planes to 4, which is the maximum planecount for DMA-BUFs. [2] [1] https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import.txt [2] https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt