From 230f3b1bf896fcf3fa76b4d7093122b3361f7e36 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 29 Sep 2014 14:18:40 -0400 Subject: dmabuf: implement linux_dmabuf extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2 changes: - implement the revised protocol - add basic sanity checks when creating buffer and check for support - add way to attach user data to the dmabuf for renderer use - bump max number of planes to 4 to follow DRM AddFb2 ioctl - improve errors handling - use separate linux_dmabuf_buffer fields for the different wl_resource types - as SERVER_ERROR code is no more, use a wl_display "generic" error for emergency-disconneting a client we fail to process - more documentation - change y-invert from per-plane boolean to per-buffer flag Signed-off-by: Pekka Paalanen Signed-off-by: Louis-Francis Ratté-Boulianne Reviewed-by: Daniel Stone --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 7acbc2de..9c1cf258 100644 --- a/Makefile.am +++ b/Makefile.am @@ -87,6 +87,8 @@ weston_SOURCES = \ src/timeline.h \ src/timeline-object.h \ src/main.c \ + src/linux-dmabuf.c \ + src/linux-dmabuf.h \ shared/helpers.h \ shared/matrix.c \ shared/matrix.h \ -- cgit v1.2.1