summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/egl_dri2.c
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.c
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.c')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 65a3a62cf67..6dcfd4930a9 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -1960,7 +1960,7 @@ dri2_check_dma_buf_format(const _EGLImageAttribs *attrs)
*
* Therefore we must never close or otherwise modify the file descriptors.
*/
-static _EGLImage *
+_EGLImage *
dri2_create_image_dma_buf(_EGLDisplay *disp, _EGLContext *ctx,
EGLClientBuffer buffer, const EGLint *attr_list)
{