Skip to content
Snippets Groups Projects
Commit cfc3200a authored by Frank Binns's avatar Frank Binns Committed by Emma Anholt
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>
parent ee47d13a
No related branches found
No related tags found
No related merge requests found
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