• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 PFNEGLCHOOSECONFIGPROC l_EGL_ChooseConfig;
14 PFNEGLCOPYBUFFERSPROC l_EGL_CopyBuffers;
15 PFNEGLCREATECONTEXTPROC l_EGL_CreateContext;
16 PFNEGLCREATEPBUFFERSURFACEPROC l_EGL_CreatePbufferSurface;
17 PFNEGLCREATEPIXMAPSURFACEPROC l_EGL_CreatePixmapSurface;
18 PFNEGLCREATEWINDOWSURFACEPROC l_EGL_CreateWindowSurface;
19 PFNEGLDESTROYCONTEXTPROC l_EGL_DestroyContext;
20 PFNEGLDESTROYSURFACEPROC l_EGL_DestroySurface;
21 PFNEGLGETCONFIGATTRIBPROC l_EGL_GetConfigAttrib;
22 PFNEGLGETCONFIGSPROC l_EGL_GetConfigs;
23 PFNEGLGETCURRENTDISPLAYPROC l_EGL_GetCurrentDisplay;
24 PFNEGLGETCURRENTSURFACEPROC l_EGL_GetCurrentSurface;
25 PFNEGLGETDISPLAYPROC l_EGL_GetDisplay;
26 PFNEGLGETERRORPROC l_EGL_GetError;
27 PFNEGLGETPROCADDRESSPROC l_EGL_GetProcAddress;
28 PFNEGLINITIALIZEPROC l_EGL_Initialize;
29 PFNEGLMAKECURRENTPROC l_EGL_MakeCurrent;
30 PFNEGLQUERYCONTEXTPROC l_EGL_QueryContext;
31 PFNEGLQUERYSTRINGPROC l_EGL_QueryString;
32 PFNEGLQUERYSURFACEPROC l_EGL_QuerySurface;
33 PFNEGLSWAPBUFFERSPROC l_EGL_SwapBuffers;
34 PFNEGLTERMINATEPROC l_EGL_Terminate;
35 PFNEGLWAITGLPROC l_EGL_WaitGL;
36 PFNEGLWAITNATIVEPROC l_EGL_WaitNative;
37 PFNEGLBINDTEXIMAGEPROC l_EGL_BindTexImage;
38 PFNEGLRELEASETEXIMAGEPROC l_EGL_ReleaseTexImage;
39 PFNEGLSURFACEATTRIBPROC l_EGL_SurfaceAttrib;
40 PFNEGLSWAPINTERVALPROC l_EGL_SwapInterval;
41 PFNEGLBINDAPIPROC l_EGL_BindAPI;
42 PFNEGLQUERYAPIPROC l_EGL_QueryAPI;
43 PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC l_EGL_CreatePbufferFromClientBuffer;
44 PFNEGLRELEASETHREADPROC l_EGL_ReleaseThread;
45 PFNEGLWAITCLIENTPROC l_EGL_WaitClient;
46 PFNEGLGETCURRENTCONTEXTPROC l_EGL_GetCurrentContext;
47 PFNEGLCREATESYNCPROC l_EGL_CreateSync;
48 PFNEGLDESTROYSYNCPROC l_EGL_DestroySync;
49 PFNEGLCLIENTWAITSYNCPROC l_EGL_ClientWaitSync;
50 PFNEGLGETSYNCATTRIBPROC l_EGL_GetSyncAttrib;
51 PFNEGLCREATEIMAGEPROC l_EGL_CreateImage;
52 PFNEGLDESTROYIMAGEPROC l_EGL_DestroyImage;
53 PFNEGLGETPLATFORMDISPLAYPROC l_EGL_GetPlatformDisplay;
54 PFNEGLCREATEPLATFORMWINDOWSURFACEPROC l_EGL_CreatePlatformWindowSurface;
55 PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC l_EGL_CreatePlatformPixmapSurface;
56 PFNEGLWAITSYNCPROC l_EGL_WaitSync;
57 PFNEGLSETBLOBCACHEFUNCSANDROIDPROC l_EGL_SetBlobCacheFuncsANDROID;
58 PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC l_EGL_CreateNativeClientBufferANDROID;
59 PFNEGLGETCOMPOSITORTIMINGANDROIDPROC l_EGL_GetCompositorTimingANDROID;
60 PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC l_EGL_GetCompositorTimingSupportedANDROID;
61 PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC l_EGL_GetFrameTimestampSupportedANDROID;
62 PFNEGLGETFRAMETIMESTAMPSANDROIDPROC l_EGL_GetFrameTimestampsANDROID;
63 PFNEGLGETNEXTFRAMEIDANDROIDPROC l_EGL_GetNextFrameIdANDROID;
64 PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC l_EGL_GetNativeClientBufferANDROID;
65 PFNEGLDUPNATIVEFENCEFDANDROIDPROC l_EGL_DupNativeFenceFDANDROID;
66 PFNEGLPRESENTATIONTIMEANDROIDPROC l_EGL_PresentationTimeANDROID;
67 PFNEGLCREATEDEVICEANGLEPROC l_EGL_CreateDeviceANGLE;
68 PFNEGLRELEASEDEVICEANGLEPROC l_EGL_ReleaseDeviceANGLE;
69 PFNEGLQUERYDISPLAYATTRIBANGLEPROC l_EGL_QueryDisplayAttribANGLE;
70 PFNEGLQUERYSTRINGIANGLEPROC l_EGL_QueryStringiANGLE;
71 PFNEGLHANDLEGPUSWITCHANGLEPROC l_EGL_HandleGPUSwitchANGLE;
72 PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC l_EGL_ReacquireHighPowerGPUANGLE;
73 PFNEGLRELEASEHIGHPOWERGPUANGLEPROC l_EGL_ReleaseHighPowerGPUANGLE;
74 PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC l_EGL_ProgramCacheGetAttribANGLE;
75 PFNEGLPROGRAMCACHEPOPULATEANGLEPROC l_EGL_ProgramCachePopulateANGLE;
76 PFNEGLPROGRAMCACHEQUERYANGLEPROC l_EGL_ProgramCacheQueryANGLE;
77 PFNEGLPROGRAMCACHERESIZEANGLEPROC l_EGL_ProgramCacheResizeANGLE;
78 PFNEGLQUERYSURFACEPOINTERANGLEPROC l_EGL_QuerySurfacePointerANGLE;
79 PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC l_EGL_CreateStreamProducerD3DTextureANGLE;
80 PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC l_EGL_StreamPostD3DTextureANGLE;
81 PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC l_EGL_SwapBuffersWithFrameTokenANGLE;
82 PFNEGLGETMSCRATEANGLEPROC l_EGL_GetMscRateANGLE;
83 PFNEGLEXPORTVKIMAGEANGLEPROC l_EGL_ExportVkImageANGLE;
84 PFNEGLGETSYNCVALUESCHROMIUMPROC l_EGL_GetSyncValuesCHROMIUM;
85 PFNEGLQUERYDEVICEATTRIBEXTPROC l_EGL_QueryDeviceAttribEXT;
86 PFNEGLQUERYDEVICESTRINGEXTPROC l_EGL_QueryDeviceStringEXT;
87 PFNEGLQUERYDISPLAYATTRIBEXTPROC l_EGL_QueryDisplayAttribEXT;
88 PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC l_EGL_CreatePlatformPixmapSurfaceEXT;
89 PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC l_EGL_CreatePlatformWindowSurfaceEXT;
90 PFNEGLGETPLATFORMDISPLAYEXTPROC l_EGL_GetPlatformDisplayEXT;
91 PFNEGLDEBUGMESSAGECONTROLKHRPROC l_EGL_DebugMessageControlKHR;
92 PFNEGLLABELOBJECTKHRPROC l_EGL_LabelObjectKHR;
93 PFNEGLQUERYDEBUGKHRPROC l_EGL_QueryDebugKHR;
94 PFNEGLCLIENTWAITSYNCKHRPROC l_EGL_ClientWaitSyncKHR;
95 PFNEGLCREATESYNCKHRPROC l_EGL_CreateSyncKHR;
96 PFNEGLDESTROYSYNCKHRPROC l_EGL_DestroySyncKHR;
97 PFNEGLGETSYNCATTRIBKHRPROC l_EGL_GetSyncAttribKHR;
98 PFNEGLCREATEIMAGEKHRPROC l_EGL_CreateImageKHR;
99 PFNEGLDESTROYIMAGEKHRPROC l_EGL_DestroyImageKHR;
100 PFNEGLLOCKSURFACEKHRPROC l_EGL_LockSurfaceKHR;
101 PFNEGLQUERYSURFACE64KHRPROC l_EGL_QuerySurface64KHR;
102 PFNEGLUNLOCKSURFACEKHRPROC l_EGL_UnlockSurfaceKHR;
103 PFNEGLSIGNALSYNCKHRPROC l_EGL_SignalSyncKHR;
104 PFNEGLCREATESTREAMKHRPROC l_EGL_CreateStreamKHR;
105 PFNEGLDESTROYSTREAMKHRPROC l_EGL_DestroyStreamKHR;
106 PFNEGLQUERYSTREAMKHRPROC l_EGL_QueryStreamKHR;
107 PFNEGLQUERYSTREAMU64KHRPROC l_EGL_QueryStreamu64KHR;
108 PFNEGLSTREAMATTRIBKHRPROC l_EGL_StreamAttribKHR;
109 PFNEGLSTREAMCONSUMERACQUIREKHRPROC l_EGL_StreamConsumerAcquireKHR;
110 PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC l_EGL_StreamConsumerGLTextureExternalKHR;
111 PFNEGLSTREAMCONSUMERRELEASEKHRPROC l_EGL_StreamConsumerReleaseKHR;
112 PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC l_EGL_SwapBuffersWithDamageKHR;
113 PFNEGLWAITSYNCKHRPROC l_EGL_WaitSyncKHR;
114 PFNEGLPOSTSUBBUFFERNVPROC l_EGL_PostSubBufferNV;
115 PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC l_EGL_StreamConsumerGLTextureExternalAttribsNV;
116 
117 namespace angle
118 {
LoadEGL_EGL(LoadProc loadProc)119 void LoadEGL_EGL(LoadProc loadProc)
120 {
121     l_EGL_ChooseConfig  = reinterpret_cast<PFNEGLCHOOSECONFIGPROC>(loadProc("EGL_ChooseConfig"));
122     l_EGL_CopyBuffers   = reinterpret_cast<PFNEGLCOPYBUFFERSPROC>(loadProc("EGL_CopyBuffers"));
123     l_EGL_CreateContext = reinterpret_cast<PFNEGLCREATECONTEXTPROC>(loadProc("EGL_CreateContext"));
124     l_EGL_CreatePbufferSurface =
125         reinterpret_cast<PFNEGLCREATEPBUFFERSURFACEPROC>(loadProc("EGL_CreatePbufferSurface"));
126     l_EGL_CreatePixmapSurface =
127         reinterpret_cast<PFNEGLCREATEPIXMAPSURFACEPROC>(loadProc("EGL_CreatePixmapSurface"));
128     l_EGL_CreateWindowSurface =
129         reinterpret_cast<PFNEGLCREATEWINDOWSURFACEPROC>(loadProc("EGL_CreateWindowSurface"));
130     l_EGL_DestroyContext =
131         reinterpret_cast<PFNEGLDESTROYCONTEXTPROC>(loadProc("EGL_DestroyContext"));
132     l_EGL_DestroySurface =
133         reinterpret_cast<PFNEGLDESTROYSURFACEPROC>(loadProc("EGL_DestroySurface"));
134     l_EGL_GetConfigAttrib =
135         reinterpret_cast<PFNEGLGETCONFIGATTRIBPROC>(loadProc("EGL_GetConfigAttrib"));
136     l_EGL_GetConfigs = reinterpret_cast<PFNEGLGETCONFIGSPROC>(loadProc("EGL_GetConfigs"));
137     l_EGL_GetCurrentDisplay =
138         reinterpret_cast<PFNEGLGETCURRENTDISPLAYPROC>(loadProc("EGL_GetCurrentDisplay"));
139     l_EGL_GetCurrentSurface =
140         reinterpret_cast<PFNEGLGETCURRENTSURFACEPROC>(loadProc("EGL_GetCurrentSurface"));
141     l_EGL_GetDisplay = reinterpret_cast<PFNEGLGETDISPLAYPROC>(loadProc("EGL_GetDisplay"));
142     l_EGL_GetError   = reinterpret_cast<PFNEGLGETERRORPROC>(loadProc("EGL_GetError"));
143     l_EGL_GetProcAddress =
144         reinterpret_cast<PFNEGLGETPROCADDRESSPROC>(loadProc("EGL_GetProcAddress"));
145     l_EGL_Initialize   = reinterpret_cast<PFNEGLINITIALIZEPROC>(loadProc("EGL_Initialize"));
146     l_EGL_MakeCurrent  = reinterpret_cast<PFNEGLMAKECURRENTPROC>(loadProc("EGL_MakeCurrent"));
147     l_EGL_QueryContext = reinterpret_cast<PFNEGLQUERYCONTEXTPROC>(loadProc("EGL_QueryContext"));
148     l_EGL_QueryString  = reinterpret_cast<PFNEGLQUERYSTRINGPROC>(loadProc("EGL_QueryString"));
149     l_EGL_QuerySurface = reinterpret_cast<PFNEGLQUERYSURFACEPROC>(loadProc("EGL_QuerySurface"));
150     l_EGL_SwapBuffers  = reinterpret_cast<PFNEGLSWAPBUFFERSPROC>(loadProc("EGL_SwapBuffers"));
151     l_EGL_Terminate    = reinterpret_cast<PFNEGLTERMINATEPROC>(loadProc("EGL_Terminate"));
152     l_EGL_WaitGL       = reinterpret_cast<PFNEGLWAITGLPROC>(loadProc("EGL_WaitGL"));
153     l_EGL_WaitNative   = reinterpret_cast<PFNEGLWAITNATIVEPROC>(loadProc("EGL_WaitNative"));
154     l_EGL_BindTexImage = reinterpret_cast<PFNEGLBINDTEXIMAGEPROC>(loadProc("EGL_BindTexImage"));
155     l_EGL_ReleaseTexImage =
156         reinterpret_cast<PFNEGLRELEASETEXIMAGEPROC>(loadProc("EGL_ReleaseTexImage"));
157     l_EGL_SurfaceAttrib = reinterpret_cast<PFNEGLSURFACEATTRIBPROC>(loadProc("EGL_SurfaceAttrib"));
158     l_EGL_SwapInterval  = reinterpret_cast<PFNEGLSWAPINTERVALPROC>(loadProc("EGL_SwapInterval"));
159     l_EGL_BindAPI       = reinterpret_cast<PFNEGLBINDAPIPROC>(loadProc("EGL_BindAPI"));
160     l_EGL_QueryAPI      = reinterpret_cast<PFNEGLQUERYAPIPROC>(loadProc("EGL_QueryAPI"));
161     l_EGL_CreatePbufferFromClientBuffer = reinterpret_cast<PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC>(
162         loadProc("EGL_CreatePbufferFromClientBuffer"));
163     l_EGL_ReleaseThread = reinterpret_cast<PFNEGLRELEASETHREADPROC>(loadProc("EGL_ReleaseThread"));
164     l_EGL_WaitClient    = reinterpret_cast<PFNEGLWAITCLIENTPROC>(loadProc("EGL_WaitClient"));
165     l_EGL_GetCurrentContext =
166         reinterpret_cast<PFNEGLGETCURRENTCONTEXTPROC>(loadProc("EGL_GetCurrentContext"));
167     l_EGL_CreateSync  = reinterpret_cast<PFNEGLCREATESYNCPROC>(loadProc("EGL_CreateSync"));
168     l_EGL_DestroySync = reinterpret_cast<PFNEGLDESTROYSYNCPROC>(loadProc("EGL_DestroySync"));
169     l_EGL_ClientWaitSync =
170         reinterpret_cast<PFNEGLCLIENTWAITSYNCPROC>(loadProc("EGL_ClientWaitSync"));
171     l_EGL_GetSyncAttrib = reinterpret_cast<PFNEGLGETSYNCATTRIBPROC>(loadProc("EGL_GetSyncAttrib"));
172     l_EGL_CreateImage   = reinterpret_cast<PFNEGLCREATEIMAGEPROC>(loadProc("EGL_CreateImage"));
173     l_EGL_DestroyImage  = reinterpret_cast<PFNEGLDESTROYIMAGEPROC>(loadProc("EGL_DestroyImage"));
174     l_EGL_GetPlatformDisplay =
175         reinterpret_cast<PFNEGLGETPLATFORMDISPLAYPROC>(loadProc("EGL_GetPlatformDisplay"));
176     l_EGL_CreatePlatformWindowSurface = reinterpret_cast<PFNEGLCREATEPLATFORMWINDOWSURFACEPROC>(
177         loadProc("EGL_CreatePlatformWindowSurface"));
178     l_EGL_CreatePlatformPixmapSurface = reinterpret_cast<PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC>(
179         loadProc("EGL_CreatePlatformPixmapSurface"));
180     l_EGL_WaitSync                 = reinterpret_cast<PFNEGLWAITSYNCPROC>(loadProc("EGL_WaitSync"));
181     l_EGL_SetBlobCacheFuncsANDROID = reinterpret_cast<PFNEGLSETBLOBCACHEFUNCSANDROIDPROC>(
182         loadProc("EGL_SetBlobCacheFuncsANDROID"));
183     l_EGL_CreateNativeClientBufferANDROID =
184         reinterpret_cast<PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC>(
185             loadProc("EGL_CreateNativeClientBufferANDROID"));
186     l_EGL_GetCompositorTimingANDROID = reinterpret_cast<PFNEGLGETCOMPOSITORTIMINGANDROIDPROC>(
187         loadProc("EGL_GetCompositorTimingANDROID"));
188     l_EGL_GetCompositorTimingSupportedANDROID =
189         reinterpret_cast<PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC>(
190             loadProc("EGL_GetCompositorTimingSupportedANDROID"));
191     l_EGL_GetFrameTimestampSupportedANDROID =
192         reinterpret_cast<PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC>(
193             loadProc("EGL_GetFrameTimestampSupportedANDROID"));
194     l_EGL_GetFrameTimestampsANDROID = reinterpret_cast<PFNEGLGETFRAMETIMESTAMPSANDROIDPROC>(
195         loadProc("EGL_GetFrameTimestampsANDROID"));
196     l_EGL_GetNextFrameIdANDROID =
197         reinterpret_cast<PFNEGLGETNEXTFRAMEIDANDROIDPROC>(loadProc("EGL_GetNextFrameIdANDROID"));
198     l_EGL_GetNativeClientBufferANDROID = reinterpret_cast<PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC>(
199         loadProc("EGL_GetNativeClientBufferANDROID"));
200     l_EGL_DupNativeFenceFDANDROID = reinterpret_cast<PFNEGLDUPNATIVEFENCEFDANDROIDPROC>(
201         loadProc("EGL_DupNativeFenceFDANDROID"));
202     l_EGL_PresentationTimeANDROID = reinterpret_cast<PFNEGLPRESENTATIONTIMEANDROIDPROC>(
203         loadProc("EGL_PresentationTimeANDROID"));
204     l_EGL_CreateDeviceANGLE =
205         reinterpret_cast<PFNEGLCREATEDEVICEANGLEPROC>(loadProc("EGL_CreateDeviceANGLE"));
206     l_EGL_ReleaseDeviceANGLE =
207         reinterpret_cast<PFNEGLRELEASEDEVICEANGLEPROC>(loadProc("EGL_ReleaseDeviceANGLE"));
208     l_EGL_QueryDisplayAttribANGLE = reinterpret_cast<PFNEGLQUERYDISPLAYATTRIBANGLEPROC>(
209         loadProc("EGL_QueryDisplayAttribANGLE"));
210     l_EGL_QueryStringiANGLE =
211         reinterpret_cast<PFNEGLQUERYSTRINGIANGLEPROC>(loadProc("EGL_QueryStringiANGLE"));
212     l_EGL_HandleGPUSwitchANGLE =
213         reinterpret_cast<PFNEGLHANDLEGPUSWITCHANGLEPROC>(loadProc("EGL_HandleGPUSwitchANGLE"));
214     l_EGL_ReacquireHighPowerGPUANGLE = reinterpret_cast<PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC>(
215         loadProc("EGL_ReacquireHighPowerGPUANGLE"));
216     l_EGL_ReleaseHighPowerGPUANGLE = reinterpret_cast<PFNEGLRELEASEHIGHPOWERGPUANGLEPROC>(
217         loadProc("EGL_ReleaseHighPowerGPUANGLE"));
218     l_EGL_ProgramCacheGetAttribANGLE = reinterpret_cast<PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC>(
219         loadProc("EGL_ProgramCacheGetAttribANGLE"));
220     l_EGL_ProgramCachePopulateANGLE = reinterpret_cast<PFNEGLPROGRAMCACHEPOPULATEANGLEPROC>(
221         loadProc("EGL_ProgramCachePopulateANGLE"));
222     l_EGL_ProgramCacheQueryANGLE =
223         reinterpret_cast<PFNEGLPROGRAMCACHEQUERYANGLEPROC>(loadProc("EGL_ProgramCacheQueryANGLE"));
224     l_EGL_ProgramCacheResizeANGLE = reinterpret_cast<PFNEGLPROGRAMCACHERESIZEANGLEPROC>(
225         loadProc("EGL_ProgramCacheResizeANGLE"));
226     l_EGL_QuerySurfacePointerANGLE = reinterpret_cast<PFNEGLQUERYSURFACEPOINTERANGLEPROC>(
227         loadProc("EGL_QuerySurfacePointerANGLE"));
228     l_EGL_CreateStreamProducerD3DTextureANGLE =
229         reinterpret_cast<PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC>(
230             loadProc("EGL_CreateStreamProducerD3DTextureANGLE"));
231     l_EGL_StreamPostD3DTextureANGLE = reinterpret_cast<PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC>(
232         loadProc("EGL_StreamPostD3DTextureANGLE"));
233     l_EGL_SwapBuffersWithFrameTokenANGLE =
234         reinterpret_cast<PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC>(
235             loadProc("EGL_SwapBuffersWithFrameTokenANGLE"));
236     l_EGL_GetMscRateANGLE =
237         reinterpret_cast<PFNEGLGETMSCRATEANGLEPROC>(loadProc("EGL_GetMscRateANGLE"));
238     l_EGL_ExportVkImageANGLE =
239         reinterpret_cast<PFNEGLEXPORTVKIMAGEANGLEPROC>(loadProc("EGL_ExportVkImageANGLE"));
240     l_EGL_GetSyncValuesCHROMIUM =
241         reinterpret_cast<PFNEGLGETSYNCVALUESCHROMIUMPROC>(loadProc("EGL_GetSyncValuesCHROMIUM"));
242     l_EGL_QueryDeviceAttribEXT =
243         reinterpret_cast<PFNEGLQUERYDEVICEATTRIBEXTPROC>(loadProc("EGL_QueryDeviceAttribEXT"));
244     l_EGL_QueryDeviceStringEXT =
245         reinterpret_cast<PFNEGLQUERYDEVICESTRINGEXTPROC>(loadProc("EGL_QueryDeviceStringEXT"));
246     l_EGL_QueryDisplayAttribEXT =
247         reinterpret_cast<PFNEGLQUERYDISPLAYATTRIBEXTPROC>(loadProc("EGL_QueryDisplayAttribEXT"));
248     l_EGL_CreatePlatformPixmapSurfaceEXT =
249         reinterpret_cast<PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC>(
250             loadProc("EGL_CreatePlatformPixmapSurfaceEXT"));
251     l_EGL_CreatePlatformWindowSurfaceEXT =
252         reinterpret_cast<PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC>(
253             loadProc("EGL_CreatePlatformWindowSurfaceEXT"));
254     l_EGL_GetPlatformDisplayEXT =
255         reinterpret_cast<PFNEGLGETPLATFORMDISPLAYEXTPROC>(loadProc("EGL_GetPlatformDisplayEXT"));
256     l_EGL_DebugMessageControlKHR =
257         reinterpret_cast<PFNEGLDEBUGMESSAGECONTROLKHRPROC>(loadProc("EGL_DebugMessageControlKHR"));
258     l_EGL_LabelObjectKHR =
259         reinterpret_cast<PFNEGLLABELOBJECTKHRPROC>(loadProc("EGL_LabelObjectKHR"));
260     l_EGL_QueryDebugKHR = reinterpret_cast<PFNEGLQUERYDEBUGKHRPROC>(loadProc("EGL_QueryDebugKHR"));
261     l_EGL_ClientWaitSyncKHR =
262         reinterpret_cast<PFNEGLCLIENTWAITSYNCKHRPROC>(loadProc("EGL_ClientWaitSyncKHR"));
263     l_EGL_CreateSyncKHR = reinterpret_cast<PFNEGLCREATESYNCKHRPROC>(loadProc("EGL_CreateSyncKHR"));
264     l_EGL_DestroySyncKHR =
265         reinterpret_cast<PFNEGLDESTROYSYNCKHRPROC>(loadProc("EGL_DestroySyncKHR"));
266     l_EGL_GetSyncAttribKHR =
267         reinterpret_cast<PFNEGLGETSYNCATTRIBKHRPROC>(loadProc("EGL_GetSyncAttribKHR"));
268     l_EGL_CreateImageKHR =
269         reinterpret_cast<PFNEGLCREATEIMAGEKHRPROC>(loadProc("EGL_CreateImageKHR"));
270     l_EGL_DestroyImageKHR =
271         reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC>(loadProc("EGL_DestroyImageKHR"));
272     l_EGL_LockSurfaceKHR =
273         reinterpret_cast<PFNEGLLOCKSURFACEKHRPROC>(loadProc("EGL_LockSurfaceKHR"));
274     l_EGL_QuerySurface64KHR =
275         reinterpret_cast<PFNEGLQUERYSURFACE64KHRPROC>(loadProc("EGL_QuerySurface64KHR"));
276     l_EGL_UnlockSurfaceKHR =
277         reinterpret_cast<PFNEGLUNLOCKSURFACEKHRPROC>(loadProc("EGL_UnlockSurfaceKHR"));
278     l_EGL_SignalSyncKHR = reinterpret_cast<PFNEGLSIGNALSYNCKHRPROC>(loadProc("EGL_SignalSyncKHR"));
279     l_EGL_CreateStreamKHR =
280         reinterpret_cast<PFNEGLCREATESTREAMKHRPROC>(loadProc("EGL_CreateStreamKHR"));
281     l_EGL_DestroyStreamKHR =
282         reinterpret_cast<PFNEGLDESTROYSTREAMKHRPROC>(loadProc("EGL_DestroyStreamKHR"));
283     l_EGL_QueryStreamKHR =
284         reinterpret_cast<PFNEGLQUERYSTREAMKHRPROC>(loadProc("EGL_QueryStreamKHR"));
285     l_EGL_QueryStreamu64KHR =
286         reinterpret_cast<PFNEGLQUERYSTREAMU64KHRPROC>(loadProc("EGL_QueryStreamu64KHR"));
287     l_EGL_StreamAttribKHR =
288         reinterpret_cast<PFNEGLSTREAMATTRIBKHRPROC>(loadProc("EGL_StreamAttribKHR"));
289     l_EGL_StreamConsumerAcquireKHR = reinterpret_cast<PFNEGLSTREAMCONSUMERACQUIREKHRPROC>(
290         loadProc("EGL_StreamConsumerAcquireKHR"));
291     l_EGL_StreamConsumerGLTextureExternalKHR =
292         reinterpret_cast<PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC>(
293             loadProc("EGL_StreamConsumerGLTextureExternalKHR"));
294     l_EGL_StreamConsumerReleaseKHR = reinterpret_cast<PFNEGLSTREAMCONSUMERRELEASEKHRPROC>(
295         loadProc("EGL_StreamConsumerReleaseKHR"));
296     l_EGL_SwapBuffersWithDamageKHR = reinterpret_cast<PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC>(
297         loadProc("EGL_SwapBuffersWithDamageKHR"));
298     l_EGL_WaitSyncKHR = reinterpret_cast<PFNEGLWAITSYNCKHRPROC>(loadProc("EGL_WaitSyncKHR"));
299     l_EGL_PostSubBufferNV =
300         reinterpret_cast<PFNEGLPOSTSUBBUFFERNVPROC>(loadProc("EGL_PostSubBufferNV"));
301     l_EGL_StreamConsumerGLTextureExternalAttribsNV =
302         reinterpret_cast<PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC>(
303             loadProc("EGL_StreamConsumerGLTextureExternalAttribsNV"));
304 }
305 }  // namespace angle
306