[Mesa-dev] [PATCH 11/11] egl/wayland: Use linux-dmabuf interface for buffers

Emil Velikov emil.l.velikov at gmail.com
Mon Jul 3 12:36:25 UTC 2017


On 22 June 2017 at 17:52, Lucas Stach <l.stach at pengutronix.de> wrote:
> Am Freitag, den 16.06.2017, 18:14 +0100 schrieb Daniel Stone:
>> When available, use the zwp_linux_dambuf_v1 interface to create buffers,
>> which allows multiple planes and buffer modifiers to be used.
>>
>> Signed-off-by: Daniel Stone <daniels at collabora.com>
>> ---
>>  configure.ac                            |   5 +-
>>  src/egl/Makefile.am                     |  22 +++-
>>  src/egl/drivers/dri2/.gitignore         |   2 +
>>  src/egl/drivers/dri2/egl_dri2.c         |   7 ++
>>  src/egl/drivers/dri2/egl_dri2.h         |  10 ++
>>  src/egl/drivers/dri2/platform_wayland.c | 189 +++++++++++++++++++++++++++++---
>>  6 files changed, 214 insertions(+), 21 deletions(-)
>>  create mode 100644 src/egl/drivers/dri2/.gitignore
>
> This patch is missing the following hunk to fix out of tree builds:
>
> --- a/src/egl/Makefile.am
> +++ b/src/egl/Makefile.am
> @@ -104,6 +104,7 @@ endif
>  AM_CFLAGS += \
>         -I$(top_srcdir)/src/loader \

>         -I$(top_srcdir)/src/egl/drivers/dri2 \
> +       -I$(top_builddir)/src/egl/drivers/dri2 \

Thanks Lucas, one small nit though:
The builddir line should be first, otherwise we will pick a stale
in-tree file, when doing an OOT build.

Not familiar with the linux-dmabuf protocol - Dan, any ideas if we can
"get away" w/o using u_vector?

Thanks
Emil


More information about the mesa-dev mailing list