From c7b65c330fd6ede0c82d3e2f2907e5a3ae864788 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 24 Oct 2017 17:14:20 +0100 Subject: wayland-drm: static inline wayland_drm_buffer_get The function is effectively a direct function call into libwayland-server.so. Thus GBM no longer depends on the wayland-drm static library, making the build more straight forward. And the resulting binary is a bit smaller. Note: we need to move struct wayland_drm_callbacks further up, otherwise we'll get an error since the type is incomplete. v2: Rebase, beef-up commit message, update meson, move struct wayland_drm_callbacks. Signed-off-by: Emil Velikov Reviewed-by: Daniel Stone (v1) Reviewed-by: Eric Engestrom # meson bit only Acked-by: Eric Engestrom # for the rest Reviewed-by: Dylan Baker # meson --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 22973b14bc7..ea530eca7d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -57,7 +57,7 @@ endif # include only conditionally ? SUBDIRS += compiler -## Optionally required by GBM, EGL +## Optionally required by EGL if HAVE_PLATFORM_WAYLAND SUBDIRS += egl/wayland/wayland-drm endif -- cgit v1.2.3