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.cpp: 9 // Simple EGL function loader. 10 11 #include "egl_loader_autogen.h" 12 13 ANGLE_UTIL_EXPORT PFNEGLCHOOSECONFIGPROC l_eglChooseConfig; 14 ANGLE_UTIL_EXPORT PFNEGLCOPYBUFFERSPROC l_eglCopyBuffers; 15 ANGLE_UTIL_EXPORT PFNEGLCREATECONTEXTPROC l_eglCreateContext; 16 ANGLE_UTIL_EXPORT PFNEGLCREATEPBUFFERSURFACEPROC l_eglCreatePbufferSurface; 17 ANGLE_UTIL_EXPORT PFNEGLCREATEPIXMAPSURFACEPROC l_eglCreatePixmapSurface; 18 ANGLE_UTIL_EXPORT PFNEGLCREATEWINDOWSURFACEPROC l_eglCreateWindowSurface; 19 ANGLE_UTIL_EXPORT PFNEGLDESTROYCONTEXTPROC l_eglDestroyContext; 20 ANGLE_UTIL_EXPORT PFNEGLDESTROYSURFACEPROC l_eglDestroySurface; 21 ANGLE_UTIL_EXPORT PFNEGLGETCONFIGATTRIBPROC l_eglGetConfigAttrib; 22 ANGLE_UTIL_EXPORT PFNEGLGETCONFIGSPROC l_eglGetConfigs; 23 ANGLE_UTIL_EXPORT PFNEGLGETCURRENTDISPLAYPROC l_eglGetCurrentDisplay; 24 ANGLE_UTIL_EXPORT PFNEGLGETCURRENTSURFACEPROC l_eglGetCurrentSurface; 25 ANGLE_UTIL_EXPORT PFNEGLGETDISPLAYPROC l_eglGetDisplay; 26 ANGLE_UTIL_EXPORT PFNEGLGETERRORPROC l_eglGetError; 27 ANGLE_UTIL_EXPORT PFNEGLGETPROCADDRESSPROC l_eglGetProcAddress; 28 ANGLE_UTIL_EXPORT PFNEGLINITIALIZEPROC l_eglInitialize; 29 ANGLE_UTIL_EXPORT PFNEGLMAKECURRENTPROC l_eglMakeCurrent; 30 ANGLE_UTIL_EXPORT PFNEGLQUERYCONTEXTPROC l_eglQueryContext; 31 ANGLE_UTIL_EXPORT PFNEGLQUERYSTRINGPROC l_eglQueryString; 32 ANGLE_UTIL_EXPORT PFNEGLQUERYSURFACEPROC l_eglQuerySurface; 33 ANGLE_UTIL_EXPORT PFNEGLSWAPBUFFERSPROC l_eglSwapBuffers; 34 ANGLE_UTIL_EXPORT PFNEGLTERMINATEPROC l_eglTerminate; 35 ANGLE_UTIL_EXPORT PFNEGLWAITGLPROC l_eglWaitGL; 36 ANGLE_UTIL_EXPORT PFNEGLWAITNATIVEPROC l_eglWaitNative; 37 ANGLE_UTIL_EXPORT PFNEGLBINDTEXIMAGEPROC l_eglBindTexImage; 38 ANGLE_UTIL_EXPORT PFNEGLRELEASETEXIMAGEPROC l_eglReleaseTexImage; 39 ANGLE_UTIL_EXPORT PFNEGLSURFACEATTRIBPROC l_eglSurfaceAttrib; 40 ANGLE_UTIL_EXPORT PFNEGLSWAPINTERVALPROC l_eglSwapInterval; 41 ANGLE_UTIL_EXPORT PFNEGLBINDAPIPROC l_eglBindAPI; 42 ANGLE_UTIL_EXPORT PFNEGLQUERYAPIPROC l_eglQueryAPI; 43 ANGLE_UTIL_EXPORT PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC l_eglCreatePbufferFromClientBuffer; 44 ANGLE_UTIL_EXPORT PFNEGLRELEASETHREADPROC l_eglReleaseThread; 45 ANGLE_UTIL_EXPORT PFNEGLWAITCLIENTPROC l_eglWaitClient; 46 ANGLE_UTIL_EXPORT PFNEGLGETCURRENTCONTEXTPROC l_eglGetCurrentContext; 47 ANGLE_UTIL_EXPORT PFNEGLCREATESYNCPROC l_eglCreateSync; 48 ANGLE_UTIL_EXPORT PFNEGLDESTROYSYNCPROC l_eglDestroySync; 49 ANGLE_UTIL_EXPORT PFNEGLCLIENTWAITSYNCPROC l_eglClientWaitSync; 50 ANGLE_UTIL_EXPORT PFNEGLGETSYNCATTRIBPROC l_eglGetSyncAttrib; 51 ANGLE_UTIL_EXPORT PFNEGLCREATEIMAGEPROC l_eglCreateImage; 52 ANGLE_UTIL_EXPORT PFNEGLDESTROYIMAGEPROC l_eglDestroyImage; 53 ANGLE_UTIL_EXPORT PFNEGLGETPLATFORMDISPLAYPROC l_eglGetPlatformDisplay; 54 ANGLE_UTIL_EXPORT PFNEGLCREATEPLATFORMWINDOWSURFACEPROC l_eglCreatePlatformWindowSurface; 55 ANGLE_UTIL_EXPORT PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC l_eglCreatePlatformPixmapSurface; 56 ANGLE_UTIL_EXPORT PFNEGLWAITSYNCPROC l_eglWaitSync; 57 ANGLE_UTIL_EXPORT PFNEGLSETBLOBCACHEFUNCSANDROIDPROC l_eglSetBlobCacheFuncsANDROID; 58 ANGLE_UTIL_EXPORT PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC l_eglCreateNativeClientBufferANDROID; 59 ANGLE_UTIL_EXPORT PFNEGLGETCOMPOSITORTIMINGANDROIDPROC l_eglGetCompositorTimingANDROID; 60 ANGLE_UTIL_EXPORT PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC 61 l_eglGetCompositorTimingSupportedANDROID; 62 ANGLE_UTIL_EXPORT PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC 63 l_eglGetFrameTimestampSupportedANDROID; 64 ANGLE_UTIL_EXPORT PFNEGLGETFRAMETIMESTAMPSANDROIDPROC l_eglGetFrameTimestampsANDROID; 65 ANGLE_UTIL_EXPORT PFNEGLGETNEXTFRAMEIDANDROIDPROC l_eglGetNextFrameIdANDROID; 66 ANGLE_UTIL_EXPORT PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC l_eglGetNativeClientBufferANDROID; 67 ANGLE_UTIL_EXPORT PFNEGLDUPNATIVEFENCEFDANDROIDPROC l_eglDupNativeFenceFDANDROID; 68 ANGLE_UTIL_EXPORT PFNEGLPRESENTATIONTIMEANDROIDPROC l_eglPresentationTimeANDROID; 69 ANGLE_UTIL_EXPORT PFNEGLCREATEDEVICEANGLEPROC l_eglCreateDeviceANGLE; 70 ANGLE_UTIL_EXPORT PFNEGLRELEASEDEVICEANGLEPROC l_eglReleaseDeviceANGLE; 71 ANGLE_UTIL_EXPORT PFNEGLQUERYDISPLAYATTRIBANGLEPROC l_eglQueryDisplayAttribANGLE; 72 ANGLE_UTIL_EXPORT PFNEGLQUERYSTRINGIANGLEPROC l_eglQueryStringiANGLE; 73 ANGLE_UTIL_EXPORT PFNEGLHANDLEGPUSWITCHANGLEPROC l_eglHandleGPUSwitchANGLE; 74 ANGLE_UTIL_EXPORT PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC l_eglReacquireHighPowerGPUANGLE; 75 ANGLE_UTIL_EXPORT PFNEGLRELEASEHIGHPOWERGPUANGLEPROC l_eglReleaseHighPowerGPUANGLE; 76 ANGLE_UTIL_EXPORT PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC l_eglProgramCacheGetAttribANGLE; 77 ANGLE_UTIL_EXPORT PFNEGLPROGRAMCACHEPOPULATEANGLEPROC l_eglProgramCachePopulateANGLE; 78 ANGLE_UTIL_EXPORT PFNEGLPROGRAMCACHEQUERYANGLEPROC l_eglProgramCacheQueryANGLE; 79 ANGLE_UTIL_EXPORT PFNEGLPROGRAMCACHERESIZEANGLEPROC l_eglProgramCacheResizeANGLE; 80 ANGLE_UTIL_EXPORT PFNEGLQUERYSURFACEPOINTERANGLEPROC l_eglQuerySurfacePointerANGLE; 81 ANGLE_UTIL_EXPORT PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC 82 l_eglCreateStreamProducerD3DTextureANGLE; 83 ANGLE_UTIL_EXPORT PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC l_eglStreamPostD3DTextureANGLE; 84 ANGLE_UTIL_EXPORT PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC l_eglSwapBuffersWithFrameTokenANGLE; 85 ANGLE_UTIL_EXPORT PFNEGLGETMSCRATEANGLEPROC l_eglGetMscRateANGLE; 86 ANGLE_UTIL_EXPORT PFNEGLGETSYNCVALUESCHROMIUMPROC l_eglGetSyncValuesCHROMIUM; 87 ANGLE_UTIL_EXPORT PFNEGLQUERYDEVICEATTRIBEXTPROC l_eglQueryDeviceAttribEXT; 88 ANGLE_UTIL_EXPORT PFNEGLQUERYDEVICESTRINGEXTPROC l_eglQueryDeviceStringEXT; 89 ANGLE_UTIL_EXPORT PFNEGLQUERYDISPLAYATTRIBEXTPROC l_eglQueryDisplayAttribEXT; 90 ANGLE_UTIL_EXPORT PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC l_eglCreatePlatformPixmapSurfaceEXT; 91 ANGLE_UTIL_EXPORT PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC l_eglCreatePlatformWindowSurfaceEXT; 92 ANGLE_UTIL_EXPORT PFNEGLGETPLATFORMDISPLAYEXTPROC l_eglGetPlatformDisplayEXT; 93 ANGLE_UTIL_EXPORT PFNEGLDEBUGMESSAGECONTROLKHRPROC l_eglDebugMessageControlKHR; 94 ANGLE_UTIL_EXPORT PFNEGLLABELOBJECTKHRPROC l_eglLabelObjectKHR; 95 ANGLE_UTIL_EXPORT PFNEGLQUERYDEBUGKHRPROC l_eglQueryDebugKHR; 96 ANGLE_UTIL_EXPORT PFNEGLCLIENTWAITSYNCKHRPROC l_eglClientWaitSyncKHR; 97 ANGLE_UTIL_EXPORT PFNEGLCREATESYNCKHRPROC l_eglCreateSyncKHR; 98 ANGLE_UTIL_EXPORT PFNEGLDESTROYSYNCKHRPROC l_eglDestroySyncKHR; 99 ANGLE_UTIL_EXPORT PFNEGLGETSYNCATTRIBKHRPROC l_eglGetSyncAttribKHR; 100 ANGLE_UTIL_EXPORT PFNEGLCREATEIMAGEKHRPROC l_eglCreateImageKHR; 101 ANGLE_UTIL_EXPORT PFNEGLDESTROYIMAGEKHRPROC l_eglDestroyImageKHR; 102 ANGLE_UTIL_EXPORT PFNEGLSIGNALSYNCKHRPROC l_eglSignalSyncKHR; 103 ANGLE_UTIL_EXPORT PFNEGLCREATESTREAMKHRPROC l_eglCreateStreamKHR; 104 ANGLE_UTIL_EXPORT PFNEGLDESTROYSTREAMKHRPROC l_eglDestroyStreamKHR; 105 ANGLE_UTIL_EXPORT PFNEGLQUERYSTREAMKHRPROC l_eglQueryStreamKHR; 106 ANGLE_UTIL_EXPORT PFNEGLQUERYSTREAMU64KHRPROC l_eglQueryStreamu64KHR; 107 ANGLE_UTIL_EXPORT PFNEGLSTREAMATTRIBKHRPROC l_eglStreamAttribKHR; 108 ANGLE_UTIL_EXPORT PFNEGLSTREAMCONSUMERACQUIREKHRPROC l_eglStreamConsumerAcquireKHR; 109 ANGLE_UTIL_EXPORT PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC 110 l_eglStreamConsumerGLTextureExternalKHR; 111 ANGLE_UTIL_EXPORT PFNEGLSTREAMCONSUMERRELEASEKHRPROC l_eglStreamConsumerReleaseKHR; 112 ANGLE_UTIL_EXPORT PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC l_eglSwapBuffersWithDamageKHR; 113 ANGLE_UTIL_EXPORT PFNEGLWAITSYNCKHRPROC l_eglWaitSyncKHR; 114 ANGLE_UTIL_EXPORT PFNEGLPOSTSUBBUFFERNVPROC l_eglPostSubBufferNV; 115 ANGLE_UTIL_EXPORT PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC 116 l_eglStreamConsumerGLTextureExternalAttribsNV; 117 118 namespace angle 119 { LoadEGL(LoadProc loadProc)120void LoadEGL(LoadProc loadProc) 121 { 122 l_eglChooseConfig = reinterpret_cast<PFNEGLCHOOSECONFIGPROC>(loadProc("eglChooseConfig")); 123 l_eglCopyBuffers = reinterpret_cast<PFNEGLCOPYBUFFERSPROC>(loadProc("eglCopyBuffers")); 124 l_eglCreateContext = reinterpret_cast<PFNEGLCREATECONTEXTPROC>(loadProc("eglCreateContext")); 125 l_eglCreatePbufferSurface = 126 reinterpret_cast<PFNEGLCREATEPBUFFERSURFACEPROC>(loadProc("eglCreatePbufferSurface")); 127 l_eglCreatePixmapSurface = 128 reinterpret_cast<PFNEGLCREATEPIXMAPSURFACEPROC>(loadProc("eglCreatePixmapSurface")); 129 l_eglCreateWindowSurface = 130 reinterpret_cast<PFNEGLCREATEWINDOWSURFACEPROC>(loadProc("eglCreateWindowSurface")); 131 l_eglDestroyContext = reinterpret_cast<PFNEGLDESTROYCONTEXTPROC>(loadProc("eglDestroyContext")); 132 l_eglDestroySurface = reinterpret_cast<PFNEGLDESTROYSURFACEPROC>(loadProc("eglDestroySurface")); 133 l_eglGetConfigAttrib = 134 reinterpret_cast<PFNEGLGETCONFIGATTRIBPROC>(loadProc("eglGetConfigAttrib")); 135 l_eglGetConfigs = reinterpret_cast<PFNEGLGETCONFIGSPROC>(loadProc("eglGetConfigs")); 136 l_eglGetCurrentDisplay = 137 reinterpret_cast<PFNEGLGETCURRENTDISPLAYPROC>(loadProc("eglGetCurrentDisplay")); 138 l_eglGetCurrentSurface = 139 reinterpret_cast<PFNEGLGETCURRENTSURFACEPROC>(loadProc("eglGetCurrentSurface")); 140 l_eglGetDisplay = reinterpret_cast<PFNEGLGETDISPLAYPROC>(loadProc("eglGetDisplay")); 141 l_eglGetError = reinterpret_cast<PFNEGLGETERRORPROC>(loadProc("eglGetError")); 142 l_eglGetProcAddress = reinterpret_cast<PFNEGLGETPROCADDRESSPROC>(loadProc("eglGetProcAddress")); 143 l_eglInitialize = reinterpret_cast<PFNEGLINITIALIZEPROC>(loadProc("eglInitialize")); 144 l_eglMakeCurrent = reinterpret_cast<PFNEGLMAKECURRENTPROC>(loadProc("eglMakeCurrent")); 145 l_eglQueryContext = reinterpret_cast<PFNEGLQUERYCONTEXTPROC>(loadProc("eglQueryContext")); 146 l_eglQueryString = reinterpret_cast<PFNEGLQUERYSTRINGPROC>(loadProc("eglQueryString")); 147 l_eglQuerySurface = reinterpret_cast<PFNEGLQUERYSURFACEPROC>(loadProc("eglQuerySurface")); 148 l_eglSwapBuffers = reinterpret_cast<PFNEGLSWAPBUFFERSPROC>(loadProc("eglSwapBuffers")); 149 l_eglTerminate = reinterpret_cast<PFNEGLTERMINATEPROC>(loadProc("eglTerminate")); 150 l_eglWaitGL = reinterpret_cast<PFNEGLWAITGLPROC>(loadProc("eglWaitGL")); 151 l_eglWaitNative = reinterpret_cast<PFNEGLWAITNATIVEPROC>(loadProc("eglWaitNative")); 152 l_eglBindTexImage = reinterpret_cast<PFNEGLBINDTEXIMAGEPROC>(loadProc("eglBindTexImage")); 153 l_eglReleaseTexImage = 154 reinterpret_cast<PFNEGLRELEASETEXIMAGEPROC>(loadProc("eglReleaseTexImage")); 155 l_eglSurfaceAttrib = reinterpret_cast<PFNEGLSURFACEATTRIBPROC>(loadProc("eglSurfaceAttrib")); 156 l_eglSwapInterval = reinterpret_cast<PFNEGLSWAPINTERVALPROC>(loadProc("eglSwapInterval")); 157 l_eglBindAPI = reinterpret_cast<PFNEGLBINDAPIPROC>(loadProc("eglBindAPI")); 158 l_eglQueryAPI = reinterpret_cast<PFNEGLQUERYAPIPROC>(loadProc("eglQueryAPI")); 159 l_eglCreatePbufferFromClientBuffer = reinterpret_cast<PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC>( 160 loadProc("eglCreatePbufferFromClientBuffer")); 161 l_eglReleaseThread = reinterpret_cast<PFNEGLRELEASETHREADPROC>(loadProc("eglReleaseThread")); 162 l_eglWaitClient = reinterpret_cast<PFNEGLWAITCLIENTPROC>(loadProc("eglWaitClient")); 163 l_eglGetCurrentContext = 164 reinterpret_cast<PFNEGLGETCURRENTCONTEXTPROC>(loadProc("eglGetCurrentContext")); 165 l_eglCreateSync = reinterpret_cast<PFNEGLCREATESYNCPROC>(loadProc("eglCreateSync")); 166 l_eglDestroySync = reinterpret_cast<PFNEGLDESTROYSYNCPROC>(loadProc("eglDestroySync")); 167 l_eglClientWaitSync = reinterpret_cast<PFNEGLCLIENTWAITSYNCPROC>(loadProc("eglClientWaitSync")); 168 l_eglGetSyncAttrib = reinterpret_cast<PFNEGLGETSYNCATTRIBPROC>(loadProc("eglGetSyncAttrib")); 169 l_eglCreateImage = reinterpret_cast<PFNEGLCREATEIMAGEPROC>(loadProc("eglCreateImage")); 170 l_eglDestroyImage = reinterpret_cast<PFNEGLDESTROYIMAGEPROC>(loadProc("eglDestroyImage")); 171 l_eglGetPlatformDisplay = 172 reinterpret_cast<PFNEGLGETPLATFORMDISPLAYPROC>(loadProc("eglGetPlatformDisplay")); 173 l_eglCreatePlatformWindowSurface = reinterpret_cast<PFNEGLCREATEPLATFORMWINDOWSURFACEPROC>( 174 loadProc("eglCreatePlatformWindowSurface")); 175 l_eglCreatePlatformPixmapSurface = reinterpret_cast<PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC>( 176 loadProc("eglCreatePlatformPixmapSurface")); 177 l_eglWaitSync = reinterpret_cast<PFNEGLWAITSYNCPROC>(loadProc("eglWaitSync")); 178 l_eglSetBlobCacheFuncsANDROID = reinterpret_cast<PFNEGLSETBLOBCACHEFUNCSANDROIDPROC>( 179 loadProc("eglSetBlobCacheFuncsANDROID")); 180 l_eglCreateNativeClientBufferANDROID = 181 reinterpret_cast<PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC>( 182 loadProc("eglCreateNativeClientBufferANDROID")); 183 l_eglGetCompositorTimingANDROID = reinterpret_cast<PFNEGLGETCOMPOSITORTIMINGANDROIDPROC>( 184 loadProc("eglGetCompositorTimingANDROID")); 185 l_eglGetCompositorTimingSupportedANDROID = 186 reinterpret_cast<PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC>( 187 loadProc("eglGetCompositorTimingSupportedANDROID")); 188 l_eglGetFrameTimestampSupportedANDROID = 189 reinterpret_cast<PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC>( 190 loadProc("eglGetFrameTimestampSupportedANDROID")); 191 l_eglGetFrameTimestampsANDROID = reinterpret_cast<PFNEGLGETFRAMETIMESTAMPSANDROIDPROC>( 192 loadProc("eglGetFrameTimestampsANDROID")); 193 l_eglGetNextFrameIdANDROID = 194 reinterpret_cast<PFNEGLGETNEXTFRAMEIDANDROIDPROC>(loadProc("eglGetNextFrameIdANDROID")); 195 l_eglGetNativeClientBufferANDROID = reinterpret_cast<PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC>( 196 loadProc("eglGetNativeClientBufferANDROID")); 197 l_eglDupNativeFenceFDANDROID = 198 reinterpret_cast<PFNEGLDUPNATIVEFENCEFDANDROIDPROC>(loadProc("eglDupNativeFenceFDANDROID")); 199 l_eglPresentationTimeANDROID = 200 reinterpret_cast<PFNEGLPRESENTATIONTIMEANDROIDPROC>(loadProc("eglPresentationTimeANDROID")); 201 l_eglCreateDeviceANGLE = 202 reinterpret_cast<PFNEGLCREATEDEVICEANGLEPROC>(loadProc("eglCreateDeviceANGLE")); 203 l_eglReleaseDeviceANGLE = 204 reinterpret_cast<PFNEGLRELEASEDEVICEANGLEPROC>(loadProc("eglReleaseDeviceANGLE")); 205 l_eglQueryDisplayAttribANGLE = 206 reinterpret_cast<PFNEGLQUERYDISPLAYATTRIBANGLEPROC>(loadProc("eglQueryDisplayAttribANGLE")); 207 l_eglQueryStringiANGLE = 208 reinterpret_cast<PFNEGLQUERYSTRINGIANGLEPROC>(loadProc("eglQueryStringiANGLE")); 209 l_eglHandleGPUSwitchANGLE = 210 reinterpret_cast<PFNEGLHANDLEGPUSWITCHANGLEPROC>(loadProc("eglHandleGPUSwitchANGLE")); 211 l_eglReacquireHighPowerGPUANGLE = reinterpret_cast<PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC>( 212 loadProc("eglReacquireHighPowerGPUANGLE")); 213 l_eglReleaseHighPowerGPUANGLE = reinterpret_cast<PFNEGLRELEASEHIGHPOWERGPUANGLEPROC>( 214 loadProc("eglReleaseHighPowerGPUANGLE")); 215 l_eglProgramCacheGetAttribANGLE = reinterpret_cast<PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC>( 216 loadProc("eglProgramCacheGetAttribANGLE")); 217 l_eglProgramCachePopulateANGLE = reinterpret_cast<PFNEGLPROGRAMCACHEPOPULATEANGLEPROC>( 218 loadProc("eglProgramCachePopulateANGLE")); 219 l_eglProgramCacheQueryANGLE = 220 reinterpret_cast<PFNEGLPROGRAMCACHEQUERYANGLEPROC>(loadProc("eglProgramCacheQueryANGLE")); 221 l_eglProgramCacheResizeANGLE = 222 reinterpret_cast<PFNEGLPROGRAMCACHERESIZEANGLEPROC>(loadProc("eglProgramCacheResizeANGLE")); 223 l_eglQuerySurfacePointerANGLE = reinterpret_cast<PFNEGLQUERYSURFACEPOINTERANGLEPROC>( 224 loadProc("eglQuerySurfacePointerANGLE")); 225 l_eglCreateStreamProducerD3DTextureANGLE = 226 reinterpret_cast<PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC>( 227 loadProc("eglCreateStreamProducerD3DTextureANGLE")); 228 l_eglStreamPostD3DTextureANGLE = reinterpret_cast<PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC>( 229 loadProc("eglStreamPostD3DTextureANGLE")); 230 l_eglSwapBuffersWithFrameTokenANGLE = 231 reinterpret_cast<PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC>( 232 loadProc("eglSwapBuffersWithFrameTokenANGLE")); 233 l_eglGetMscRateANGLE = 234 reinterpret_cast<PFNEGLGETMSCRATEANGLEPROC>(loadProc("eglGetMscRateANGLE")); 235 l_eglGetSyncValuesCHROMIUM = 236 reinterpret_cast<PFNEGLGETSYNCVALUESCHROMIUMPROC>(loadProc("eglGetSyncValuesCHROMIUM")); 237 l_eglQueryDeviceAttribEXT = 238 reinterpret_cast<PFNEGLQUERYDEVICEATTRIBEXTPROC>(loadProc("eglQueryDeviceAttribEXT")); 239 l_eglQueryDeviceStringEXT = 240 reinterpret_cast<PFNEGLQUERYDEVICESTRINGEXTPROC>(loadProc("eglQueryDeviceStringEXT")); 241 l_eglQueryDisplayAttribEXT = 242 reinterpret_cast<PFNEGLQUERYDISPLAYATTRIBEXTPROC>(loadProc("eglQueryDisplayAttribEXT")); 243 l_eglCreatePlatformPixmapSurfaceEXT = 244 reinterpret_cast<PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC>( 245 loadProc("eglCreatePlatformPixmapSurfaceEXT")); 246 l_eglCreatePlatformWindowSurfaceEXT = 247 reinterpret_cast<PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC>( 248 loadProc("eglCreatePlatformWindowSurfaceEXT")); 249 l_eglGetPlatformDisplayEXT = 250 reinterpret_cast<PFNEGLGETPLATFORMDISPLAYEXTPROC>(loadProc("eglGetPlatformDisplayEXT")); 251 l_eglDebugMessageControlKHR = 252 reinterpret_cast<PFNEGLDEBUGMESSAGECONTROLKHRPROC>(loadProc("eglDebugMessageControlKHR")); 253 l_eglLabelObjectKHR = reinterpret_cast<PFNEGLLABELOBJECTKHRPROC>(loadProc("eglLabelObjectKHR")); 254 l_eglQueryDebugKHR = reinterpret_cast<PFNEGLQUERYDEBUGKHRPROC>(loadProc("eglQueryDebugKHR")); 255 l_eglClientWaitSyncKHR = 256 reinterpret_cast<PFNEGLCLIENTWAITSYNCKHRPROC>(loadProc("eglClientWaitSyncKHR")); 257 l_eglCreateSyncKHR = reinterpret_cast<PFNEGLCREATESYNCKHRPROC>(loadProc("eglCreateSyncKHR")); 258 l_eglDestroySyncKHR = reinterpret_cast<PFNEGLDESTROYSYNCKHRPROC>(loadProc("eglDestroySyncKHR")); 259 l_eglGetSyncAttribKHR = 260 reinterpret_cast<PFNEGLGETSYNCATTRIBKHRPROC>(loadProc("eglGetSyncAttribKHR")); 261 l_eglCreateImageKHR = reinterpret_cast<PFNEGLCREATEIMAGEKHRPROC>(loadProc("eglCreateImageKHR")); 262 l_eglDestroyImageKHR = 263 reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC>(loadProc("eglDestroyImageKHR")); 264 l_eglSignalSyncKHR = reinterpret_cast<PFNEGLSIGNALSYNCKHRPROC>(loadProc("eglSignalSyncKHR")); 265 l_eglCreateStreamKHR = 266 reinterpret_cast<PFNEGLCREATESTREAMKHRPROC>(loadProc("eglCreateStreamKHR")); 267 l_eglDestroyStreamKHR = 268 reinterpret_cast<PFNEGLDESTROYSTREAMKHRPROC>(loadProc("eglDestroyStreamKHR")); 269 l_eglQueryStreamKHR = reinterpret_cast<PFNEGLQUERYSTREAMKHRPROC>(loadProc("eglQueryStreamKHR")); 270 l_eglQueryStreamu64KHR = 271 reinterpret_cast<PFNEGLQUERYSTREAMU64KHRPROC>(loadProc("eglQueryStreamu64KHR")); 272 l_eglStreamAttribKHR = 273 reinterpret_cast<PFNEGLSTREAMATTRIBKHRPROC>(loadProc("eglStreamAttribKHR")); 274 l_eglStreamConsumerAcquireKHR = reinterpret_cast<PFNEGLSTREAMCONSUMERACQUIREKHRPROC>( 275 loadProc("eglStreamConsumerAcquireKHR")); 276 l_eglStreamConsumerGLTextureExternalKHR = 277 reinterpret_cast<PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC>( 278 loadProc("eglStreamConsumerGLTextureExternalKHR")); 279 l_eglStreamConsumerReleaseKHR = reinterpret_cast<PFNEGLSTREAMCONSUMERRELEASEKHRPROC>( 280 loadProc("eglStreamConsumerReleaseKHR")); 281 l_eglSwapBuffersWithDamageKHR = reinterpret_cast<PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC>( 282 loadProc("eglSwapBuffersWithDamageKHR")); 283 l_eglWaitSyncKHR = reinterpret_cast<PFNEGLWAITSYNCKHRPROC>(loadProc("eglWaitSyncKHR")); 284 l_eglPostSubBufferNV = 285 reinterpret_cast<PFNEGLPOSTSUBBUFFERNVPROC>(loadProc("eglPostSubBufferNV")); 286 l_eglStreamConsumerGLTextureExternalAttribsNV = 287 reinterpret_cast<PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC>( 288 loadProc("eglStreamConsumerGLTextureExternalAttribsNV")); 289 } 290 } // namespace angle 291