1 /* WARNING: This is auto-generated file. Do not modify, since changes will
2 * be lost! Modify the generating script instead.
4 * Generated from Khronos EGL API description (egl.xml) revision 13a26984991216cbf9a44fbf390f95dc05b5493a.
7 EGLBoolean eglwBindAPI (EGLenum api)
9 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
12 return egl->bindAPI(api);
15 EGLBoolean eglwBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer)
17 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
20 return egl->bindTexImage(dpy, surface, buffer);
23 EGLBoolean eglwChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config)
25 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
28 return egl->chooseConfig(dpy, attrib_list, configs, config_size, num_config);
31 EGLint eglwClientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout)
33 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
36 return egl->clientWaitSync(dpy, sync, flags, timeout);
39 EGLBoolean eglwCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target)
41 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
44 return egl->copyBuffers(dpy, surface, (void*)target);
47 EGLContext eglwCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list)
49 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
52 return egl->createContext(dpy, config, share_context, attrib_list);
55 EGLImage eglwCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list)
57 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
60 return egl->createImage(dpy, ctx, target, buffer, attrib_list);
63 EGLSurface eglwCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)
65 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
68 return egl->createPbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list);
71 EGLSurface eglwCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
73 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
76 return egl->createPbufferSurface(dpy, config, attrib_list);
79 EGLSurface eglwCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
81 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
84 return egl->createPixmapSurface(dpy, config, (void*)pixmap, attrib_list);
87 EGLSurface eglwCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list)
89 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
92 return egl->createPlatformPixmapSurface(dpy, config, native_pixmap, attrib_list);
95 EGLSurface eglwCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list)
97 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
100 return egl->createPlatformWindowSurface(dpy, config, native_window, attrib_list);
103 EGLSync eglwCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list)
105 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
108 return egl->createSync(dpy, type, attrib_list);
111 EGLSurface eglwCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
113 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
115 return (EGLSurface)0;
116 return egl->createWindowSurface(dpy, config, (void*)win, attrib_list);
119 EGLBoolean eglwDestroyContext (EGLDisplay dpy, EGLContext ctx)
121 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
123 return (EGLBoolean)0;
124 return egl->destroyContext(dpy, ctx);
127 EGLBoolean eglwDestroyImage (EGLDisplay dpy, EGLImage image)
129 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
131 return (EGLBoolean)0;
132 return egl->destroyImage(dpy, image);
135 EGLBoolean eglwDestroySurface (EGLDisplay dpy, EGLSurface surface)
137 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
139 return (EGLBoolean)0;
140 return egl->destroySurface(dpy, surface);
143 EGLBoolean eglwDestroySync (EGLDisplay dpy, EGLSync sync)
145 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
147 return (EGLBoolean)0;
148 return egl->destroySync(dpy, sync);
151 EGLBoolean eglwGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value)
153 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
155 return (EGLBoolean)0;
156 return egl->getConfigAttrib(dpy, config, attribute, value);
159 EGLBoolean eglwGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config)
161 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
163 return (EGLBoolean)0;
164 return egl->getConfigs(dpy, configs, config_size, num_config);
167 EGLContext eglwGetCurrentContext (void)
169 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
171 return (EGLContext)0;
172 return egl->getCurrentContext();
175 EGLDisplay eglwGetCurrentDisplay (void)
177 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
179 return (EGLDisplay)0;
180 return egl->getCurrentDisplay();
183 EGLSurface eglwGetCurrentSurface (EGLint readdraw)
185 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
187 return (EGLSurface)0;
188 return egl->getCurrentSurface(readdraw);
191 EGLDisplay eglwGetDisplay (EGLNativeDisplayType display_id)
193 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
195 return (EGLDisplay)0;
196 return egl->getDisplay((void*)display_id);
199 EGLint eglwGetError (void)
201 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
204 return egl->getError();
207 EGLDisplay eglwGetPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list)
209 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
211 return (EGLDisplay)0;
212 return egl->getPlatformDisplay(platform, native_display, attrib_list);
215 __eglMustCastToProperFunctionPointerType eglwGetProcAddress (const char *procname)
217 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
219 return (__eglMustCastToProperFunctionPointerType)0;
220 return egl->getProcAddress(procname);
223 EGLBoolean eglwGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value)
225 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
227 return (EGLBoolean)0;
228 return egl->getSyncAttrib(dpy, sync, attribute, value);
231 EGLBoolean eglwInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor)
233 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
235 return (EGLBoolean)0;
236 return egl->initialize(dpy, major, minor);
239 EGLBoolean eglwMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
241 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
243 return (EGLBoolean)0;
244 return egl->makeCurrent(dpy, draw, read, ctx);
247 EGLenum eglwQueryAPI (void)
249 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
252 return egl->queryAPI();
255 EGLBoolean eglwQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value)
257 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
259 return (EGLBoolean)0;
260 return egl->queryContext(dpy, ctx, attribute, value);
263 const char * eglwQueryString (EGLDisplay dpy, EGLint name)
265 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
267 return (const char *)0;
268 return egl->queryString(dpy, name);
271 EGLBoolean eglwQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value)
273 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
275 return (EGLBoolean)0;
276 return egl->querySurface(dpy, surface, attribute, value);
279 EGLBoolean eglwReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer)
281 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
283 return (EGLBoolean)0;
284 return egl->releaseTexImage(dpy, surface, buffer);
287 EGLBoolean eglwReleaseThread (void)
289 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
291 return (EGLBoolean)0;
292 return egl->releaseThread();
295 EGLBoolean eglwSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
297 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
299 return (EGLBoolean)0;
300 return egl->surfaceAttrib(dpy, surface, attribute, value);
303 EGLBoolean eglwSwapBuffers (EGLDisplay dpy, EGLSurface surface)
305 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
307 return (EGLBoolean)0;
308 return egl->swapBuffers(dpy, surface);
311 EGLBoolean eglwSwapInterval (EGLDisplay dpy, EGLint interval)
313 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
315 return (EGLBoolean)0;
316 return egl->swapInterval(dpy, interval);
319 EGLBoolean eglwTerminate (EGLDisplay dpy)
321 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
323 return (EGLBoolean)0;
324 return egl->terminate(dpy);
327 EGLBoolean eglwWaitClient (void)
329 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
331 return (EGLBoolean)0;
332 return egl->waitClient();
335 EGLBoolean eglwWaitGL (void)
337 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
339 return (EGLBoolean)0;
340 return egl->waitGL();
343 EGLBoolean eglwWaitNative (EGLint engine)
345 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
347 return (EGLBoolean)0;
348 return egl->waitNative(engine);
351 EGLBoolean eglwWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags)
353 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
355 return (EGLBoolean)0;
356 return egl->waitSync(dpy, sync, flags);