gl-renderer: add support of WL_SHM_FORMAT_YUV420

Graphics / Wayland / Weston - Vincent Abriou [st.com] - 5 October 2016 12:05 UTC

This patch allow gl-renderer to accept WL_SHM_FORMAT_YUV420 buffers.

In a gstreamer pipeline, the support of the WL_SHM_FORMAT_YUV420 by weston avoid pixel conversion between software decoders and waylandsink. Indeed, software decoders output I420 (YUV420 planar) that will match with WL_SHM_FORMAT_YUV420.

fdeefe4 gl-renderer: add support of WL_SHM_FORMAT_YUV420
libweston/gl-renderer.c | 81 +++++++++++++++++++++++++++++++++++++++--------
1 file changed, 67 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share