Skip to content
Snippets Groups Projects
Commit 84ef345d authored by Frank Binns's avatar Frank Binns Committed by Emil Velikov
Browse files

egl/dri: Add error info needed for EGL_EXT_image_dma_buf_import extension


Update the DRI image interface error codes to reflect the needs of the
EGL_EXT_image_dma_buf_import extension. This means updating the existing error
code documentation and adding a new __DRI_IMAGE_ERROR_BAD_ACCESS error code
so that drivers can correctly reject unsupported pitches and offsets. Hook
the new error code up in EGL to return EGL_BAD_ACCESS.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarFrank Binns <frank.binns@imgtec.com>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit cfc3200a)
parent 7722a24c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment