[PATCH weston 0/2] compositor: Support linux_dmabuf multiplanar formats for scanout/sprite planes

Tomohito Esaki etom at igel.co.jp
Fri May 27 09:52:26 UTC 2016


These patches add support multiplanar formats by using linux_dmabuf instead of
gbm for scanout/sprite plane importing.

When rendering linux_dmabuf buffers, gbm isn't required, and multiplanar
formats can be supported by using drmModeAddFB2() instead of gbm_import().

The first patch adapts the functions that create and destroy the drm_fb struct
to add support for linux_dmabuf.

Tomohito Esaki (2):
  compositor-drm: Add scanout support for linux_dmabuf buffers
  compositor-drm: Support linux_dmabuf output for sprite planes without
    gbm

 src/compositor-drm.c | 175 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 127 insertions(+), 48 deletions(-)

-- 
2.7.4



More information about the wayland-devel mailing list