#ifndef __egl_h_
#define __egl_h_ …
#ifdef __cplusplus
extern "C" {
#endif
#include <EGL/eglplatform.h>
#ifndef EGL_EGL_PROTOTYPES
#define EGL_EGL_PROTOTYPES …
#endif
#ifndef EGL_VERSION_1_0
#define EGL_VERSION_1_0 …
EGLBoolean;
EGLDisplay;
#include <KHR/khrplatform.h>
#include <EGL/eglplatform.h>
EGLConfig;
EGLSurface;
EGLContext;
__eglMustCastToProperFunctionPointerType;
#define EGL_ALPHA_SIZE …
#define EGL_BAD_ACCESS …
#define EGL_BAD_ALLOC …
#define EGL_BAD_ATTRIBUTE …
#define EGL_BAD_CONFIG …
#define EGL_BAD_CONTEXT …
#define EGL_BAD_CURRENT_SURFACE …
#define EGL_BAD_DISPLAY …
#define EGL_BAD_MATCH …
#define EGL_BAD_NATIVE_PIXMAP …
#define EGL_BAD_NATIVE_WINDOW …
#define EGL_BAD_PARAMETER …
#define EGL_BAD_SURFACE …
#define EGL_BLUE_SIZE …
#define EGL_BUFFER_SIZE …
#define EGL_CONFIG_CAVEAT …
#define EGL_CONFIG_ID …
#define EGL_CORE_NATIVE_ENGINE …
#define EGL_DEPTH_SIZE …
#define EGL_DONT_CARE …
#define EGL_DRAW …
#define EGL_EXTENSIONS …
#define EGL_FALSE …
#define EGL_GREEN_SIZE …
#define EGL_HEIGHT …
#define EGL_LARGEST_PBUFFER …
#define EGL_LEVEL …
#define EGL_MAX_PBUFFER_HEIGHT …
#define EGL_MAX_PBUFFER_PIXELS …
#define EGL_MAX_PBUFFER_WIDTH …
#define EGL_NATIVE_RENDERABLE …
#define EGL_NATIVE_VISUAL_ID …
#define EGL_NATIVE_VISUAL_TYPE …
#define EGL_NONE …
#define EGL_NON_CONFORMANT_CONFIG …
#define EGL_NOT_INITIALIZED …
#define EGL_NO_CONTEXT …
#define EGL_NO_DISPLAY …
#define EGL_NO_SURFACE …
#define EGL_PBUFFER_BIT …
#define EGL_PIXMAP_BIT …
#define EGL_READ …
#define EGL_RED_SIZE …
#define EGL_SAMPLES …
#define EGL_SAMPLE_BUFFERS …
#define EGL_SLOW_CONFIG …
#define EGL_STENCIL_SIZE …
#define EGL_SUCCESS …
#define EGL_SURFACE_TYPE …
#define EGL_TRANSPARENT_BLUE_VALUE …
#define EGL_TRANSPARENT_GREEN_VALUE …
#define EGL_TRANSPARENT_RED_VALUE …
#define EGL_TRANSPARENT_RGB …
#define EGL_TRANSPARENT_TYPE …
#define EGL_TRUE …
#define EGL_VENDOR …
#define EGL_VERSION …
#define EGL_WIDTH …
#define EGL_WINDOW_BIT …
PFNEGLCHOOSECONFIGPROC;
PFNEGLCOPYBUFFERSPROC;
PFNEGLCREATECONTEXTPROC;
PFNEGLCREATEPBUFFERSURFACEPROC;
PFNEGLCREATEPIXMAPSURFACEPROC;
PFNEGLCREATEWINDOWSURFACEPROC;
PFNEGLDESTROYCONTEXTPROC;
PFNEGLDESTROYSURFACEPROC;
PFNEGLGETCONFIGATTRIBPROC;
PFNEGLGETCONFIGSPROC;
PFNEGLGETCURRENTDISPLAYPROC;
PFNEGLGETCURRENTSURFACEPROC;
PFNEGLGETDISPLAYPROC;
PFNEGLGETERRORPROC;
PFNEGLGETPROCADDRESSPROC;
PFNEGLINITIALIZEPROC;
PFNEGLMAKECURRENTPROC;
PFNEGLQUERYCONTEXTPROC;
PFNEGLQUERYSTRINGPROC;
PFNEGLQUERYSURFACEPROC;
PFNEGLSWAPBUFFERSPROC;
PFNEGLTERMINATEPROC;
PFNEGLWAITGLPROC;
PFNEGLWAITNATIVEPROC;
#if EGL_EGL_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config);
EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config);
EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay (void);
EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface (EGLint readdraw);
EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay (EGLNativeDisplayType display_id);
EGLAPI EGLint EGLAPIENTRY eglGetError (void);
EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);
EGLAPI EGLBoolean EGLAPIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);
EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
EGLAPI const char *EGLAPIENTRY eglQueryString (EGLDisplay dpy, EGLint name);
EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface surface);
EGLAPI EGLBoolean EGLAPIENTRY eglTerminate (EGLDisplay dpy);
EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL (void);
EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative (EGLint engine);
#endif
#endif
#ifndef EGL_VERSION_1_1
#define EGL_VERSION_1_1 …
#define EGL_BACK_BUFFER …
#define EGL_BIND_TO_TEXTURE_RGB …
#define EGL_BIND_TO_TEXTURE_RGBA …
#define EGL_CONTEXT_LOST …
#define EGL_MIN_SWAP_INTERVAL …
#define EGL_MAX_SWAP_INTERVAL …
#define EGL_MIPMAP_TEXTURE …
#define EGL_MIPMAP_LEVEL …
#define EGL_NO_TEXTURE …
#define EGL_TEXTURE_2D …
#define EGL_TEXTURE_FORMAT …
#define EGL_TEXTURE_RGB …
#define EGL_TEXTURE_RGBA …
#define EGL_TEXTURE_TARGET …
PFNEGLBINDTEXIMAGEPROC;
PFNEGLRELEASETEXIMAGEPROC;
PFNEGLSURFACEATTRIBPROC;
PFNEGLSWAPINTERVALPROC;
#if EGL_EGL_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval);
#endif
#endif
#ifndef EGL_VERSION_1_2
#define EGL_VERSION_1_2 …
EGLenum;
EGLClientBuffer;
#define EGL_ALPHA_FORMAT …
#define EGL_ALPHA_FORMAT_NONPRE …
#define EGL_ALPHA_FORMAT_PRE …
#define EGL_ALPHA_MASK_SIZE …
#define EGL_BUFFER_PRESERVED …
#define EGL_BUFFER_DESTROYED …
#define EGL_CLIENT_APIS …
#define EGL_COLORSPACE …
#define EGL_COLORSPACE_sRGB …
#define EGL_COLORSPACE_LINEAR …
#define EGL_COLOR_BUFFER_TYPE …
#define EGL_CONTEXT_CLIENT_TYPE …
#define EGL_DISPLAY_SCALING …
#define EGL_HORIZONTAL_RESOLUTION …
#define EGL_LUMINANCE_BUFFER …
#define EGL_LUMINANCE_SIZE …
#define EGL_OPENGL_ES_BIT …
#define EGL_OPENVG_BIT …
#define EGL_OPENGL_ES_API …
#define EGL_OPENVG_API …
#define EGL_OPENVG_IMAGE …
#define EGL_PIXEL_ASPECT_RATIO …
#define EGL_RENDERABLE_TYPE …
#define EGL_RENDER_BUFFER …
#define EGL_RGB_BUFFER …
#define EGL_SINGLE_BUFFER …
#define EGL_SWAP_BEHAVIOR …
#define EGL_UNKNOWN …
#define EGL_VERTICAL_RESOLUTION …
PFNEGLBINDAPIPROC;
PFNEGLQUERYAPIPROC;
PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC;
PFNEGLRELEASETHREADPROC;
PFNEGLWAITCLIENTPROC;
#if EGL_EGL_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI (EGLenum api);
EGLAPI EGLenum EGLAPIENTRY eglQueryAPI (void);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread (void);
EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void);
#endif
#endif
#ifndef EGL_VERSION_1_3
#define EGL_VERSION_1_3 …
#define EGL_CONFORMANT …
#define EGL_CONTEXT_CLIENT_VERSION …
#define EGL_MATCH_NATIVE_PIXMAP …
#define EGL_OPENGL_ES2_BIT …
#define EGL_VG_ALPHA_FORMAT …
#define EGL_VG_ALPHA_FORMAT_NONPRE …
#define EGL_VG_ALPHA_FORMAT_PRE …
#define EGL_VG_ALPHA_FORMAT_PRE_BIT …
#define EGL_VG_COLORSPACE …
#define EGL_VG_COLORSPACE_sRGB …
#define EGL_VG_COLORSPACE_LINEAR …
#define EGL_VG_COLORSPACE_LINEAR_BIT …
#endif
#ifndef EGL_VERSION_1_4
#define EGL_VERSION_1_4 …
#define EGL_DEFAULT_DISPLAY …
#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT …
#define EGL_MULTISAMPLE_RESOLVE …
#define EGL_MULTISAMPLE_RESOLVE_DEFAULT …
#define EGL_MULTISAMPLE_RESOLVE_BOX …
#define EGL_OPENGL_API …
#define EGL_OPENGL_BIT …
#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT …
PFNEGLGETCURRENTCONTEXTPROC;
#if EGL_EGL_PROTOTYPES
EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext (void);
#endif
#endif
#ifndef EGL_VERSION_1_5
#define EGL_VERSION_1_5 …
EGLSync;
EGLAttrib;
EGLTime;
EGLImage;
#define EGL_CONTEXT_MAJOR_VERSION …
#define EGL_CONTEXT_MINOR_VERSION …
#define EGL_CONTEXT_OPENGL_PROFILE_MASK …
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY …
#define EGL_NO_RESET_NOTIFICATION …
#define EGL_LOSE_CONTEXT_ON_RESET …
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT …
#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT …
#define EGL_CONTEXT_OPENGL_DEBUG …
#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE …
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS …
#define EGL_OPENGL_ES3_BIT …
#define EGL_CL_EVENT_HANDLE …
#define EGL_SYNC_CL_EVENT …
#define EGL_SYNC_CL_EVENT_COMPLETE …
#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE …
#define EGL_SYNC_TYPE …
#define EGL_SYNC_STATUS …
#define EGL_SYNC_CONDITION …
#define EGL_SIGNALED …
#define EGL_UNSIGNALED …
#define EGL_SYNC_FLUSH_COMMANDS_BIT …
#define EGL_FOREVER …
#define EGL_TIMEOUT_EXPIRED …
#define EGL_CONDITION_SATISFIED …
#define EGL_NO_SYNC …
#define EGL_SYNC_FENCE …
#define EGL_GL_COLORSPACE …
#define EGL_GL_COLORSPACE_SRGB …
#define EGL_GL_COLORSPACE_LINEAR …
#define EGL_GL_RENDERBUFFER …
#define EGL_GL_TEXTURE_2D …
#define EGL_GL_TEXTURE_LEVEL …
#define EGL_GL_TEXTURE_3D …
#define EGL_GL_TEXTURE_ZOFFSET …
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X …
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X …
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y …
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y …
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z …
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z …
#define EGL_IMAGE_PRESERVED …
#define EGL_NO_IMAGE …
PFNEGLCREATESYNCPROC;
PFNEGLDESTROYSYNCPROC;
PFNEGLCLIENTWAITSYNCPROC;
PFNEGLGETSYNCATTRIBPROC;
PFNEGLCREATEIMAGEPROC;
PFNEGLDESTROYIMAGEPROC;
PFNEGLGETPLATFORMDISPLAYPROC;
PFNEGLCREATEPLATFORMWINDOWSURFACEPROC;
PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC;
PFNEGLWAITSYNCPROC;
#if EGL_EGL_PROTOTYPES
EGLAPI EGLSync EGLAPIENTRY eglCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroySync (EGLDisplay dpy, EGLSync sync);
EGLAPI EGLint EGLAPIENTRY eglClientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout);
EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value);
EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImage (EGLDisplay dpy, EGLImage image);
EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags);
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif