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 7fdf7d3a1ad50afa03968db889b68af211da6e27.
7 EGLint eglwClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout)
9 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
12 return egl->clientWaitSyncKHR(dpy, sync, flags, timeout);
15 EGLImageKHR eglwCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
17 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
19 return (EGLImageKHR)0;
20 return egl->createImageKHR(dpy, ctx, target, buffer, attrib_list);
23 EGLSurface eglwCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list)
25 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
28 return egl->createPlatformPixmapSurfaceEXT(dpy, config, native_pixmap, attrib_list);
31 EGLSurface eglwCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list)
33 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
36 return egl->createPlatformWindowSurfaceEXT(dpy, config, native_window, attrib_list);
39 EGLSyncKHR eglwCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list)
41 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
44 return egl->createSyncKHR(dpy, type, attrib_list);
47 EGLBoolean eglwDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image)
49 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
52 return egl->destroyImageKHR(dpy, image);
55 EGLBoolean eglwDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync)
57 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
60 return egl->destroySyncKHR(dpy, sync);
63 EGLDisplay eglwGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list)
65 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
68 return egl->getPlatformDisplayEXT(platform, native_display, attrib_list);
71 EGLBoolean eglwGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value)
73 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
76 return egl->getSyncAttribKHR(dpy, sync, attribute, value);
79 EGLBoolean eglwLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list)
81 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
84 return egl->lockSurfaceKHR(dpy, surface, attrib_list);
87 EGLBoolean eglwSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects)
89 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
92 return egl->setDamageRegionKHR(dpy, surface, rects, n_rects);
95 EGLBoolean eglwSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode)
97 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
100 return egl->signalSyncKHR(dpy, sync, mode);
103 EGLBoolean eglwSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects)
105 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
107 return (EGLBoolean)0;
108 return egl->swapBuffersWithDamageKHR(dpy, surface, rects, n_rects);
111 EGLBoolean eglwUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface)
113 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
115 return (EGLBoolean)0;
116 return egl->unlockSurfaceKHR(dpy, surface);
119 EGLint eglwWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags)
121 const eglw::Library* egl = eglw::getCurrentThreadLibrary();
124 return egl->waitSyncKHR(dpy, sync, flags);