Add DMABuf support for wayland

Desktop / Enlightenment / Enlightenment - Derek Foreman [osg.samsung.com] - 18 May 2016 12:05 UTC

This adds compositor handling of DMABuf buffers. DMAbuf capabilities are advertised for the drm back-ends, and DMAbuf buffers are handled as native surfaces.

2d18023 Add DMABuf support for wayland
src/bin/Makefile.mk | 4 +
src/bin/e_comp_wl.c | 8 +
src/bin/e_comp_wl.h | 1 +
src/bin/e_comp_wl_dmabuf.c | 503 ++++++++++++++++++++
src/bin/e_comp_wl_dmabuf.h | 92 ++++
src/bin/e_comp_wl_extensions.c | 18 +
src/bin/e_includes.h | 1 +
src/bin/e_pixmap.c | 60 ++-
src/bin/e_pixmap.h | 2 +
.../generated/linux-dmabuf-unstable-v1-protocol.c | 75 +++
.../linux-dmabuf-unstable-v1-server-protocol.h | 448 +++++++++++++++++
11 files changed, 1207 insertions(+), 5 deletions(-)

Upstream: git.enlightenment.org


  • Share