Re: Wayland generic dmabuf protocol

2014-06-09 Thread Benjamin Gaignard
gt; + > + > + > + > + > + > + > + > + > + > + > +This tells the server that all dmabufs have been added, > +and the server can proceed creating the wl_buffer. > +The server will reply with an eve

Move wayland-drm protocol from Mesa to wayland-core

2013-11-27 Thread Benjamin Gaignard
nd drm protocol available like this ? Please note those patches are for wayland/weston 1.1.0 Regards, Benjamin -- Benjamin Gaignard Graphic Working Group Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog From b185fe89a1ea8ddbe19d943cb19272f369b7b438 Mon Sep 1

Re: Move wayland-drm protocol from Mesa to wayland-core

2013-11-28 Thread Benjamin Gaignard
standard way? > > > On Wed, Nov 27, 2013 at 1:22 PM, Jason Ekstrand > wrote: >> >> >> On Nov 27, 2013 10:53 AM, "Benjamin Gaignard" >> wrote: >> > >> > Hi all, >> > >> > I'm working for Linaro on enabling a ze

[PATCH] Add wl_dmabuf protocol

2013-12-03 Thread benjamin . gaignard
From: Benjamin Gaignard This protocol is widely derivated of wl_drm protocol but without unneeded function like flink or authentification. It allow to use a dmabuf file descriptor in a wayland protocol which could be useful in case we don't have (or can't use) Mesa EGL. Signed-off-by

[PATCH] Add wl_dmabuf protocol

2013-12-05 Thread benjamin . gaignard
From: Benjamin Gaignard It allow to use a dmabuf file descriptor in a wayland protocol. To make as generic as possible it is up to the server to call wl_dmabuf_send_format() and/or wl_dmabuf_send_capabilities() to signal it capabilities. Signed-off-by: Benjamin Gaignard --- protocol

Re: [PATCH] Add wl_dmabuf protocol

2013-12-10 Thread Benjamin Gaignard
100 > benjamin.gaign...@linaro.org wrote: > >> From: Benjamin Gaignard >> >> It allow to use a dmabuf file descriptor in a wayland protocol. >> To make as generic as possible it is up to the server to call >> wl_dmabuf_send_format() and/or wl_dmabuf_send_capa

[PATCH v3] compositor-drm: allow to be a wl_dmabuf server

2013-12-12 Thread benjamin . gaignard
From: Benjamin Gaignard Make drm compositor aware of the wl_dmabuf protocol if pixman is used. Add functions to have a wl_dmabuf server inside drm compositor. Change pixman to let it know how use a wl_dmabuf buffer. Signed-off-by: Benjamin Gaignard --- src/compositor-drm.c | 168

[PATCH v3] Add wl_dmabuf protocol

2013-12-12 Thread benjamin . gaignard
From: Benjamin Gaignard It allow to use a dmabuf file descriptor in a wayland protocol. To make as generic as possible it is up to the server to call wl_dmabuf_send_format() and/or wl_dmabuf_send_device() to signal it capabilities. Signed-off-by: Benjamin Gaignard --- protocol/Makefile.am

[PATCH v3] Add support of dmabuf in wayland/weston

2013-12-12 Thread benjamin . gaignard
From: Benjamin Gaignard The goal of this serie of patches is to add a way to use dmabuf file descriptor inside wayland and weston. In a context where there is no Mesa EGL (and so no wl_drm protocol) wl_dmabuf could be used as an alternative to shm to share buffers between hardware devices. If

[PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard The goal of this serie of patches is to add a way to use dmabuf file descriptor inside wayland and weston. In a context where there is no Mesa EGL (and so no wl_drm protocol) wl_dmabuf could be used as an alternative to shm to share buffers between hardware devices. If

[PATCH v4 1/3] Add wl_dmabuf protocol

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard It allow to use a dmabuf file descriptor in a wayland protocol. To make as generic as possible it is up to the server to call wl_dmabuf_send_format() and/or wl_dmabuf_send_device() to signal it capabilities. Signed-off-by: Benjamin Gaignard --- protocol/Makefile.am

[PATCH v4 3/3] compositor-drm: allow to be a wl_dmabuf server

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard Make drm compositor aware of the wl_dmabuf protocol if pixman is used. Add functions to have a wl_dmabuf server inside drm compositor. Change pixman to let it know how use a wl_dmabuf buffer. Signed-off-by: Benjamin Gaignard --- src/compositor-drm.c | 83

[PATCH v4 3/3] add simple-dmabuf client

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard It is a simple example of how use wl_dmabuf protocol with weston Signed-off-by: Benjamin Gaignard --- clients/Makefile.am | 11 ++ clients/simple-dmabuf.c | 469 +++ configure.ac|5 + 3 files changed