mirror of https://gitlab.freedesktop.org/mesa/mesa
The additions in version 5 enables creating EGLImages for different planes of a YUV buffer. createImageFromName is still used to create the containing __DRIimage, and createSubImage can then be used no that __DRIimage to create __DRIimages that correspond to the y, u, and v planes (__DRI_IMAGE_FORMAT_R8) or the uv planes (__DRI_IMAGE_FORMAT_RG88) for formats such as NV12 where the u and v components are interleaved. Packed formats such as YUYV etc doesn't require any special treatment, we just sample those as a regular ARGB texture. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> |
||
---|---|---|
.. | ||
CL | ||
EGL | ||
GL | ||
GLES | ||
GLES2 | ||
KHR | ||
VG | ||
c99 | ||
pci_ids |