Lines Matching defs:egl

59 namespace egl
536 const Library& egl = getLibrary();
550 result = egl.getConfigs(m_display, NULL, 0, &configCount);
552 EGLU_CHECK_MSG(egl, "eglGetConfigs()");
565 result = egl.getConfigs(m_display, &(configs[configs.size() - configCount]), configCount, &configCount);
567 EGLU_CHECK_MSG(egl, "eglGetConfigs()");
598 result = egl.chooseConfig(m_display, attribList, NULL, 0, &configCount);
600 EGLU_CHECK_MSG(egl, "eglChooseConfig()");
613 result = egl.chooseConfig(m_display, attribList, &(configs[configs.size() - configCount]), configCount, &configCount);
615 EGLU_CHECK_MSG(egl, "eglChooseConfig()");
679 result = egl.getConfigAttrib(m_display, config, attribute, &value);
681 EGLU_CHECK_MSG(egl, "eglGetConfigAttrib()");
758 const Library& egl = getLibrary();
765 egl.destroySurface(m_display, m_pbuffers0[pbufferNdx]);
766 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
776 egl.destroySurface(m_display, m_pbuffers1[pbufferNdx]);
777 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
787 egl.destroySurface(m_display, m_sharedPbuffers[pbufferNdx]);
788 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
798 egl.destroyContext(m_display, m_sharedContexts[contextNdx]);
799 EGLU_CHECK_MSG(egl, "eglDestroyContext()");
809 egl.destroyContext(m_display, m_contexts0[contextNdx]);
810 EGLU_CHECK_MSG(egl, "eglDestroyContext()");
820 egl.destroyContext(m_display, m_contexts1[contextNdx]);
821 EGLU_CHECK_MSG(egl, "eglDestroyContext()");
831 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativePixmaps0[pixmapNdx].second));
842 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativePixmaps1[pixmapNdx].second));
853 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_sharedNativePixmaps[pixmapNdx].second));
865 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows1[windowNdx].second));
876 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows0[windowNdx].second));
887 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_sharedNativeWindows[windowNdx].second));
900 const Library& egl = getLibrary();
923 EGLU_CHECK_CALL(egl, chooseConfig(m_display, attribList, &m_config, 1, &configCount));
981 const Library& egl = getLibrary();
1077 surface = egl.createPbufferSurface(m_display, m_config, attributes);
1079 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface()");
1108 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface));
1135 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface));
1160 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface));
1171 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API));
1180 context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attributes);
1182 EGLU_CHECK_MSG(egl, "eglCreateContext()");
1200 result = egl.destroySurface(m_display, pbuffers[pbufferNdx]);
1202 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
1215 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second));
1232 EGLU_CHECK_CALL(egl, destroySurface(m_display, pixmaps[pixmapNdx].second));
1245 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx]));
1331 const Library& egl = getLibrary();
1388 result = egl.querySurface(m_display, surface, attribute, &value);
1390 EGLU_CHECK_MSG(egl, "eglQuerySurface()");
1407 result = egl.queryContext(m_display, context, attribute, &value);
1409 EGLU_CHECK_MSG(egl, "eglQueryContext()");
1419 const Library& egl = getLibrary();
1432 result = egl.destroySurface(m_display, pbuffers[pbufferNdx]);
1434 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
1445 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second));
1462 EGLU_CHECK_CALL(egl, destroySurface(m_display, pixmaps[pixmapNdx].second));
1478 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx]));
1529 } // egl