[Mesa-dev] EXT_image_dma_buf_import for intel

Eric Anholt eric at anholt.net
Tue Apr 16 13:22:22 PDT 2013


Topi Pohjolainen <topi.pohjolainen at intel.com> writes:

> The set introduces new target for 'eglCreateImageKHR()' allowing one
> to create EGL images out of externally allocated buffers. Especially
> one can combine up to three separate buffers into one single logical
> entity. Low level native buffers may not support planar formats and
> hence EGL layer will instead combine native buffers each representing
> a single plane into one planar image.
>
> Until now an image in intel dri backend consisted of a single region.
> Here this is extended to accomodate YUV formats having each component
> in its own plane, but intended only for images that are to be bound
> as textures later on.
>
> As such the images are not much of use, but combined with the logic
> (OES_external_image) allowing one to create textures out of these
> images, one can start directly sampling the underlying buffers.

This seems the non-planar parts (certainly formats like
DRM_FORMAT_ARGB8888) ought to be testable immediately using the existing
GL_OES_EGL_image support.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130416/4054dae8/attachment.pgp>


More information about the mesa-dev mailing list