diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2017-08-10 11:36:38 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-08-10 11:36:38 -0500 |
commit | 49bdba8505232371db4609c0ad963ecb0896f275 (patch) | |
tree | 13aba85f4de097adc8db6dea65fdeb91b854701f /src/lib/efl_wl/dmabuf.h | |
parent | 9738a6e3d2eb81655978a675a2ad764196ce7929 (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.h | 3 |
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 | ||
33 | struct linux_dmabuf_buffer; | 36 | struct linux_dmabuf_buffer; |
34 | typedef void (*dmabuf_user_data_destroy_func)( | 37 | typedef void (*dmabuf_user_data_destroy_func)( |