eglwFuncPtrLibraryImpl.inl revision 59248e25673431f452a0938aff1ac7603d457270
13c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos/* WARNING: This is auto-generated file. Do not modify, since changes will
23c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos * be lost! Modify the generating script instead.
33c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos *
431289213fb1ca6d149146d78829a4776c4f0dbf9Mika Isojärvi * Generated from Khronos EGL API description (egl.xml) revision 31042.
53c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos */
63c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
73c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::bindAPI (EGLenum api) const
83c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
93c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.bindAPI(api);
103c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
113c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
123c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::bindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer) const
133c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
143c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.bindTexImage(dpy, surface, buffer);
153c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
163c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
173c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::chooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) const
183c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
193c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.chooseConfig(dpy, attrib_list, configs, config_size, num_config);
203c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
213c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
223c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLint FuncPtrLibrary::clientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) const
233c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
243c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.clientWaitSync(dpy, sync, flags, timeout);
253c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
263c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
273c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLint FuncPtrLibrary::clientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) const
283c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
293c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.clientWaitSyncKHR(dpy, sync, flags, timeout);
303c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
313c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
323c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::copyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) const
333c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
343c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.copyBuffers(dpy, surface, target);
353c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
363c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
373c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLContext FuncPtrLibrary::createContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) const
383c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
393c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createContext(dpy, config, share_context, attrib_list);
403c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
413c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
4231289213fb1ca6d149146d78829a4776c4f0dbf9Mika IsojärviEGLImage FuncPtrLibrary::createImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list) const
433c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
443c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createImage(dpy, ctx, target, buffer, attrib_list);
453c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
463c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
473c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLImageKHR FuncPtrLibrary::createImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) const
483c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
493c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createImageKHR(dpy, ctx, target, buffer, attrib_list);
503c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
513c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
523c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) const
533c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
543c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list);
553c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
563c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
573c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) const
583c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
593c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPbufferSurface(dpy, config, attrib_list);
603c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
613c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
623c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list) const
633c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
643c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPixmapSurface(dpy, config, pixmap, attrib_list);
653c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
663c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
673c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list) const
683c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
693c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPlatformPixmapSurface(dpy, config, native_pixmap, attrib_list);
703c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
713c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
723c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list) const
733c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
743c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPlatformPixmapSurfaceEXT(dpy, config, native_pixmap, attrib_list);
753c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
763c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
773c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list) const
783c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
793c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPlatformWindowSurface(dpy, config, native_window, attrib_list);
803c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
813c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
823c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createPlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list) const
833c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
843c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createPlatformWindowSurfaceEXT(dpy, config, native_window, attrib_list);
853c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
863c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
873c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSync FuncPtrLibrary::createSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list) const
883c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
893c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createSync(dpy, type, attrib_list);
903c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
913c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
923c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSyncKHR FuncPtrLibrary::createSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) const
933c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
943c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createSyncKHR(dpy, type, attrib_list);
953c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
963c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
973c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::createWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) const
983c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
993c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.createWindowSurface(dpy, config, win, attrib_list);
1003c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1013c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1023c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::destroyContext (EGLDisplay dpy, EGLContext ctx) const
1033c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1043c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.destroyContext(dpy, ctx);
1053c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1063c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1073c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::destroyImage (EGLDisplay dpy, EGLImage image) const
1083c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1093c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.destroyImage(dpy, image);
1103c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1113c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1123c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::destroyImageKHR (EGLDisplay dpy, EGLImageKHR image) const
1133c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1143c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.destroyImageKHR(dpy, image);
1153c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1163c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1173c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::destroySurface (EGLDisplay dpy, EGLSurface surface) const
1183c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1193c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.destroySurface(dpy, surface);
1203c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1213c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1223c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::destroySync (EGLDisplay dpy, EGLSync sync) const
1233c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1243c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.destroySync(dpy, sync);
1253c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1263c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1273c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::destroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync) const
1283c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1293c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.destroySyncKHR(dpy, sync);
1303c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1313c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1323c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::getConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) const
1333c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1343c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getConfigAttrib(dpy, config, attribute, value);
1353c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1363c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1373c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::getConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config) const
1383c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1393c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getConfigs(dpy, configs, config_size, num_config);
1403c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1413c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1423c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLContext FuncPtrLibrary::getCurrentContext (void) const
1433c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1443c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getCurrentContext();
1453c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1463c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1473c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLDisplay FuncPtrLibrary::getCurrentDisplay (void) const
1483c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1493c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getCurrentDisplay();
1503c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1513c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1523c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLSurface FuncPtrLibrary::getCurrentSurface (EGLint readdraw) const
1533c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1543c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getCurrentSurface(readdraw);
1553c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1563c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1573c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLDisplay FuncPtrLibrary::getDisplay (EGLNativeDisplayType display_id) const
1583c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1593c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getDisplay(display_id);
1603c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1613c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1623c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLint FuncPtrLibrary::getError (void) const
1633c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1643c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getError();
1653c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1663c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1673c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLDisplay FuncPtrLibrary::getPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list) const
1683c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1693c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getPlatformDisplay(platform, native_display, attrib_list);
1703c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1713c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1723c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLDisplay FuncPtrLibrary::getPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list) const
1733c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1743c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getPlatformDisplayEXT(platform, native_display, attrib_list);
1753c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1763c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1773c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos__eglMustCastToProperFunctionPointerType FuncPtrLibrary::getProcAddress (const char *procname) const
1783c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1793c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getProcAddress(procname);
1803c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1813c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1823c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::getSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value) const
1833c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1843c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getSyncAttrib(dpy, sync, attribute, value);
1853c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1863c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1873c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::getSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value) const
1883c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1893c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.getSyncAttribKHR(dpy, sync, attribute, value);
1903c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1913c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1923c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::initialize (EGLDisplay dpy, EGLint *major, EGLint *minor) const
1933c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1943c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.initialize(dpy, major, minor);
1953c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
1963c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
1973c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::lockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) const
1983c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
1993c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.lockSurfaceKHR(dpy, surface, attrib_list);
2003c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2013c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2023c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::makeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) const
2033c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2043c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.makeCurrent(dpy, draw, read, ctx);
2053c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2063c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2073c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLenum FuncPtrLibrary::queryAPI (void) const
2083c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2093c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.queryAPI();
2103c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2113c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2123c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::queryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) const
2133c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2143c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.queryContext(dpy, ctx, attribute, value);
2153c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2163c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2173c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulosconst char * FuncPtrLibrary::queryString (EGLDisplay dpy, EGLint name) const
2183c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2193c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.queryString(dpy, name);
2203c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2213c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2223c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::querySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) const
2233c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2243c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.querySurface(dpy, surface, attribute, value);
2253c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2263c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2273c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::releaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer) const
2283c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2293c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.releaseTexImage(dpy, surface, buffer);
2303c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2313c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2323c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::releaseThread (void) const
2333c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2343c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.releaseThread();
2353c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2363c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
23759248e25673431f452a0938aff1ac7603d457270Hengyuan HuEGLBoolean FuncPtrLibrary::setDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects) const
23859248e25673431f452a0938aff1ac7603d457270Hengyuan Hu{
23959248e25673431f452a0938aff1ac7603d457270Hengyuan Hu	return m_egl.setDamageRegionKHR(dpy, surface, rects, n_rects);
24059248e25673431f452a0938aff1ac7603d457270Hengyuan Hu}
24159248e25673431f452a0938aff1ac7603d457270Hengyuan Hu
2423c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::signalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) const
2433c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2443c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.signalSyncKHR(dpy, sync, mode);
2453c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2463c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2473c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::surfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) const
2483c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2493c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.surfaceAttrib(dpy, surface, attribute, value);
2503c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2513c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2523c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::swapBuffers (EGLDisplay dpy, EGLSurface surface) const
2533c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2543c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.swapBuffers(dpy, surface);
2553c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2563c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
25759248e25673431f452a0938aff1ac7603d457270Hengyuan HuEGLBoolean FuncPtrLibrary::swapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects) const
25859248e25673431f452a0938aff1ac7603d457270Hengyuan Hu{
25959248e25673431f452a0938aff1ac7603d457270Hengyuan Hu	return m_egl.swapBuffersWithDamageKHR(dpy, surface, rects, n_rects);
26059248e25673431f452a0938aff1ac7603d457270Hengyuan Hu}
26159248e25673431f452a0938aff1ac7603d457270Hengyuan Hu
2623c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::swapInterval (EGLDisplay dpy, EGLint interval) const
2633c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2643c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.swapInterval(dpy, interval);
2653c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2663c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2673c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::terminate (EGLDisplay dpy) const
2683c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2693c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.terminate(dpy);
2703c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2713c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2723c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::unlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface) const
2733c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2743c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.unlockSurfaceKHR(dpy, surface);
2753c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2763c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2773c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::waitClient (void) const
2783c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2793c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.waitClient();
2803c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2813c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2823c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::waitGL (void) const
2833c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2843c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.waitGL();
2853c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2863c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2873c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::waitNative (EGLint engine) const
2883c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2893c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.waitNative(engine);
2903c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2913c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2923c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLBoolean FuncPtrLibrary::waitSync (EGLDisplay dpy, EGLSync sync, EGLint flags) const
2933c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2943c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.waitSync(dpy, sync, flags);
2953c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
2963c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos
2973c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry HaulosEGLint FuncPtrLibrary::waitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) const
2983c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos{
2993c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos	return m_egl.waitSyncKHR(dpy, sync, flags);
3003c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4Pyry Haulos}
301