summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/egl_dri2.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-05-01 12:42:53 +0100
committerEmil Velikov <[email protected]>2016-05-23 12:07:47 +0100
commit38ef6f5f6019e168f584d99f94bc675afbb0b33a (patch)
tree736d6479f66b8bd191e77f25376cc90ceead3dc7 /src/egl/drivers/dri2/egl_dri2.h
parent2cd687ce97f39bd98fab4d72d607b7a1644cd2a0 (diff)
egl: android: directly use dri2_create_image_dma_buf()
Make the function non static so that we can use it directly from the android platform code. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index ddb5f39c59c..925294b27d0 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -361,6 +361,10 @@ dri2_create_image_khr(_EGLDriver *drv, _EGLDisplay *disp,
_EGLContext *ctx, EGLenum target,
EGLClientBuffer buffer, const EGLint *attr_list);
+_EGLImage *
+dri2_create_image_dma_buf(_EGLDisplay *disp, _EGLContext *ctx,
+ EGLClientBuffer buffer, const EGLint *attr_list);
+
EGLBoolean
dri2_initialize_x11(_EGLDriver *drv, _EGLDisplay *disp);