Hi, 2012/4/25 Chad Versace <chad.vers...@linux.intel.com>: > On 04/24/2012 08:21 AM, Gwenole Beauchesne wrote: >> 2012/4/23 Rob Clark <rob.cl...@linaro.org>: >>> On Mon, Apr 23, 2012 at 4:54 AM, Gwenole Beauchesne <gb.de...@gmail.com> >>> wrote: > >> It's not intended for Wayland only but rather for anybodoy willing to >> import foreign DRM buffers which could have YUV layout. This indeed >> implies Wayland but also MESA_drm_image [...] > > ... and Android too. > > It looks like this patch series lays some groundwork for an > Android requirement: sharing YUV buffers from the camera > through GL_OES_EGL_image_external.
I was discussing this with Pauli the other day, but I totally dislike this extension. :) I also considered doing the conversion within Mesa, but munging with the texture units among other constraining things behind user's back looks horrible to me. So, accessing to the individual YUV components this way was for me a better and more flexible approach while still keeping things simple from the client application side. See e.g. the Weston bits, it's no more complicated. Anyway, we can still add "native" YUV formats later, this is not an incompatible model. Though, we'd need to extend __DRIimageAttrs in this case to describe the layout of the YUV buffers. Regards, Gwenole. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev