diff options
author | Kristian Høgsberg <[email protected]> | 2012-07-04 22:56:09 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-07-11 15:28:34 -0400 |
commit | c0298348089069716cfc1aee2b25d0857c8be450 (patch) | |
tree | c20d129d8f384733478faf9343e11c9c273b3f06 /src | |
parent | c0f7fe7b79afa9b95b1af56dce9eb881575b1cde (diff) |
__DRIimage: version 5, add new formats and createSubImage
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 <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions