From 49bdba8505232371db4609c0ad963ecb0896f275 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 10 Aug 2017 11:36:38 -0500 Subject: efl_wl: Update to latest dmabuf protocol version Weston's dmabuf code continues to be modular enough that we can pull it in with little change. This updates us to version 3 of the protocol. Currently only contains stubs for format queries. --- src/lib/efl_wl/dmabuf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/efl_wl/dmabuf.h') diff --git a/src/lib/efl_wl/dmabuf.h b/src/lib/efl_wl/dmabuf.h index c1da1e3abf..72f42816a3 100644 --- a/src/lib/efl_wl/dmabuf.h +++ b/src/lib/efl_wl/dmabuf.h @@ -29,6 +29,9 @@ #include #define MAX_DMABUF_PLANES 4 +#ifndef DRM_FORMAT_MOD_INVALID +#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1) +#endif struct linux_dmabuf_buffer; typedef void (*dmabuf_user_data_destroy_func)( -- cgit v1.2.1