[PATCH mesa 0/3] Add YUV support for the subcompositor buffer passthrough

Neil Roberts neil at linux.intel.com
Thu Feb 6 05:58:28 PST 2014


Hi,

I had a look at trying to get the
EGL_WL_create_wayland_buffer_from_image extension to support YUV
buffers. The main difficulty is that we don't get a single EGLimage
when using a planar buffer with the EGL_WL_bind_wayland_display
extension and instead we get a separate image for each plane. I've
just gone ahead and changed the eglCreateWaylandBufferFromImageWL
function to take an array of images instead of a single one. However,
I'm not sure what the policy is on changing this extension. Is it too
late now that the extension is in the 10.1 branch?

I also added an attribute to the DRIImage extension to query the
offset. This bumps the extension version to 9 and if we are changing
the version it might be a good idea to combine that with adding the
interface to create a sub-image in this patch:

https://github.com/bpeel/mesa/commit/217582b81d0d752636812b3ce386c768

On the other hand I don't really know what the policy is for updating
the DRIimage extension. Does it matter how many times we increase the
version?

Regards,
- Neil



More information about the wayland-devel mailing list