summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl/dmabuf.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-10 11:36:38 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-10 11:36:38 -0500
commit49bdba8505232371db4609c0ad963ecb0896f275 (patch)
tree13aba85f4de097adc8db6dea65fdeb91b854701f /src/lib/efl_wl/dmabuf.h
parent9738a6e3d2eb81655978a675a2ad764196ce7929 (diff)
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.
Diffstat (limited to 'src/lib/efl_wl/dmabuf.h')
-rw-r--r--src/lib/efl_wl/dmabuf.h3
1 files changed, 3 insertions, 0 deletions
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 @@
29#include <stdint.h> 29#include <stdint.h>
30 30
31#define MAX_DMABUF_PLANES 4 31#define MAX_DMABUF_PLANES 4
32#ifndef DRM_FORMAT_MOD_INVALID
33#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1)
34#endif
32 35
33struct linux_dmabuf_buffer; 36struct linux_dmabuf_buffer;
34typedef void (*dmabuf_user_data_destroy_func)( 37typedef void (*dmabuf_user_data_destroy_func)(