Home | History | Annotate | Download | only in egl
      1 #!/bin/sh
      2 set -eu
      3 
      4 LIB=${1-.libs/libEGL.so}
      5 
      6 if ! [ -f "$LIB" ]
      7 then
      8   exit 1
      9 fi
     10 
     11 FUNCS=$(nm -D --defined-only $LIB | grep -o "T .*" | cut -c 3- | while read func; do
     12 ( grep -q "^$func$" || echo $func )  <<EOF
     13 eglBindAPI
     14 eglBindTexImage
     15 eglChooseConfig
     16 eglClientWaitSync
     17 eglCopyBuffers
     18 eglCreateContext
     19 eglCreateImage
     20 eglCreatePbufferFromClientBuffer
     21 eglCreatePbufferSurface
     22 eglCreatePixmapSurface
     23 eglCreatePlatformPixmapSurface
     24 eglCreatePlatformWindowSurface
     25 eglCreateSync
     26 eglCreateWindowSurface
     27 eglDestroyContext
     28 eglDestroyImage
     29 eglDestroySurface
     30 eglDestroySync
     31 eglGetConfigAttrib
     32 eglGetConfigs
     33 eglGetCurrentContext
     34 eglGetCurrentDisplay
     35 eglGetCurrentSurface
     36 eglGetDisplay
     37 eglGetError
     38 eglGetPlatformDisplay
     39 eglGetProcAddress
     40 eglGetSyncAttrib
     41 eglInitialize
     42 eglMakeCurrent
     43 eglQueryAPI
     44 eglQueryContext
     45 eglQueryString
     46 eglQuerySurface
     47 eglReleaseTexImage
     48 eglReleaseThread
     49 eglSurfaceAttrib
     50 eglSwapBuffers
     51 eglSwapInterval
     52 eglTerminate
     53 eglWaitClient
     54 eglWaitGL
     55 eglWaitNative
     56 eglWaitSync
     57 MesaGLInteropEGLQueryDeviceInfo
     58 MesaGLInteropEGLExportObject
     59 _fini
     60 _init
     61 EOF
     62 done)
     63 
     64 test ! -n "$FUNCS" || echo $FUNCS
     65 test ! -n "$FUNCS"
     66