egl: make interop ABI visible again
authorMarek Olšák <marek.olsak@amd.com>
Wed, 2 Nov 2016 17:59:22 +0000 (18:59 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Nov 2016 10:30:47 +0000 (11:30 +0100)
This was broken when the GLAPI use was removed from mesa_glinterop.h.

Cc: 12.0 13.0 <mesa-stable@lists.freedesktop.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/eglapi.c

index 04cac038bcadcb701e1a3ea0a7020c1c45179dc9..53340bf7cf98d39729e3ed91ce351b4c05eea45b 100644 (file)
@@ -2391,7 +2391,7 @@ _eglLockDisplayInterop(EGLDisplay dpy, EGLContext context,
    return MESA_GLINTEROP_SUCCESS;
 }
 
-int
+PUBLIC int
 MesaGLInteropEGLQueryDeviceInfo(EGLDisplay dpy, EGLContext context,
                                 struct mesa_glinterop_device_info *out)
 {
@@ -2413,7 +2413,7 @@ MesaGLInteropEGLQueryDeviceInfo(EGLDisplay dpy, EGLContext context,
    return ret;
 }
 
-int
+PUBLIC int
 MesaGLInteropEGLExportObject(EGLDisplay dpy, EGLContext context,
                              struct mesa_glinterop_export_in *in,
                              struct mesa_glinterop_export_out *out)