clients: add simple-dmabuf client
v2:
- adapted to protocol changes
- added TODO comments
- minor clean-up
- change y-invert from per-plane boolean to per-buffer flag
v3:
- fix a typo: 1 -> i (noticed by Carlos Olmedo Escobar)
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Acked-by: Daniel Stone <daniels@collabora.com>
diff --git a/configure.ac b/configure.ac
index 6c77826..0f74581 100644
--- a/configure.ac
+++ b/configure.ac
@@ -335,6 +335,15 @@
[egl >= 7.10 glesv2 wayland-client wayland-egl wayland-cursor])
fi
+AC_ARG_ENABLE(simple-intel-dmabuf-client,
+ AS_HELP_STRING([--disable-simple-intel-dmabuf-client],
+ [do not build the simple intel dmabuf client]),,
+ enable_simple_intel_dmabuf_client="yes")
+AM_CONDITIONAL(BUILD_SIMPLE_INTEL_DMABUF_CLIENT, test "x$enable_simple_intel_dmabuf_client" = "xyes")
+if test "x$enable_simple_intel_dmabuf_client" = "xyes"; then
+ PKG_CHECK_MODULES(SIMPLE_DMABUF_CLIENT, [wayland-client libdrm libdrm_intel])
+fi
+
AC_ARG_ENABLE(clients, [ --enable-clients],, enable_clients=yes)
AM_CONDITIONAL(BUILD_CLIENTS, test x$enable_clients = xyes)
if test x$enable_clients = xyes; then