More verbose errors for dmabuf creation.
Submitted by Lubosz Sarnecki
Assigned to Ian Romanick
Description
Created attachment 120173 More verbose errors for dmabuf creation.
Using EXT_image_dma_buf_import on i965 can be confusing if you don't look in the code. The driver always outputs EGL_BAD_MATCH for using multi planar formats. The practice here is to use multiple EGL images per plane and do the color conversion in GLSL. The same error is given when the fourcc format is unsupported. This patch gives the application programmer more information about what he is doing wrong, by putting out this information with _mesa_warning().
Attachment 120173, "More verbose errors for dmabuf creation.":
0001-i965-More-verbose-errors-for-dmabuf-creation.patch
Version: git