1!egl 2 3%#include <EGL/egl.h> 4 5%// Return types must be single words, see GLDispatch.cpp 6%typedef const char* EGLconstcharptr; 7 8EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); 9EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target); 10EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); 11EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); 12EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list); 13EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list); 14EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx); 15EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 16EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); 17EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config); 18EGLDisplay eglGetCurrentDisplay(void); 19EGLSurface eglGetCurrentSurface(EGLint readdraw); 20EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id); 21EGLint eglGetError(void); 22void* eglGetProcAddress(const char *procname); 23EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); 24EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx); 25EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value); 26EGLconstcharptr eglQueryString(EGLDisplay dpy, EGLint name); 27EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value); 28EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 29EGLBoolean eglTerminate(EGLDisplay dpy); 30EGLBoolean eglWaitGL(void); 31EGLBoolean eglWaitNative(EGLint engine); 32 33EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 34EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 35EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); 36EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval); 37 38EGLBoolean eglBindAPI(EGLenum api); 39EGLenum eglQueryAPI(void); 40EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 41EGLBoolean eglReleaseThread(void); 42EGLBoolean eglWaitClient(void); 43 44EGLContext eglGetCurrentContext(void); 45