1#!/bin/bash
2
3FUNCS=$(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
5eglBindAPI
6eglBindTexImage
7eglChooseConfig
8eglClientWaitSync
9eglCopyBuffers
10eglCreateContext
11eglCreateImage
12eglCreatePbufferFromClientBuffer
13eglCreatePbufferSurface
14eglCreatePixmapSurface
15eglCreatePlatformPixmapSurface
16eglCreatePlatformWindowSurface
17eglCreateSync
18eglCreateWindowSurface
19eglDestroyContext
20eglDestroyImage
21eglDestroySurface
22eglDestroySync
23eglGetConfigAttrib
24eglGetConfigs
25eglGetCurrentContext
26eglGetCurrentDisplay
27eglGetCurrentSurface
28eglGetDisplay
29eglGetError
30eglGetPlatformDisplay
31eglGetProcAddress
32eglGetSyncAttrib
33eglInitialize
34eglMakeCurrent
35eglQueryAPI
36eglQueryContext
37eglQueryString
38eglQuerySurface
39eglReleaseTexImage
40eglReleaseThread
41eglSurfaceAttrib
42eglSwapBuffers
43eglSwapInterval
44eglTerminate
45eglWaitClient
46eglWaitGL
47eglWaitNative
48eglWaitSync
49MesaGLInteropEGLQueryDeviceInfo
50MesaGLInteropEGLExportObject
51_fini
52_init
53EOF
54done)
55
56test ! -n "$FUNCS" || echo $FUNCS
57test ! -n "$FUNCS"
58