diff options
author | Rob Herring <[email protected]> | 2016-05-01 09:35:28 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-01 12:31:29 +0100 |
commit | 34ddef39cefc15ac6c82815c6339f5b666bb08d4 (patch) | |
tree | 46ddc34f20270d5a52b0be3387c9599c2e7895a2 /include/GLES/egl.h | |
parent | 81a6fff4c5246c0604b065a6b34145cdad9be423 (diff) |
egl: android: add dma-buf fd support
Add support for creating images from Android native buffers with dma-buf
fd. As dma-buf support also requires DRI image loader extension, add
that as well.
This is based on several originally patches written by Varad Gautam.
I've collapsed them into logical changes and done a bit of reformatting.
Using dma-bufs vs. GEM handles is now a runtime decision similar to the
wayland EGL instead of being compile time selection. The dma-buf support
is also re-written to use common dri2_create_image_dma_buf function in
egl_dri2.c.
Cc: Varad Gautam <[email protected]>
Cc: Rob Clark <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'include/GLES/egl.h')
0 files changed, 0 insertions, 0 deletions