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

Lucas Stach l.stach at pengutronix.de
Thu Jun 22 16:52:50 UTC 2017


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 \
        -I$(top_srcdir)/src/gbm/backends/dri \
        -I$(top_srcdir)/src/egl/wayland/wayland-egl \
        -I$(top_builddir)/src/egl/wayland/wayland-drm \

Regards,
Lucas



More information about the mesa-dev mailing list