1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by generate_loader.py using data from egl.xml and egl_angle_ext.xml. 3 // 4 // Copyright 2018 The ANGLE Project Authors. All rights reserved. 5 // Use of this source code is governed by a BSD-style license that can be 6 // found in the LICENSE file. 7 // 8 // egl_loader_autogen.h: 9 // Simple EGL function loader. 10 11 #ifndef LIBEGL_EGL_LOADER_AUTOGEN_H_ 12 #define LIBEGL_EGL_LOADER_AUTOGEN_H_ 13 14 #include <EGL/egl.h> 15 #include <EGL/eglext.h> 16 #include <export.h> 17 18 #define EGL_ChooseConfig l_EGL_ChooseConfig 19 #define EGL_CopyBuffers l_EGL_CopyBuffers 20 #define EGL_CreateContext l_EGL_CreateContext 21 #define EGL_CreatePbufferSurface l_EGL_CreatePbufferSurface 22 #define EGL_CreatePixmapSurface l_EGL_CreatePixmapSurface 23 #define EGL_CreateWindowSurface l_EGL_CreateWindowSurface 24 #define EGL_DestroyContext l_EGL_DestroyContext 25 #define EGL_DestroySurface l_EGL_DestroySurface 26 #define EGL_GetConfigAttrib l_EGL_GetConfigAttrib 27 #define EGL_GetConfigs l_EGL_GetConfigs 28 #define EGL_GetCurrentDisplay l_EGL_GetCurrentDisplay 29 #define EGL_GetCurrentSurface l_EGL_GetCurrentSurface 30 #define EGL_GetDisplay l_EGL_GetDisplay 31 #define EGL_GetError l_EGL_GetError 32 #define EGL_GetProcAddress l_EGL_GetProcAddress 33 #define EGL_Initialize l_EGL_Initialize 34 #define EGL_MakeCurrent l_EGL_MakeCurrent 35 #define EGL_QueryContext l_EGL_QueryContext 36 #define EGL_QueryString l_EGL_QueryString 37 #define EGL_QuerySurface l_EGL_QuerySurface 38 #define EGL_SwapBuffers l_EGL_SwapBuffers 39 #define EGL_Terminate l_EGL_Terminate 40 #define EGL_WaitGL l_EGL_WaitGL 41 #define EGL_WaitNative l_EGL_WaitNative 42 #define EGL_BindTexImage l_EGL_BindTexImage 43 #define EGL_ReleaseTexImage l_EGL_ReleaseTexImage 44 #define EGL_SurfaceAttrib l_EGL_SurfaceAttrib 45 #define EGL_SwapInterval l_EGL_SwapInterval 46 #define EGL_BindAPI l_EGL_BindAPI 47 #define EGL_QueryAPI l_EGL_QueryAPI 48 #define EGL_CreatePbufferFromClientBuffer l_EGL_CreatePbufferFromClientBuffer 49 #define EGL_ReleaseThread l_EGL_ReleaseThread 50 #define EGL_WaitClient l_EGL_WaitClient 51 #define EGL_GetCurrentContext l_EGL_GetCurrentContext 52 #define EGL_CreateSync l_EGL_CreateSync 53 #define EGL_DestroySync l_EGL_DestroySync 54 #define EGL_ClientWaitSync l_EGL_ClientWaitSync 55 #define EGL_GetSyncAttrib l_EGL_GetSyncAttrib 56 #define EGL_CreateImage l_EGL_CreateImage 57 #define EGL_DestroyImage l_EGL_DestroyImage 58 #define EGL_GetPlatformDisplay l_EGL_GetPlatformDisplay 59 #define EGL_CreatePlatformWindowSurface l_EGL_CreatePlatformWindowSurface 60 #define EGL_CreatePlatformPixmapSurface l_EGL_CreatePlatformPixmapSurface 61 #define EGL_WaitSync l_EGL_WaitSync 62 #define EGL_SetBlobCacheFuncsANDROID l_EGL_SetBlobCacheFuncsANDROID 63 #define EGL_CreateNativeClientBufferANDROID l_EGL_CreateNativeClientBufferANDROID 64 #define EGL_GetCompositorTimingANDROID l_EGL_GetCompositorTimingANDROID 65 #define EGL_GetCompositorTimingSupportedANDROID l_EGL_GetCompositorTimingSupportedANDROID 66 #define EGL_GetFrameTimestampSupportedANDROID l_EGL_GetFrameTimestampSupportedANDROID 67 #define EGL_GetFrameTimestampsANDROID l_EGL_GetFrameTimestampsANDROID 68 #define EGL_GetNextFrameIdANDROID l_EGL_GetNextFrameIdANDROID 69 #define EGL_GetNativeClientBufferANDROID l_EGL_GetNativeClientBufferANDROID 70 #define EGL_DupNativeFenceFDANDROID l_EGL_DupNativeFenceFDANDROID 71 #define EGL_PresentationTimeANDROID l_EGL_PresentationTimeANDROID 72 #define EGL_CreateDeviceANGLE l_EGL_CreateDeviceANGLE 73 #define EGL_ReleaseDeviceANGLE l_EGL_ReleaseDeviceANGLE 74 #define EGL_QueryDisplayAttribANGLE l_EGL_QueryDisplayAttribANGLE 75 #define EGL_QueryStringiANGLE l_EGL_QueryStringiANGLE 76 #define EGL_HandleGPUSwitchANGLE l_EGL_HandleGPUSwitchANGLE 77 #define EGL_ReacquireHighPowerGPUANGLE l_EGL_ReacquireHighPowerGPUANGLE 78 #define EGL_ReleaseHighPowerGPUANGLE l_EGL_ReleaseHighPowerGPUANGLE 79 #define EGL_ProgramCacheGetAttribANGLE l_EGL_ProgramCacheGetAttribANGLE 80 #define EGL_ProgramCachePopulateANGLE l_EGL_ProgramCachePopulateANGLE 81 #define EGL_ProgramCacheQueryANGLE l_EGL_ProgramCacheQueryANGLE 82 #define EGL_ProgramCacheResizeANGLE l_EGL_ProgramCacheResizeANGLE 83 #define EGL_QuerySurfacePointerANGLE l_EGL_QuerySurfacePointerANGLE 84 #define EGL_CreateStreamProducerD3DTextureANGLE l_EGL_CreateStreamProducerD3DTextureANGLE 85 #define EGL_StreamPostD3DTextureANGLE l_EGL_StreamPostD3DTextureANGLE 86 #define EGL_SwapBuffersWithFrameTokenANGLE l_EGL_SwapBuffersWithFrameTokenANGLE 87 #define EGL_GetMscRateANGLE l_EGL_GetMscRateANGLE 88 #define EGL_GetSyncValuesCHROMIUM l_EGL_GetSyncValuesCHROMIUM 89 #define EGL_QueryDeviceAttribEXT l_EGL_QueryDeviceAttribEXT 90 #define EGL_QueryDeviceStringEXT l_EGL_QueryDeviceStringEXT 91 #define EGL_QueryDisplayAttribEXT l_EGL_QueryDisplayAttribEXT 92 #define EGL_CreatePlatformPixmapSurfaceEXT l_EGL_CreatePlatformPixmapSurfaceEXT 93 #define EGL_CreatePlatformWindowSurfaceEXT l_EGL_CreatePlatformWindowSurfaceEXT 94 #define EGL_GetPlatformDisplayEXT l_EGL_GetPlatformDisplayEXT 95 #define EGL_DebugMessageControlKHR l_EGL_DebugMessageControlKHR 96 #define EGL_LabelObjectKHR l_EGL_LabelObjectKHR 97 #define EGL_QueryDebugKHR l_EGL_QueryDebugKHR 98 #define EGL_ClientWaitSyncKHR l_EGL_ClientWaitSyncKHR 99 #define EGL_CreateSyncKHR l_EGL_CreateSyncKHR 100 #define EGL_DestroySyncKHR l_EGL_DestroySyncKHR 101 #define EGL_GetSyncAttribKHR l_EGL_GetSyncAttribKHR 102 #define EGL_CreateImageKHR l_EGL_CreateImageKHR 103 #define EGL_DestroyImageKHR l_EGL_DestroyImageKHR 104 #define EGL_SignalSyncKHR l_EGL_SignalSyncKHR 105 #define EGL_CreateStreamKHR l_EGL_CreateStreamKHR 106 #define EGL_DestroyStreamKHR l_EGL_DestroyStreamKHR 107 #define EGL_QueryStreamKHR l_EGL_QueryStreamKHR 108 #define EGL_QueryStreamu64KHR l_EGL_QueryStreamu64KHR 109 #define EGL_StreamAttribKHR l_EGL_StreamAttribKHR 110 #define EGL_StreamConsumerAcquireKHR l_EGL_StreamConsumerAcquireKHR 111 #define EGL_StreamConsumerGLTextureExternalKHR l_EGL_StreamConsumerGLTextureExternalKHR 112 #define EGL_StreamConsumerReleaseKHR l_EGL_StreamConsumerReleaseKHR 113 #define EGL_SwapBuffersWithDamageKHR l_EGL_SwapBuffersWithDamageKHR 114 #define EGL_WaitSyncKHR l_EGL_WaitSyncKHR 115 #define EGL_PostSubBufferNV l_EGL_PostSubBufferNV 116 #define EGL_StreamConsumerGLTextureExternalAttribsNV l_EGL_StreamConsumerGLTextureExternalAttribsNV 117 ANGLE_NO_EXPORT extern PFNEGLCHOOSECONFIGPROC l_EGL_ChooseConfig; 118 ANGLE_NO_EXPORT extern PFNEGLCOPYBUFFERSPROC l_EGL_CopyBuffers; 119 ANGLE_NO_EXPORT extern PFNEGLCREATECONTEXTPROC l_EGL_CreateContext; 120 ANGLE_NO_EXPORT extern PFNEGLCREATEPBUFFERSURFACEPROC l_EGL_CreatePbufferSurface; 121 ANGLE_NO_EXPORT extern PFNEGLCREATEPIXMAPSURFACEPROC l_EGL_CreatePixmapSurface; 122 ANGLE_NO_EXPORT extern PFNEGLCREATEWINDOWSURFACEPROC l_EGL_CreateWindowSurface; 123 ANGLE_NO_EXPORT extern PFNEGLDESTROYCONTEXTPROC l_EGL_DestroyContext; 124 ANGLE_NO_EXPORT extern PFNEGLDESTROYSURFACEPROC l_EGL_DestroySurface; 125 ANGLE_NO_EXPORT extern PFNEGLGETCONFIGATTRIBPROC l_EGL_GetConfigAttrib; 126 ANGLE_NO_EXPORT extern PFNEGLGETCONFIGSPROC l_EGL_GetConfigs; 127 ANGLE_NO_EXPORT extern PFNEGLGETCURRENTDISPLAYPROC l_EGL_GetCurrentDisplay; 128 ANGLE_NO_EXPORT extern PFNEGLGETCURRENTSURFACEPROC l_EGL_GetCurrentSurface; 129 ANGLE_NO_EXPORT extern PFNEGLGETDISPLAYPROC l_EGL_GetDisplay; 130 ANGLE_NO_EXPORT extern PFNEGLGETERRORPROC l_EGL_GetError; 131 ANGLE_NO_EXPORT extern PFNEGLGETPROCADDRESSPROC l_EGL_GetProcAddress; 132 ANGLE_NO_EXPORT extern PFNEGLINITIALIZEPROC l_EGL_Initialize; 133 ANGLE_NO_EXPORT extern PFNEGLMAKECURRENTPROC l_EGL_MakeCurrent; 134 ANGLE_NO_EXPORT extern PFNEGLQUERYCONTEXTPROC l_EGL_QueryContext; 135 ANGLE_NO_EXPORT extern PFNEGLQUERYSTRINGPROC l_EGL_QueryString; 136 ANGLE_NO_EXPORT extern PFNEGLQUERYSURFACEPROC l_EGL_QuerySurface; 137 ANGLE_NO_EXPORT extern PFNEGLSWAPBUFFERSPROC l_EGL_SwapBuffers; 138 ANGLE_NO_EXPORT extern PFNEGLTERMINATEPROC l_EGL_Terminate; 139 ANGLE_NO_EXPORT extern PFNEGLWAITGLPROC l_EGL_WaitGL; 140 ANGLE_NO_EXPORT extern PFNEGLWAITNATIVEPROC l_EGL_WaitNative; 141 ANGLE_NO_EXPORT extern PFNEGLBINDTEXIMAGEPROC l_EGL_BindTexImage; 142 ANGLE_NO_EXPORT extern PFNEGLRELEASETEXIMAGEPROC l_EGL_ReleaseTexImage; 143 ANGLE_NO_EXPORT extern PFNEGLSURFACEATTRIBPROC l_EGL_SurfaceAttrib; 144 ANGLE_NO_EXPORT extern PFNEGLSWAPINTERVALPROC l_EGL_SwapInterval; 145 ANGLE_NO_EXPORT extern PFNEGLBINDAPIPROC l_EGL_BindAPI; 146 ANGLE_NO_EXPORT extern PFNEGLQUERYAPIPROC l_EGL_QueryAPI; 147 ANGLE_NO_EXPORT extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC l_EGL_CreatePbufferFromClientBuffer; 148 ANGLE_NO_EXPORT extern PFNEGLRELEASETHREADPROC l_EGL_ReleaseThread; 149 ANGLE_NO_EXPORT extern PFNEGLWAITCLIENTPROC l_EGL_WaitClient; 150 ANGLE_NO_EXPORT extern PFNEGLGETCURRENTCONTEXTPROC l_EGL_GetCurrentContext; 151 ANGLE_NO_EXPORT extern PFNEGLCREATESYNCPROC l_EGL_CreateSync; 152 ANGLE_NO_EXPORT extern PFNEGLDESTROYSYNCPROC l_EGL_DestroySync; 153 ANGLE_NO_EXPORT extern PFNEGLCLIENTWAITSYNCPROC l_EGL_ClientWaitSync; 154 ANGLE_NO_EXPORT extern PFNEGLGETSYNCATTRIBPROC l_EGL_GetSyncAttrib; 155 ANGLE_NO_EXPORT extern PFNEGLCREATEIMAGEPROC l_EGL_CreateImage; 156 ANGLE_NO_EXPORT extern PFNEGLDESTROYIMAGEPROC l_EGL_DestroyImage; 157 ANGLE_NO_EXPORT extern PFNEGLGETPLATFORMDISPLAYPROC l_EGL_GetPlatformDisplay; 158 ANGLE_NO_EXPORT extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC l_EGL_CreatePlatformWindowSurface; 159 ANGLE_NO_EXPORT extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC l_EGL_CreatePlatformPixmapSurface; 160 ANGLE_NO_EXPORT extern PFNEGLWAITSYNCPROC l_EGL_WaitSync; 161 ANGLE_NO_EXPORT extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC l_EGL_SetBlobCacheFuncsANDROID; 162 ANGLE_NO_EXPORT extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC 163 l_EGL_CreateNativeClientBufferANDROID; 164 ANGLE_NO_EXPORT extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC l_EGL_GetCompositorTimingANDROID; 165 ANGLE_NO_EXPORT extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC 166 l_EGL_GetCompositorTimingSupportedANDROID; 167 ANGLE_NO_EXPORT extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC 168 l_EGL_GetFrameTimestampSupportedANDROID; 169 ANGLE_NO_EXPORT extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC l_EGL_GetFrameTimestampsANDROID; 170 ANGLE_NO_EXPORT extern PFNEGLGETNEXTFRAMEIDANDROIDPROC l_EGL_GetNextFrameIdANDROID; 171 ANGLE_NO_EXPORT extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC l_EGL_GetNativeClientBufferANDROID; 172 ANGLE_NO_EXPORT extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC l_EGL_DupNativeFenceFDANDROID; 173 ANGLE_NO_EXPORT extern PFNEGLPRESENTATIONTIMEANDROIDPROC l_EGL_PresentationTimeANDROID; 174 ANGLE_NO_EXPORT extern PFNEGLCREATEDEVICEANGLEPROC l_EGL_CreateDeviceANGLE; 175 ANGLE_NO_EXPORT extern PFNEGLRELEASEDEVICEANGLEPROC l_EGL_ReleaseDeviceANGLE; 176 ANGLE_NO_EXPORT extern PFNEGLQUERYDISPLAYATTRIBANGLEPROC l_EGL_QueryDisplayAttribANGLE; 177 ANGLE_NO_EXPORT extern PFNEGLQUERYSTRINGIANGLEPROC l_EGL_QueryStringiANGLE; 178 ANGLE_NO_EXPORT extern PFNEGLHANDLEGPUSWITCHANGLEPROC l_EGL_HandleGPUSwitchANGLE; 179 ANGLE_NO_EXPORT extern PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC l_EGL_ReacquireHighPowerGPUANGLE; 180 ANGLE_NO_EXPORT extern PFNEGLRELEASEHIGHPOWERGPUANGLEPROC l_EGL_ReleaseHighPowerGPUANGLE; 181 ANGLE_NO_EXPORT extern PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC l_EGL_ProgramCacheGetAttribANGLE; 182 ANGLE_NO_EXPORT extern PFNEGLPROGRAMCACHEPOPULATEANGLEPROC l_EGL_ProgramCachePopulateANGLE; 183 ANGLE_NO_EXPORT extern PFNEGLPROGRAMCACHEQUERYANGLEPROC l_EGL_ProgramCacheQueryANGLE; 184 ANGLE_NO_EXPORT extern PFNEGLPROGRAMCACHERESIZEANGLEPROC l_EGL_ProgramCacheResizeANGLE; 185 ANGLE_NO_EXPORT extern PFNEGLQUERYSURFACEPOINTERANGLEPROC l_EGL_QuerySurfacePointerANGLE; 186 ANGLE_NO_EXPORT extern PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC 187 l_EGL_CreateStreamProducerD3DTextureANGLE; 188 ANGLE_NO_EXPORT extern PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC l_EGL_StreamPostD3DTextureANGLE; 189 ANGLE_NO_EXPORT extern PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC 190 l_EGL_SwapBuffersWithFrameTokenANGLE; 191 ANGLE_NO_EXPORT extern PFNEGLGETMSCRATEANGLEPROC l_EGL_GetMscRateANGLE; 192 ANGLE_NO_EXPORT extern PFNEGLGETSYNCVALUESCHROMIUMPROC l_EGL_GetSyncValuesCHROMIUM; 193 ANGLE_NO_EXPORT extern PFNEGLQUERYDEVICEATTRIBEXTPROC l_EGL_QueryDeviceAttribEXT; 194 ANGLE_NO_EXPORT extern PFNEGLQUERYDEVICESTRINGEXTPROC l_EGL_QueryDeviceStringEXT; 195 ANGLE_NO_EXPORT extern PFNEGLQUERYDISPLAYATTRIBEXTPROC l_EGL_QueryDisplayAttribEXT; 196 ANGLE_NO_EXPORT extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC 197 l_EGL_CreatePlatformPixmapSurfaceEXT; 198 ANGLE_NO_EXPORT extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC 199 l_EGL_CreatePlatformWindowSurfaceEXT; 200 ANGLE_NO_EXPORT extern PFNEGLGETPLATFORMDISPLAYEXTPROC l_EGL_GetPlatformDisplayEXT; 201 ANGLE_NO_EXPORT extern PFNEGLDEBUGMESSAGECONTROLKHRPROC l_EGL_DebugMessageControlKHR; 202 ANGLE_NO_EXPORT extern PFNEGLLABELOBJECTKHRPROC l_EGL_LabelObjectKHR; 203 ANGLE_NO_EXPORT extern PFNEGLQUERYDEBUGKHRPROC l_EGL_QueryDebugKHR; 204 ANGLE_NO_EXPORT extern PFNEGLCLIENTWAITSYNCKHRPROC l_EGL_ClientWaitSyncKHR; 205 ANGLE_NO_EXPORT extern PFNEGLCREATESYNCKHRPROC l_EGL_CreateSyncKHR; 206 ANGLE_NO_EXPORT extern PFNEGLDESTROYSYNCKHRPROC l_EGL_DestroySyncKHR; 207 ANGLE_NO_EXPORT extern PFNEGLGETSYNCATTRIBKHRPROC l_EGL_GetSyncAttribKHR; 208 ANGLE_NO_EXPORT extern PFNEGLCREATEIMAGEKHRPROC l_EGL_CreateImageKHR; 209 ANGLE_NO_EXPORT extern PFNEGLDESTROYIMAGEKHRPROC l_EGL_DestroyImageKHR; 210 ANGLE_NO_EXPORT extern PFNEGLSIGNALSYNCKHRPROC l_EGL_SignalSyncKHR; 211 ANGLE_NO_EXPORT extern PFNEGLCREATESTREAMKHRPROC l_EGL_CreateStreamKHR; 212 ANGLE_NO_EXPORT extern PFNEGLDESTROYSTREAMKHRPROC l_EGL_DestroyStreamKHR; 213 ANGLE_NO_EXPORT extern PFNEGLQUERYSTREAMKHRPROC l_EGL_QueryStreamKHR; 214 ANGLE_NO_EXPORT extern PFNEGLQUERYSTREAMU64KHRPROC l_EGL_QueryStreamu64KHR; 215 ANGLE_NO_EXPORT extern PFNEGLSTREAMATTRIBKHRPROC l_EGL_StreamAttribKHR; 216 ANGLE_NO_EXPORT extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC l_EGL_StreamConsumerAcquireKHR; 217 ANGLE_NO_EXPORT extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC 218 l_EGL_StreamConsumerGLTextureExternalKHR; 219 ANGLE_NO_EXPORT extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC l_EGL_StreamConsumerReleaseKHR; 220 ANGLE_NO_EXPORT extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC l_EGL_SwapBuffersWithDamageKHR; 221 ANGLE_NO_EXPORT extern PFNEGLWAITSYNCKHRPROC l_EGL_WaitSyncKHR; 222 ANGLE_NO_EXPORT extern PFNEGLPOSTSUBBUFFERNVPROC l_EGL_PostSubBufferNV; 223 ANGLE_NO_EXPORT extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC 224 l_EGL_StreamConsumerGLTextureExternalAttribsNV; 225 226 namespace angle 227 { 228 using GenericProc = void (*)(); 229 using LoadProc = GenericProc(KHRONOS_APIENTRY *)(const char *); 230 ANGLE_NO_EXPORT void LoadEGL_EGL(LoadProc loadProc); 231 } // namespace angle 232 233 #endif // LIBEGL_EGL_LOADER_AUTOGEN_H_ 234