Lines Matching defs:egl

59 namespace egl
537 const Library& egl = getLibrary();
551 result = egl.getConfigs(m_display, NULL, 0, &configCount);
553 EGLU_CHECK_MSG(egl, "eglGetConfigs()");
566 result = egl.getConfigs(m_display, &(configs[configs.size() - configCount]), configCount, &configCount);
568 EGLU_CHECK_MSG(egl, "eglGetConfigs()");
599 result = egl.chooseConfig(m_display, attribList, NULL, 0, &configCount);
601 EGLU_CHECK_MSG(egl, "eglChooseConfig()");
614 result = egl.chooseConfig(m_display, attribList, &(configs[configs.size() - configCount]), configCount, &configCount);
616 EGLU_CHECK_MSG(egl, "eglChooseConfig()");
673 if (eglu::hasExtension(egl, m_display, "EGL_ANDROID_recordable"))
683 result = egl.getConfigAttrib(m_display, config, attribute, &value);
685 EGLU_CHECK_MSG(egl, "eglGetConfigAttrib()");
762 const Library& egl = getLibrary();
769 egl.destroySurface(m_display, m_pbuffers0[pbufferNdx]);
770 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
780 egl.destroySurface(m_display, m_pbuffers1[pbufferNdx]);
781 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
791 egl.destroySurface(m_display, m_sharedPbuffers[pbufferNdx]);
792 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
802 egl.destroyContext(m_display, m_sharedContexts[contextNdx]);
803 EGLU_CHECK_MSG(egl, "eglDestroyContext()");
813 egl.destroyContext(m_display, m_contexts0[contextNdx]);
814 EGLU_CHECK_MSG(egl, "eglDestroyContext()");
824 egl.destroyContext(m_display, m_contexts1[contextNdx]);
825 EGLU_CHECK_MSG(egl, "eglDestroyContext()");
835 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativePixmaps0[pixmapNdx].second));
846 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativePixmaps1[pixmapNdx].second));
857 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_sharedNativePixmaps[pixmapNdx].second));
869 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows1[windowNdx].second));
880 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows0[windowNdx].second));
891 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_sharedNativeWindows[windowNdx].second));
904 const Library& egl = getLibrary();
927 EGLU_CHECK_CALL(egl, chooseConfig(m_display, attribList, &m_config, 1, &configCount));
985 const Library& egl = getLibrary();
1081 surface = egl.createPbufferSurface(m_display, m_config, attributes);
1083 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface()");
1112 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface));
1139 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface));
1164 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface));
1175 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API));
1184 context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attributes);
1186 EGLU_CHECK_MSG(egl, "eglCreateContext()");
1204 result = egl.destroySurface(m_display, pbuffers[pbufferNdx]);
1206 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
1219 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second));
1236 EGLU_CHECK_CALL(egl, destroySurface(m_display, pixmaps[pixmapNdx].second));
1249 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx]));
1335 const Library& egl = getLibrary();
1392 result = egl.querySurface(m_display, surface, attribute, &value);
1394 EGLU_CHECK_MSG(egl, "eglQuerySurface()");
1411 result = egl.queryContext(m_display, context, attribute, &value);
1413 EGLU_CHECK_MSG(egl, "eglQueryContext()");
1423 const Library& egl = getLibrary();
1436 result = egl.destroySurface(m_display, pbuffers[pbufferNdx]);
1438 EGLU_CHECK_MSG(egl, "eglDestroySurface()");
1449 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second));
1466 EGLU_CHECK_CALL(egl, destroySurface(m_display, pixmaps[pixmapNdx].second));
1482 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx]));
1533 } // egl