#ifndef GLAD_EGL_H_
#define GLAD_EGL_H_
#define GLAD_EGL
#define GLAD_OPTION_EGL_LOADER
#ifdef __cplusplus
extern "C" {
#endif
#ifndef GLAD_PLATFORM_H_
#define GLAD_PLATFORM_H_
#ifndef GLAD_PLATFORM_WIN32
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__)
#define GLAD_PLATFORM_WIN32 …
#else
#define GLAD_PLATFORM_WIN32 …
#endif
#endif
#ifndef GLAD_PLATFORM_APPLE
#ifdef __APPLE__
#define GLAD_PLATFORM_APPLE …
#else
#define GLAD_PLATFORM_APPLE …
#endif
#endif
#ifndef GLAD_PLATFORM_EMSCRIPTEN
#ifdef __EMSCRIPTEN__
#define GLAD_PLATFORM_EMSCRIPTEN …
#else
#define GLAD_PLATFORM_EMSCRIPTEN …
#endif
#endif
#ifndef GLAD_PLATFORM_UWP
#if defined(_MSC_VER) && !defined(GLAD_INTERNAL_HAVE_WINAPIFAMILY)
#ifdef __has_include
#if __has_include(<winapifamily.h>)
#define GLAD_INTERNAL_HAVE_WINAPIFAMILY …
#endif
#elif _MSC_VER >= 1700 && !_USING_V110_SDK71_
#define GLAD_INTERNAL_HAVE_WINAPIFAMILY …
#endif
#endif
#ifdef GLAD_INTERNAL_HAVE_WINAPIFAMILY
#include <winapifamily.h>
#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
#define GLAD_PLATFORM_UWP …
#endif
#endif
#ifndef GLAD_PLATFORM_UWP
#define GLAD_PLATFORM_UWP …
#endif
#endif
#ifdef __GNUC__
#define GLAD_GNUC_EXTENSION …
#else
#define GLAD_GNUC_EXTENSION
#endif
#define GLAD_UNUSED(x) …
#ifndef GLAD_API_CALL
#if defined(GLAD_API_CALL_EXPORT)
#if GLAD_PLATFORM_WIN32 || defined(__CYGWIN__)
#if defined(GLAD_API_CALL_EXPORT_BUILD)
#if defined(__GNUC__)
#define GLAD_API_CALL …
#else
#define GLAD_API_CALL …
#endif
#else
#if defined(__GNUC__)
#define GLAD_API_CALL …
#else
#define GLAD_API_CALL …
#endif
#endif
#elif defined(__GNUC__) && defined(GLAD_API_CALL_EXPORT_BUILD)
#define GLAD_API_CALL …
#else
#define GLAD_API_CALL …
#endif
#else
#define GLAD_API_CALL …
#endif
#endif
#ifdef APIENTRY
#define GLAD_API_PTR …
#elif GLAD_PLATFORM_WIN32
#define GLAD_API_PTR …
#else
#define GLAD_API_PTR
#endif
#ifndef GLAPI
#define GLAPI …
#endif
#ifndef GLAPIENTRY
#define GLAPIENTRY …
#endif
#define GLAD_MAKE_VERSION(major, minor) …
#define GLAD_VERSION_MAJOR(version) …
#define GLAD_VERSION_MINOR(version) …
#define GLAD_GENERATOR_VERSION …
GLADapiproc;
GLADloadfunc;
GLADuserptrloadfunc;
GLADprecallback;
GLADpostcallback;
#endif
#define EGL_ALPHA_FORMAT …
#define EGL_ALPHA_FORMAT_NONPRE …
#define EGL_ALPHA_FORMAT_PRE …
#define EGL_ALPHA_MASK_SIZE …
#define EGL_ALPHA_SIZE …
#define EGL_BACK_BUFFER …
#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_BIND_TO_TEXTURE_RGB …
#define EGL_BIND_TO_TEXTURE_RGBA …
#define EGL_BLUE_SIZE …
#define EGL_BUFFER_DESTROYED …
#define EGL_BUFFER_PRESERVED …
#define EGL_BUFFER_SIZE …
#define EGL_CLIENT_APIS …
#define EGL_CL_EVENT_HANDLE …
#define EGL_COLORSPACE …
#define EGL_COLORSPACE_LINEAR …
#define EGL_COLORSPACE_sRGB …
#define EGL_COLOR_BUFFER_TYPE …
#define EGL_CONDITION_SATISFIED …
#define EGL_CONFIG_CAVEAT …
#define EGL_CONFIG_ID …
#define EGL_CONFORMANT …
#define EGL_CONTEXT_CLIENT_TYPE …
#define EGL_CONTEXT_CLIENT_VERSION …
#define EGL_CONTEXT_LOST …
#define EGL_CONTEXT_MAJOR_VERSION …
#define EGL_CONTEXT_MINOR_VERSION …
#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT …
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT …
#define EGL_CONTEXT_OPENGL_DEBUG …
#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE …
#define EGL_CONTEXT_OPENGL_PROFILE_MASK …
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY …
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS …
#define EGL_CORE_NATIVE_ENGINE …
#define EGL_DEFAULT_DISPLAY …
#define EGL_DEPTH_SIZE …
#define EGL_DISPLAY_SCALING …
#define EGL_DONT_CARE …
#define EGL_DRAW …
#define EGL_EXTENSIONS …
#define EGL_FALSE …
#define EGL_FOREVER …
#define EGL_GL_COLORSPACE …
#define EGL_GL_COLORSPACE_LINEAR …
#define EGL_GL_COLORSPACE_SRGB …
#define EGL_GL_RENDERBUFFER …
#define EGL_GL_TEXTURE_2D …
#define EGL_GL_TEXTURE_3D …
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X …
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y …
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z …
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X …
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y …
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z …
#define EGL_GL_TEXTURE_LEVEL …
#define EGL_GL_TEXTURE_ZOFFSET …
#define EGL_GREEN_SIZE …
#define EGL_HEIGHT …
#define EGL_HORIZONTAL_RESOLUTION …
#define EGL_IMAGE_PRESERVED …
#define EGL_LARGEST_PBUFFER …
#define EGL_LEVEL …
#define EGL_LOSE_CONTEXT_ON_RESET …
#define EGL_LUMINANCE_BUFFER …
#define EGL_LUMINANCE_SIZE …
#define EGL_MATCH_NATIVE_PIXMAP …
#define EGL_MAX_PBUFFER_HEIGHT …
#define EGL_MAX_PBUFFER_PIXELS …
#define EGL_MAX_PBUFFER_WIDTH …
#define EGL_MAX_SWAP_INTERVAL …
#define EGL_MIN_SWAP_INTERVAL …
#define EGL_MIPMAP_LEVEL …
#define EGL_MIPMAP_TEXTURE …
#define EGL_MULTISAMPLE_RESOLVE …
#define EGL_MULTISAMPLE_RESOLVE_BOX …
#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT …
#define EGL_MULTISAMPLE_RESOLVE_DEFAULT …
#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_IMAGE …
#define EGL_NO_RESET_NOTIFICATION …
#define EGL_NO_SURFACE …
#define EGL_NO_SYNC …
#define EGL_NO_TEXTURE …
#define EGL_OPENGL_API …
#define EGL_OPENGL_BIT …
#define EGL_OPENGL_ES2_BIT …
#define EGL_OPENGL_ES3_BIT …
#define EGL_OPENGL_ES_API …
#define EGL_OPENGL_ES_BIT …
#define EGL_OPENVG_API …
#define EGL_OPENVG_BIT …
#define EGL_OPENVG_IMAGE …
#define EGL_PBUFFER_BIT …
#define EGL_PIXEL_ASPECT_RATIO …
#define EGL_PIXMAP_BIT …
#define EGL_PLATFORM_WAYLAND_KHR …
#define EGL_PLATFORM_X11_KHR …
#define EGL_PLATFORM_X11_SCREEN_KHR …
#define EGL_READ …
#define EGL_RED_SIZE …
#define EGL_RENDERABLE_TYPE …
#define EGL_RENDER_BUFFER …
#define EGL_RGB_BUFFER …
#define EGL_SAMPLES …
#define EGL_SAMPLE_BUFFERS …
#define EGL_SIGNALED …
#define EGL_SINGLE_BUFFER …
#define EGL_SLOW_CONFIG …
#define EGL_STENCIL_SIZE …
#define EGL_SUCCESS …
#define EGL_SURFACE_TYPE …
#define EGL_SWAP_BEHAVIOR …
#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT …
#define EGL_SYNC_CL_EVENT …
#define EGL_SYNC_CL_EVENT_COMPLETE …
#define EGL_SYNC_CONDITION …
#define EGL_SYNC_FENCE …
#define EGL_SYNC_FLUSH_COMMANDS_BIT …
#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE …
#define EGL_SYNC_STATUS …
#define EGL_SYNC_TYPE …
#define EGL_TEXTURE_2D …
#define EGL_TEXTURE_FORMAT …
#define EGL_TEXTURE_RGB …
#define EGL_TEXTURE_RGBA …
#define EGL_TEXTURE_TARGET …
#define EGL_TIMEOUT_EXPIRED …
#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_UNKNOWN …
#define EGL_UNSIGNALED …
#define EGL_VENDOR …
#define EGL_VERSION …
#define EGL_VERTICAL_RESOLUTION …
#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_LINEAR …
#define EGL_VG_COLORSPACE_LINEAR_BIT …
#define EGL_VG_COLORSPACE_sRGB …
#define EGL_WIDTH …
#define EGL_WINDOW_BIT …
#include <KHR/khrplatform.h>
#include <EGL/eglplatform.h>
struct AHardwareBuffer;
struct wl_buffer;
struct wl_display;
struct wl_resource;
EGLBoolean;
EGLenum;
EGLAttribKHR;
EGLAttrib;
EGLClientBuffer;
EGLConfig;
EGLContext;
EGLDeviceEXT;
EGLDisplay;
EGLImage;
EGLImageKHR;
EGLLabelKHR;
EGLObjectKHR;
EGLOutputLayerEXT;
EGLOutputPortEXT;
EGLStreamKHR;
EGLSurface;
EGLSync;
EGLSyncKHR;
EGLSyncNV;
__eglMustCastToProperFunctionPointerType;
EGLTimeKHR;
EGLTime;
EGLTimeNV;
EGLuint64NV;
EGLuint64KHR;
EGLnsecsANDROID;
EGLNativeFileDescriptorKHR;
EGLsizeiANDROID;
EGLSetBlobFuncANDROID;
EGLGetBlobFuncANDROID;
struct EGLClientPixmapHI { … };
EGLDEBUGPROCKHR;
#define PFNEGLBINDWAYLANDDISPLAYWL …
#define PFNEGLUNBINDWAYLANDDISPLAYWL …
#define PFNEGLQUERYWAYLANDBUFFERWL …
#define PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL …
#define EGL_VERSION_1_0 …
GLAD_API_CALL int GLAD_EGL_VERSION_1_0;
#define EGL_VERSION_1_1 …
GLAD_API_CALL int GLAD_EGL_VERSION_1_1;
#define EGL_VERSION_1_2 …
GLAD_API_CALL int GLAD_EGL_VERSION_1_2;
#define EGL_VERSION_1_3 …
GLAD_API_CALL int GLAD_EGL_VERSION_1_3;
#define EGL_VERSION_1_4 …
GLAD_API_CALL int GLAD_EGL_VERSION_1_4;
#define EGL_VERSION_1_5 …
GLAD_API_CALL int GLAD_EGL_VERSION_1_5;
#define EGL_ANDROID_blob_cache …
GLAD_API_CALL int GLAD_EGL_ANDROID_blob_cache;
#define EGL_EXT_platform_base …
GLAD_API_CALL int GLAD_EGL_EXT_platform_base;
#define EGL_KHR_platform_wayland …
GLAD_API_CALL int GLAD_EGL_KHR_platform_wayland;
#define EGL_KHR_platform_x11 …
GLAD_API_CALL int GLAD_EGL_KHR_platform_x11;
PFNEGLBINDAPIPROC;
PFNEGLBINDTEXIMAGEPROC;
PFNEGLCHOOSECONFIGPROC;
PFNEGLCLIENTWAITSYNCPROC;
PFNEGLCOPYBUFFERSPROC;
PFNEGLCREATECONTEXTPROC;
PFNEGLCREATEIMAGEPROC;
PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC;
PFNEGLCREATEPBUFFERSURFACEPROC;
PFNEGLCREATEPIXMAPSURFACEPROC;
PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC;
PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC;
PFNEGLCREATEPLATFORMWINDOWSURFACEPROC;
PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC;
PFNEGLCREATESYNCPROC;
PFNEGLCREATEWINDOWSURFACEPROC;
PFNEGLDESTROYCONTEXTPROC;
PFNEGLDESTROYIMAGEPROC;
PFNEGLDESTROYSURFACEPROC;
PFNEGLDESTROYSYNCPROC;
PFNEGLGETCONFIGATTRIBPROC;
PFNEGLGETCONFIGSPROC;
PFNEGLGETCURRENTCONTEXTPROC;
PFNEGLGETCURRENTDISPLAYPROC;
PFNEGLGETCURRENTSURFACEPROC;
PFNEGLGETDISPLAYPROC;
PFNEGLGETERRORPROC;
PFNEGLGETPLATFORMDISPLAYPROC;
PFNEGLGETPLATFORMDISPLAYEXTPROC;
PFNEGLGETPROCADDRESSPROC;
PFNEGLGETSYNCATTRIBPROC;
PFNEGLINITIALIZEPROC;
PFNEGLMAKECURRENTPROC;
PFNEGLQUERYAPIPROC;
PFNEGLQUERYCONTEXTPROC;
PFNEGLQUERYSTRINGPROC;
PFNEGLQUERYSURFACEPROC;
PFNEGLRELEASETEXIMAGEPROC;
PFNEGLRELEASETHREADPROC;
PFNEGLSETBLOBCACHEFUNCSANDROIDPROC;
PFNEGLSURFACEATTRIBPROC;
PFNEGLSWAPBUFFERSPROC;
PFNEGLSWAPINTERVALPROC;
PFNEGLTERMINATEPROC;
PFNEGLWAITCLIENTPROC;
PFNEGLWAITGLPROC;
PFNEGLWAITNATIVEPROC;
PFNEGLWAITSYNCPROC;
GLAD_API_CALL PFNEGLBINDAPIPROC glad_eglBindAPI;
#define eglBindAPI …
GLAD_API_CALL PFNEGLBINDTEXIMAGEPROC glad_eglBindTexImage;
#define eglBindTexImage …
GLAD_API_CALL PFNEGLCHOOSECONFIGPROC glad_eglChooseConfig;
#define eglChooseConfig …
GLAD_API_CALL PFNEGLCLIENTWAITSYNCPROC glad_eglClientWaitSync;
#define eglClientWaitSync …
GLAD_API_CALL PFNEGLCOPYBUFFERSPROC glad_eglCopyBuffers;
#define eglCopyBuffers …
GLAD_API_CALL PFNEGLCREATECONTEXTPROC glad_eglCreateContext;
#define eglCreateContext …
GLAD_API_CALL PFNEGLCREATEIMAGEPROC glad_eglCreateImage;
#define eglCreateImage …
GLAD_API_CALL PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC glad_eglCreatePbufferFromClientBuffer;
#define eglCreatePbufferFromClientBuffer …
GLAD_API_CALL PFNEGLCREATEPBUFFERSURFACEPROC glad_eglCreatePbufferSurface;
#define eglCreatePbufferSurface …
GLAD_API_CALL PFNEGLCREATEPIXMAPSURFACEPROC glad_eglCreatePixmapSurface;
#define eglCreatePixmapSurface …
GLAD_API_CALL PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC glad_eglCreatePlatformPixmapSurface;
#define eglCreatePlatformPixmapSurface …
GLAD_API_CALL PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC glad_eglCreatePlatformPixmapSurfaceEXT;
#define eglCreatePlatformPixmapSurfaceEXT …
GLAD_API_CALL PFNEGLCREATEPLATFORMWINDOWSURFACEPROC glad_eglCreatePlatformWindowSurface;
#define eglCreatePlatformWindowSurface …
GLAD_API_CALL PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC glad_eglCreatePlatformWindowSurfaceEXT;
#define eglCreatePlatformWindowSurfaceEXT …
GLAD_API_CALL PFNEGLCREATESYNCPROC glad_eglCreateSync;
#define eglCreateSync …
GLAD_API_CALL PFNEGLCREATEWINDOWSURFACEPROC glad_eglCreateWindowSurface;
#define eglCreateWindowSurface …
GLAD_API_CALL PFNEGLDESTROYCONTEXTPROC glad_eglDestroyContext;
#define eglDestroyContext …
GLAD_API_CALL PFNEGLDESTROYIMAGEPROC glad_eglDestroyImage;
#define eglDestroyImage …
GLAD_API_CALL PFNEGLDESTROYSURFACEPROC glad_eglDestroySurface;
#define eglDestroySurface …
GLAD_API_CALL PFNEGLDESTROYSYNCPROC glad_eglDestroySync;
#define eglDestroySync …
GLAD_API_CALL PFNEGLGETCONFIGATTRIBPROC glad_eglGetConfigAttrib;
#define eglGetConfigAttrib …
GLAD_API_CALL PFNEGLGETCONFIGSPROC glad_eglGetConfigs;
#define eglGetConfigs …
GLAD_API_CALL PFNEGLGETCURRENTCONTEXTPROC glad_eglGetCurrentContext;
#define eglGetCurrentContext …
GLAD_API_CALL PFNEGLGETCURRENTDISPLAYPROC glad_eglGetCurrentDisplay;
#define eglGetCurrentDisplay …
GLAD_API_CALL PFNEGLGETCURRENTSURFACEPROC glad_eglGetCurrentSurface;
#define eglGetCurrentSurface …
GLAD_API_CALL PFNEGLGETDISPLAYPROC glad_eglGetDisplay;
#define eglGetDisplay …
GLAD_API_CALL PFNEGLGETERRORPROC glad_eglGetError;
#define eglGetError …
GLAD_API_CALL PFNEGLGETPLATFORMDISPLAYPROC glad_eglGetPlatformDisplay;
#define eglGetPlatformDisplay …
GLAD_API_CALL PFNEGLGETPLATFORMDISPLAYEXTPROC glad_eglGetPlatformDisplayEXT;
#define eglGetPlatformDisplayEXT …
GLAD_API_CALL PFNEGLGETPROCADDRESSPROC glad_eglGetProcAddress;
#define eglGetProcAddress …
GLAD_API_CALL PFNEGLGETSYNCATTRIBPROC glad_eglGetSyncAttrib;
#define eglGetSyncAttrib …
GLAD_API_CALL PFNEGLINITIALIZEPROC glad_eglInitialize;
#define eglInitialize …
GLAD_API_CALL PFNEGLMAKECURRENTPROC glad_eglMakeCurrent;
#define eglMakeCurrent …
GLAD_API_CALL PFNEGLQUERYAPIPROC glad_eglQueryAPI;
#define eglQueryAPI …
GLAD_API_CALL PFNEGLQUERYCONTEXTPROC glad_eglQueryContext;
#define eglQueryContext …
GLAD_API_CALL PFNEGLQUERYSTRINGPROC glad_eglQueryString;
#define eglQueryString …
GLAD_API_CALL PFNEGLQUERYSURFACEPROC glad_eglQuerySurface;
#define eglQuerySurface …
GLAD_API_CALL PFNEGLRELEASETEXIMAGEPROC glad_eglReleaseTexImage;
#define eglReleaseTexImage …
GLAD_API_CALL PFNEGLRELEASETHREADPROC glad_eglReleaseThread;
#define eglReleaseThread …
GLAD_API_CALL PFNEGLSETBLOBCACHEFUNCSANDROIDPROC glad_eglSetBlobCacheFuncsANDROID;
#define eglSetBlobCacheFuncsANDROID …
GLAD_API_CALL PFNEGLSURFACEATTRIBPROC glad_eglSurfaceAttrib;
#define eglSurfaceAttrib …
GLAD_API_CALL PFNEGLSWAPBUFFERSPROC glad_eglSwapBuffers;
#define eglSwapBuffers …
GLAD_API_CALL PFNEGLSWAPINTERVALPROC glad_eglSwapInterval;
#define eglSwapInterval …
GLAD_API_CALL PFNEGLTERMINATEPROC glad_eglTerminate;
#define eglTerminate …
GLAD_API_CALL PFNEGLWAITCLIENTPROC glad_eglWaitClient;
#define eglWaitClient …
GLAD_API_CALL PFNEGLWAITGLPROC glad_eglWaitGL;
#define eglWaitGL …
GLAD_API_CALL PFNEGLWAITNATIVEPROC glad_eglWaitNative;
#define eglWaitNative …
GLAD_API_CALL PFNEGLWAITSYNCPROC glad_eglWaitSync;
#define eglWaitSync …
GLAD_API_CALL int gladLoadEGLUserPtr(EGLDisplay display, GLADuserptrloadfunc load, void *userptr);
GLAD_API_CALL int gladLoadEGL(EGLDisplay display, GLADloadfunc load);
#ifdef GLAD_EGL
GLAD_API_CALL int gladLoaderLoadEGL(EGLDisplay display);
GLAD_API_CALL void gladLoaderUnloadEGL(void);
#endif
#ifdef __cplusplus
}
#endif
#endif