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