3 FUNCS=$(nm -D --defined-only ${1-.libs/libEGL.so} | grep -o "T .*" | cut -c 3- | while read func; do
4 ( grep -q "^$func$" || echo $func ) <<EOF
12 eglCreatePbufferFromClientBuffer
13 eglCreatePbufferSurface
14 eglCreatePixmapSurface
15 eglCreatePlatformPixmapSurface
16 eglCreatePlatformWindowSurface
18 eglCreateWindowSurface
49 MesaGLInteropEGLQueryDeviceInfo
50 MesaGLInteropEGLExportObject
56 test ! -n "$FUNCS" || echo $FUNCS