Path: blob/master/thirdparty/angle/include/EGL/egl.h
10279 views
#ifndef __egl_h_1#define __egl_h_ 123#ifdef __cplusplus4extern "C" {5#endif67/*8** Copyright 2013-2020 The Khronos Group Inc.9** SPDX-License-Identifier: Apache-2.010**11** This header is generated from the Khronos EGL XML API Registry.12** The current version of the Registry, generator scripts13** used to make the header, and the header can be found at14** http://www.khronos.org/registry/egl15**16** Khronos $Git commit SHA1: 6fb1daea15 $ on $Git commit date: 2022-05-25 09:41:13 -0600 $17*/1819#include <EGL/eglplatform.h>2021#ifndef EGL_EGL_PROTOTYPES22#define EGL_EGL_PROTOTYPES 123#endif2425/* Generated on date 20220525 */2627/* Generated C header for:28* API: egl29* Versions considered: .*30* Versions emitted: .*31* Default extensions included: None32* Additional extensions included: _nomatch_^33* Extensions removed: _nomatch_^34*/3536#ifndef EGL_VERSION_1_037#define EGL_VERSION_1_0 138typedef unsigned int EGLBoolean;39typedef void *EGLDisplay;40#include <KHR/khrplatform.h>41#include <EGL/eglplatform.h>42typedef void *EGLConfig;43typedef void *EGLSurface;44typedef void *EGLContext;45typedef void (*__eglMustCastToProperFunctionPointerType)(void);46#define EGL_ALPHA_SIZE 0x302147#define EGL_BAD_ACCESS 0x300248#define EGL_BAD_ALLOC 0x300349#define EGL_BAD_ATTRIBUTE 0x300450#define EGL_BAD_CONFIG 0x300551#define EGL_BAD_CONTEXT 0x300652#define EGL_BAD_CURRENT_SURFACE 0x300753#define EGL_BAD_DISPLAY 0x300854#define EGL_BAD_MATCH 0x300955#define EGL_BAD_NATIVE_PIXMAP 0x300A56#define EGL_BAD_NATIVE_WINDOW 0x300B57#define EGL_BAD_PARAMETER 0x300C58#define EGL_BAD_SURFACE 0x300D59#define EGL_BLUE_SIZE 0x302260#define EGL_BUFFER_SIZE 0x302061#define EGL_CONFIG_CAVEAT 0x302762#define EGL_CONFIG_ID 0x302863#define EGL_CORE_NATIVE_ENGINE 0x305B64#define EGL_DEPTH_SIZE 0x302565#define EGL_DONT_CARE EGL_CAST(EGLint,-1)66#define EGL_DRAW 0x305967#define EGL_EXTENSIONS 0x305568#define EGL_FALSE 069#define EGL_GREEN_SIZE 0x302370#define EGL_HEIGHT 0x305671#define EGL_LARGEST_PBUFFER 0x305872#define EGL_LEVEL 0x302973#define EGL_MAX_PBUFFER_HEIGHT 0x302A74#define EGL_MAX_PBUFFER_PIXELS 0x302B75#define EGL_MAX_PBUFFER_WIDTH 0x302C76#define EGL_NATIVE_RENDERABLE 0x302D77#define EGL_NATIVE_VISUAL_ID 0x302E78#define EGL_NATIVE_VISUAL_TYPE 0x302F79#define EGL_NONE 0x303880#define EGL_NON_CONFORMANT_CONFIG 0x305181#define EGL_NOT_INITIALIZED 0x300182#define EGL_NO_CONTEXT EGL_CAST(EGLContext,0)83#define EGL_NO_DISPLAY EGL_CAST(EGLDisplay,0)84#define EGL_NO_SURFACE EGL_CAST(EGLSurface,0)85#define EGL_PBUFFER_BIT 0x000186#define EGL_PIXMAP_BIT 0x000287#define EGL_READ 0x305A88#define EGL_RED_SIZE 0x302489#define EGL_SAMPLES 0x303190#define EGL_SAMPLE_BUFFERS 0x303291#define EGL_SLOW_CONFIG 0x305092#define EGL_STENCIL_SIZE 0x302693#define EGL_SUCCESS 0x300094#define EGL_SURFACE_TYPE 0x303395#define EGL_TRANSPARENT_BLUE_VALUE 0x303596#define EGL_TRANSPARENT_GREEN_VALUE 0x303697#define EGL_TRANSPARENT_RED_VALUE 0x303798#define EGL_TRANSPARENT_RGB 0x305299#define EGL_TRANSPARENT_TYPE 0x3034100#define EGL_TRUE 1101#define EGL_VENDOR 0x3053102#define EGL_VERSION 0x3054103#define EGL_WIDTH 0x3057104#define EGL_WINDOW_BIT 0x0004105typedef EGLBoolean (EGLAPIENTRYP PFNEGLCHOOSECONFIGPROC) (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config);106typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOPYBUFFERSPROC) (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);107typedef EGLContext (EGLAPIENTRYP PFNEGLCREATECONTEXTPROC) (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list);108typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERSURFACEPROC) (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);109typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEPROC) (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list);110typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEWINDOWSURFACEPROC) (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);111typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx);112typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface);113typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCONFIGATTRIBPROC) (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);114typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCONFIGSPROC) (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config);115typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETCURRENTDISPLAYPROC) (void);116typedef EGLSurface (EGLAPIENTRYP PFNEGLGETCURRENTSURFACEPROC) (EGLint readdraw);117typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETDISPLAYPROC) (EGLNativeDisplayType display_id);118typedef EGLint (EGLAPIENTRYP PFNEGLGETERRORPROC) (void);119typedef __eglMustCastToProperFunctionPointerType (EGLAPIENTRYP PFNEGLGETPROCADDRESSPROC) (const char *procname);120typedef EGLBoolean (EGLAPIENTRYP PFNEGLINITIALIZEPROC) (EGLDisplay dpy, EGLint *major, EGLint *minor);121typedef EGLBoolean (EGLAPIENTRYP PFNEGLMAKECURRENTPROC) (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);122typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);123typedef const char *(EGLAPIENTRYP PFNEGLQUERYSTRINGPROC) (EGLDisplay dpy, EGLint name);124typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);125typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSPROC) (EGLDisplay dpy, EGLSurface surface);126typedef EGLBoolean (EGLAPIENTRYP PFNEGLTERMINATEPROC) (EGLDisplay dpy);127typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITGLPROC) (void);128typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITNATIVEPROC) (EGLint engine);129#if EGL_EGL_PROTOTYPES130EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config);131EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);132EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list);133EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);134EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list);135EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);136EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);137EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);138EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);139EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config);140EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay (void);141EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface (EGLint readdraw);142EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay (EGLNativeDisplayType display_id);143EGLAPI EGLint EGLAPIENTRY eglGetError (void);144EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);145EGLAPI EGLBoolean EGLAPIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);146EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);147EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);148EGLAPI const char *EGLAPIENTRY eglQueryString (EGLDisplay dpy, EGLint name);149EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);150EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface surface);151EGLAPI EGLBoolean EGLAPIENTRY eglTerminate (EGLDisplay dpy);152EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL (void);153EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative (EGLint engine);154#endif155#endif /* EGL_VERSION_1_0 */156157#ifndef EGL_VERSION_1_1158#define EGL_VERSION_1_1 1159#define EGL_BACK_BUFFER 0x3084160#define EGL_BIND_TO_TEXTURE_RGB 0x3039161#define EGL_BIND_TO_TEXTURE_RGBA 0x303A162#define EGL_CONTEXT_LOST 0x300E163#define EGL_MIN_SWAP_INTERVAL 0x303B164#define EGL_MAX_SWAP_INTERVAL 0x303C165#define EGL_MIPMAP_TEXTURE 0x3082166#define EGL_MIPMAP_LEVEL 0x3083167#define EGL_NO_TEXTURE 0x305C168#define EGL_TEXTURE_2D 0x305F169#define EGL_TEXTURE_FORMAT 0x3080170#define EGL_TEXTURE_RGB 0x305D171#define EGL_TEXTURE_RGBA 0x305E172#define EGL_TEXTURE_TARGET 0x3081173typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDTEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer);174typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer);175typedef EGLBoolean (EGLAPIENTRYP PFNEGLSURFACEATTRIBPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);176typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPINTERVALPROC) (EGLDisplay dpy, EGLint interval);177#if EGL_EGL_PROTOTYPES178EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);179EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);180EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);181EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval);182#endif183#endif /* EGL_VERSION_1_1 */184185#ifndef EGL_VERSION_1_2186#define EGL_VERSION_1_2 1187typedef unsigned int EGLenum;188typedef void *EGLClientBuffer;189#define EGL_ALPHA_FORMAT 0x3088190#define EGL_ALPHA_FORMAT_NONPRE 0x308B191#define EGL_ALPHA_FORMAT_PRE 0x308C192#define EGL_ALPHA_MASK_SIZE 0x303E193#define EGL_BUFFER_PRESERVED 0x3094194#define EGL_BUFFER_DESTROYED 0x3095195#define EGL_CLIENT_APIS 0x308D196#define EGL_COLORSPACE 0x3087197#define EGL_COLORSPACE_sRGB 0x3089198#define EGL_COLORSPACE_LINEAR 0x308A199#define EGL_COLOR_BUFFER_TYPE 0x303F200#define EGL_CONTEXT_CLIENT_TYPE 0x3097201#define EGL_DISPLAY_SCALING 10000202#define EGL_HORIZONTAL_RESOLUTION 0x3090203#define EGL_LUMINANCE_BUFFER 0x308F204#define EGL_LUMINANCE_SIZE 0x303D205#define EGL_OPENGL_ES_BIT 0x0001206#define EGL_OPENVG_BIT 0x0002207#define EGL_OPENGL_ES_API 0x30A0208#define EGL_OPENVG_API 0x30A1209#define EGL_OPENVG_IMAGE 0x3096210#define EGL_PIXEL_ASPECT_RATIO 0x3092211#define EGL_RENDERABLE_TYPE 0x3040212#define EGL_RENDER_BUFFER 0x3086213#define EGL_RGB_BUFFER 0x308E214#define EGL_SINGLE_BUFFER 0x3085215#define EGL_SWAP_BEHAVIOR 0x3093216#define EGL_UNKNOWN EGL_CAST(EGLint,-1)217#define EGL_VERTICAL_RESOLUTION 0x3091218typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDAPIPROC) (EGLenum api);219typedef EGLenum (EGLAPIENTRYP PFNEGLQUERYAPIPROC) (void);220typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);221typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETHREADPROC) (void);222typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITCLIENTPROC) (void);223#if EGL_EGL_PROTOTYPES224EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI (EGLenum api);225EGLAPI EGLenum EGLAPIENTRY eglQueryAPI (void);226EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);227EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread (void);228EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void);229#endif230#endif /* EGL_VERSION_1_2 */231232#ifndef EGL_VERSION_1_3233#define EGL_VERSION_1_3 1234#define EGL_CONFORMANT 0x3042235#define EGL_CONTEXT_CLIENT_VERSION 0x3098236#define EGL_MATCH_NATIVE_PIXMAP 0x3041237#define EGL_OPENGL_ES2_BIT 0x0004238#define EGL_VG_ALPHA_FORMAT 0x3088239#define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B240#define EGL_VG_ALPHA_FORMAT_PRE 0x308C241#define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040242#define EGL_VG_COLORSPACE 0x3087243#define EGL_VG_COLORSPACE_sRGB 0x3089244#define EGL_VG_COLORSPACE_LINEAR 0x308A245#define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020246#endif /* EGL_VERSION_1_3 */247248#ifndef EGL_VERSION_1_4249#define EGL_VERSION_1_4 1250#define EGL_DEFAULT_DISPLAY EGL_CAST(EGLNativeDisplayType,0)251#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200252#define EGL_MULTISAMPLE_RESOLVE 0x3099253#define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A254#define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B255#define EGL_OPENGL_API 0x30A2256#define EGL_OPENGL_BIT 0x0008257#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400258typedef EGLContext (EGLAPIENTRYP PFNEGLGETCURRENTCONTEXTPROC) (void);259#if EGL_EGL_PROTOTYPES260EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext (void);261#endif262#endif /* EGL_VERSION_1_4 */263264#ifndef EGL_VERSION_1_5265#define EGL_VERSION_1_5 1266typedef void *EGLSync;267typedef intptr_t EGLAttrib;268typedef khronos_utime_nanoseconds_t EGLTime;269typedef void *EGLImage;270#define EGL_CONTEXT_MAJOR_VERSION 0x3098271#define EGL_CONTEXT_MINOR_VERSION 0x30FB272#define EGL_CONTEXT_OPENGL_PROFILE_MASK 0x30FD273#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY 0x31BD274#define EGL_NO_RESET_NOTIFICATION 0x31BE275#define EGL_LOSE_CONTEXT_ON_RESET 0x31BF276#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT 0x00000001277#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT 0x00000002278#define EGL_CONTEXT_OPENGL_DEBUG 0x31B0279#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE 0x31B1280#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS 0x31B2281#define EGL_OPENGL_ES3_BIT 0x00000040282#define EGL_CL_EVENT_HANDLE 0x309C283#define EGL_SYNC_CL_EVENT 0x30FE284#define EGL_SYNC_CL_EVENT_COMPLETE 0x30FF285#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE 0x30F0286#define EGL_SYNC_TYPE 0x30F7287#define EGL_SYNC_STATUS 0x30F1288#define EGL_SYNC_CONDITION 0x30F8289#define EGL_SIGNALED 0x30F2290#define EGL_UNSIGNALED 0x30F3291#define EGL_SYNC_FLUSH_COMMANDS_BIT 0x0001292#define EGL_FOREVER 0xFFFFFFFFFFFFFFFFull293#define EGL_TIMEOUT_EXPIRED 0x30F5294#define EGL_CONDITION_SATISFIED 0x30F6295#define EGL_NO_SYNC EGL_CAST(EGLSync,0)296#define EGL_SYNC_FENCE 0x30F9297#define EGL_GL_COLORSPACE 0x309D298#define EGL_GL_COLORSPACE_SRGB 0x3089299#define EGL_GL_COLORSPACE_LINEAR 0x308A300#define EGL_GL_RENDERBUFFER 0x30B9301#define EGL_GL_TEXTURE_2D 0x30B1302#define EGL_GL_TEXTURE_LEVEL 0x30BC303#define EGL_GL_TEXTURE_3D 0x30B2304#define EGL_GL_TEXTURE_ZOFFSET 0x30BD305#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x30B3306#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x30B4307#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x30B5308#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x30B6309#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x30B7310#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x30B8311#define EGL_IMAGE_PRESERVED 0x30D2312#define EGL_NO_IMAGE EGL_CAST(EGLImage,0)313typedef EGLSync (EGLAPIENTRYP PFNEGLCREATESYNCPROC) (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list);314typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCPROC) (EGLDisplay dpy, EGLSync sync);315typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCPROC) (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout);316typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBPROC) (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value);317typedef EGLImage (EGLAPIENTRYP PFNEGLCREATEIMAGEPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);318typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEPROC) (EGLDisplay dpy, EGLImage image);319typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);320typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);321typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list);322typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITSYNCPROC) (EGLDisplay dpy, EGLSync sync, EGLint flags);323#if EGL_EGL_PROTOTYPES324EGLAPI EGLSync EGLAPIENTRY eglCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list);325EGLAPI EGLBoolean EGLAPIENTRY eglDestroySync (EGLDisplay dpy, EGLSync sync);326EGLAPI EGLint EGLAPIENTRY eglClientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout);327EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value);328EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);329EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImage (EGLDisplay dpy, EGLImage image);330EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);331EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);332EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list);333EGLAPI EGLBoolean EGLAPIENTRY eglWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags);334#endif335#endif /* EGL_VERSION_1_5 */336337#ifdef __cplusplus338}339#endif340341#endif342343344