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 ANGLE_RESTRICTED_TRACES_EGL_LOADER_AUTOGEN_H_ 12 #define ANGLE_RESTRICTED_TRACES_EGL_LOADER_AUTOGEN_H_ 13 14 #include "restricted_traces_autogen.h" 15 16 #include <EGL/egl.h> 17 #include <EGL/eglext.h> 18 19 #define eglChooseConfig t_eglChooseConfig 20 #define eglCopyBuffers t_eglCopyBuffers 21 #define eglCreateContext t_eglCreateContext 22 #define eglCreatePbufferSurface t_eglCreatePbufferSurface 23 #define eglCreatePixmapSurface t_eglCreatePixmapSurface 24 #define eglCreateWindowSurface t_eglCreateWindowSurface 25 #define eglDestroyContext t_eglDestroyContext 26 #define eglDestroySurface t_eglDestroySurface 27 #define eglGetConfigAttrib t_eglGetConfigAttrib 28 #define eglGetConfigs t_eglGetConfigs 29 #define eglGetCurrentDisplay t_eglGetCurrentDisplay 30 #define eglGetCurrentSurface t_eglGetCurrentSurface 31 #define eglGetDisplay t_eglGetDisplay 32 #define eglGetError t_eglGetError 33 #define eglGetProcAddress t_eglGetProcAddress 34 #define eglInitialize t_eglInitialize 35 #define eglMakeCurrent t_eglMakeCurrent 36 #define eglQueryContext t_eglQueryContext 37 #define eglQueryString t_eglQueryString 38 #define eglQuerySurface t_eglQuerySurface 39 #define eglSwapBuffers t_eglSwapBuffers 40 #define eglTerminate t_eglTerminate 41 #define eglWaitGL t_eglWaitGL 42 #define eglWaitNative t_eglWaitNative 43 #define eglBindTexImage t_eglBindTexImage 44 #define eglReleaseTexImage t_eglReleaseTexImage 45 #define eglSurfaceAttrib t_eglSurfaceAttrib 46 #define eglSwapInterval t_eglSwapInterval 47 #define eglBindAPI t_eglBindAPI 48 #define eglQueryAPI t_eglQueryAPI 49 #define eglCreatePbufferFromClientBuffer t_eglCreatePbufferFromClientBuffer 50 #define eglReleaseThread t_eglReleaseThread 51 #define eglWaitClient t_eglWaitClient 52 #define eglGetCurrentContext t_eglGetCurrentContext 53 #define eglCreateSync t_eglCreateSync 54 #define eglDestroySync t_eglDestroySync 55 #define eglClientWaitSync t_eglClientWaitSync 56 #define eglGetSyncAttrib t_eglGetSyncAttrib 57 #define eglCreateImage t_eglCreateImage 58 #define eglDestroyImage t_eglDestroyImage 59 #define eglGetPlatformDisplay t_eglGetPlatformDisplay 60 #define eglCreatePlatformWindowSurface t_eglCreatePlatformWindowSurface 61 #define eglCreatePlatformPixmapSurface t_eglCreatePlatformPixmapSurface 62 #define eglWaitSync t_eglWaitSync 63 #define eglSetBlobCacheFuncsANDROID t_eglSetBlobCacheFuncsANDROID 64 #define eglCreateNativeClientBufferANDROID t_eglCreateNativeClientBufferANDROID 65 #define eglGetCompositorTimingANDROID t_eglGetCompositorTimingANDROID 66 #define eglGetCompositorTimingSupportedANDROID t_eglGetCompositorTimingSupportedANDROID 67 #define eglGetFrameTimestampSupportedANDROID t_eglGetFrameTimestampSupportedANDROID 68 #define eglGetFrameTimestampsANDROID t_eglGetFrameTimestampsANDROID 69 #define eglGetNextFrameIdANDROID t_eglGetNextFrameIdANDROID 70 #define eglGetNativeClientBufferANDROID t_eglGetNativeClientBufferANDROID 71 #define eglDupNativeFenceFDANDROID t_eglDupNativeFenceFDANDROID 72 #define eglPresentationTimeANDROID t_eglPresentationTimeANDROID 73 #define eglCreateDeviceANGLE t_eglCreateDeviceANGLE 74 #define eglReleaseDeviceANGLE t_eglReleaseDeviceANGLE 75 #define eglQueryDisplayAttribANGLE t_eglQueryDisplayAttribANGLE 76 #define eglQueryStringiANGLE t_eglQueryStringiANGLE 77 #define eglHandleGPUSwitchANGLE t_eglHandleGPUSwitchANGLE 78 #define eglReacquireHighPowerGPUANGLE t_eglReacquireHighPowerGPUANGLE 79 #define eglReleaseHighPowerGPUANGLE t_eglReleaseHighPowerGPUANGLE 80 #define eglProgramCacheGetAttribANGLE t_eglProgramCacheGetAttribANGLE 81 #define eglProgramCachePopulateANGLE t_eglProgramCachePopulateANGLE 82 #define eglProgramCacheQueryANGLE t_eglProgramCacheQueryANGLE 83 #define eglProgramCacheResizeANGLE t_eglProgramCacheResizeANGLE 84 #define eglQuerySurfacePointerANGLE t_eglQuerySurfacePointerANGLE 85 #define eglCreateStreamProducerD3DTextureANGLE t_eglCreateStreamProducerD3DTextureANGLE 86 #define eglStreamPostD3DTextureANGLE t_eglStreamPostD3DTextureANGLE 87 #define eglSwapBuffersWithFrameTokenANGLE t_eglSwapBuffersWithFrameTokenANGLE 88 #define eglGetMscRateANGLE t_eglGetMscRateANGLE 89 #define eglGetSyncValuesCHROMIUM t_eglGetSyncValuesCHROMIUM 90 #define eglQueryDeviceAttribEXT t_eglQueryDeviceAttribEXT 91 #define eglQueryDeviceStringEXT t_eglQueryDeviceStringEXT 92 #define eglQueryDisplayAttribEXT t_eglQueryDisplayAttribEXT 93 #define eglCreatePlatformPixmapSurfaceEXT t_eglCreatePlatformPixmapSurfaceEXT 94 #define eglCreatePlatformWindowSurfaceEXT t_eglCreatePlatformWindowSurfaceEXT 95 #define eglGetPlatformDisplayEXT t_eglGetPlatformDisplayEXT 96 #define eglDebugMessageControlKHR t_eglDebugMessageControlKHR 97 #define eglLabelObjectKHR t_eglLabelObjectKHR 98 #define eglQueryDebugKHR t_eglQueryDebugKHR 99 #define eglClientWaitSyncKHR t_eglClientWaitSyncKHR 100 #define eglCreateSyncKHR t_eglCreateSyncKHR 101 #define eglDestroySyncKHR t_eglDestroySyncKHR 102 #define eglGetSyncAttribKHR t_eglGetSyncAttribKHR 103 #define eglCreateImageKHR t_eglCreateImageKHR 104 #define eglDestroyImageKHR t_eglDestroyImageKHR 105 #define eglSignalSyncKHR t_eglSignalSyncKHR 106 #define eglCreateStreamKHR t_eglCreateStreamKHR 107 #define eglDestroyStreamKHR t_eglDestroyStreamKHR 108 #define eglQueryStreamKHR t_eglQueryStreamKHR 109 #define eglQueryStreamu64KHR t_eglQueryStreamu64KHR 110 #define eglStreamAttribKHR t_eglStreamAttribKHR 111 #define eglStreamConsumerAcquireKHR t_eglStreamConsumerAcquireKHR 112 #define eglStreamConsumerGLTextureExternalKHR t_eglStreamConsumerGLTextureExternalKHR 113 #define eglStreamConsumerReleaseKHR t_eglStreamConsumerReleaseKHR 114 #define eglSwapBuffersWithDamageKHR t_eglSwapBuffersWithDamageKHR 115 #define eglWaitSyncKHR t_eglWaitSyncKHR 116 #define eglPostSubBufferNV t_eglPostSubBufferNV 117 #define eglStreamConsumerGLTextureExternalAttribsNV t_eglStreamConsumerGLTextureExternalAttribsNV 118 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCHOOSECONFIGPROC t_eglChooseConfig; 119 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCOPYBUFFERSPROC t_eglCopyBuffers; 120 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATECONTEXTPROC t_eglCreateContext; 121 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPBUFFERSURFACEPROC t_eglCreatePbufferSurface; 122 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPIXMAPSURFACEPROC t_eglCreatePixmapSurface; 123 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEWINDOWSURFACEPROC t_eglCreateWindowSurface; 124 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYCONTEXTPROC t_eglDestroyContext; 125 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYSURFACEPROC t_eglDestroySurface; 126 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCONFIGATTRIBPROC t_eglGetConfigAttrib; 127 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCONFIGSPROC t_eglGetConfigs; 128 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCURRENTDISPLAYPROC t_eglGetCurrentDisplay; 129 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCURRENTSURFACEPROC t_eglGetCurrentSurface; 130 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETDISPLAYPROC t_eglGetDisplay; 131 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETERRORPROC t_eglGetError; 132 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETPROCADDRESSPROC t_eglGetProcAddress; 133 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLINITIALIZEPROC t_eglInitialize; 134 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLMAKECURRENTPROC t_eglMakeCurrent; 135 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYCONTEXTPROC t_eglQueryContext; 136 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYSTRINGPROC t_eglQueryString; 137 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYSURFACEPROC t_eglQuerySurface; 138 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSWAPBUFFERSPROC t_eglSwapBuffers; 139 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLTERMINATEPROC t_eglTerminate; 140 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLWAITGLPROC t_eglWaitGL; 141 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLWAITNATIVEPROC t_eglWaitNative; 142 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLBINDTEXIMAGEPROC t_eglBindTexImage; 143 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLRELEASETEXIMAGEPROC t_eglReleaseTexImage; 144 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSURFACEATTRIBPROC t_eglSurfaceAttrib; 145 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSWAPINTERVALPROC t_eglSwapInterval; 146 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLBINDAPIPROC t_eglBindAPI; 147 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYAPIPROC t_eglQueryAPI; 148 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC 149 t_eglCreatePbufferFromClientBuffer; 150 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLRELEASETHREADPROC t_eglReleaseThread; 151 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLWAITCLIENTPROC t_eglWaitClient; 152 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCURRENTCONTEXTPROC t_eglGetCurrentContext; 153 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATESYNCPROC t_eglCreateSync; 154 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYSYNCPROC t_eglDestroySync; 155 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCLIENTWAITSYNCPROC t_eglClientWaitSync; 156 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETSYNCATTRIBPROC t_eglGetSyncAttrib; 157 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEIMAGEPROC t_eglCreateImage; 158 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYIMAGEPROC t_eglDestroyImage; 159 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETPLATFORMDISPLAYPROC t_eglGetPlatformDisplay; 160 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC 161 t_eglCreatePlatformWindowSurface; 162 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC 163 t_eglCreatePlatformPixmapSurface; 164 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLWAITSYNCPROC t_eglWaitSync; 165 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC t_eglSetBlobCacheFuncsANDROID; 166 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC 167 t_eglCreateNativeClientBufferANDROID; 168 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC 169 t_eglGetCompositorTimingANDROID; 170 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC 171 t_eglGetCompositorTimingSupportedANDROID; 172 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC 173 t_eglGetFrameTimestampSupportedANDROID; 174 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC t_eglGetFrameTimestampsANDROID; 175 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETNEXTFRAMEIDANDROIDPROC t_eglGetNextFrameIdANDROID; 176 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC 177 t_eglGetNativeClientBufferANDROID; 178 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC t_eglDupNativeFenceFDANDROID; 179 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLPRESENTATIONTIMEANDROIDPROC t_eglPresentationTimeANDROID; 180 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEDEVICEANGLEPROC t_eglCreateDeviceANGLE; 181 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLRELEASEDEVICEANGLEPROC t_eglReleaseDeviceANGLE; 182 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYDISPLAYATTRIBANGLEPROC t_eglQueryDisplayAttribANGLE; 183 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYSTRINGIANGLEPROC t_eglQueryStringiANGLE; 184 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLHANDLEGPUSWITCHANGLEPROC t_eglHandleGPUSwitchANGLE; 185 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC 186 t_eglReacquireHighPowerGPUANGLE; 187 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLRELEASEHIGHPOWERGPUANGLEPROC t_eglReleaseHighPowerGPUANGLE; 188 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC 189 t_eglProgramCacheGetAttribANGLE; 190 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLPROGRAMCACHEPOPULATEANGLEPROC t_eglProgramCachePopulateANGLE; 191 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLPROGRAMCACHEQUERYANGLEPROC t_eglProgramCacheQueryANGLE; 192 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLPROGRAMCACHERESIZEANGLEPROC t_eglProgramCacheResizeANGLE; 193 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYSURFACEPOINTERANGLEPROC t_eglQuerySurfacePointerANGLE; 194 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC 195 t_eglCreateStreamProducerD3DTextureANGLE; 196 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC t_eglStreamPostD3DTextureANGLE; 197 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC 198 t_eglSwapBuffersWithFrameTokenANGLE; 199 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETMSCRATEANGLEPROC t_eglGetMscRateANGLE; 200 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETSYNCVALUESCHROMIUMPROC t_eglGetSyncValuesCHROMIUM; 201 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYDEVICEATTRIBEXTPROC t_eglQueryDeviceAttribEXT; 202 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYDEVICESTRINGEXTPROC t_eglQueryDeviceStringEXT; 203 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYDISPLAYATTRIBEXTPROC t_eglQueryDisplayAttribEXT; 204 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC 205 t_eglCreatePlatformPixmapSurfaceEXT; 206 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC 207 t_eglCreatePlatformWindowSurfaceEXT; 208 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETPLATFORMDISPLAYEXTPROC t_eglGetPlatformDisplayEXT; 209 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDEBUGMESSAGECONTROLKHRPROC t_eglDebugMessageControlKHR; 210 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLLABELOBJECTKHRPROC t_eglLabelObjectKHR; 211 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYDEBUGKHRPROC t_eglQueryDebugKHR; 212 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCLIENTWAITSYNCKHRPROC t_eglClientWaitSyncKHR; 213 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATESYNCKHRPROC t_eglCreateSyncKHR; 214 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYSYNCKHRPROC t_eglDestroySyncKHR; 215 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLGETSYNCATTRIBKHRPROC t_eglGetSyncAttribKHR; 216 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATEIMAGEKHRPROC t_eglCreateImageKHR; 217 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYIMAGEKHRPROC t_eglDestroyImageKHR; 218 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSIGNALSYNCKHRPROC t_eglSignalSyncKHR; 219 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLCREATESTREAMKHRPROC t_eglCreateStreamKHR; 220 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLDESTROYSTREAMKHRPROC t_eglDestroyStreamKHR; 221 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYSTREAMKHRPROC t_eglQueryStreamKHR; 222 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLQUERYSTREAMU64KHRPROC t_eglQueryStreamu64KHR; 223 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSTREAMATTRIBKHRPROC t_eglStreamAttribKHR; 224 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC t_eglStreamConsumerAcquireKHR; 225 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC 226 t_eglStreamConsumerGLTextureExternalKHR; 227 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC t_eglStreamConsumerReleaseKHR; 228 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC t_eglSwapBuffersWithDamageKHR; 229 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLWAITSYNCKHRPROC t_eglWaitSyncKHR; 230 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLPOSTSUBBUFFERNVPROC t_eglPostSubBufferNV; 231 ANGLE_TRACE_LOADER_EXPORT extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC 232 t_eglStreamConsumerGLTextureExternalAttribsNV; 233 234 namespace trace_angle 235 { 236 using GenericProc = void (*)(); 237 using LoadProc = GenericProc(KHRONOS_APIENTRY *)(const char *); 238 ANGLE_TRACE_LOADER_EXPORT void LoadEGL(LoadProc loadProc); 239 } // namespace trace_angle 240 241 #endif // ANGLE_RESTRICTED_TRACES_EGL_LOADER_AUTOGEN_H_ 242