Lines Matching defs:egl
63 namespace egl
130 const Library& egl = m_eglTestCtx.getLibrary();
138 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API));
140 context = egl.createContext(display, config, share, attriblist);
141 EGLU_CHECK_MSG(egl, "Failed to create GLES2 context");
149 const Library& egl = m_eglTestCtx.getLibrary();
150 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
155 const Library& egl = m_eglTestCtx.getLibrary();
157 eglu::UniqueDisplay display (egl, eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()));
173 config = eglu::chooseSingleConfig(egl, *display, attribList);
179 eglu::UniqueSurface surface (egl, *display, eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, *display, config, DE_NULL));
256 egl.destroyContext(*display, contextB);
260 egl.destroyContext(*display, contextA);
266 egl.destroyContext(*display, contextA);
270 egl.destroyContext(*display, contextB);
274 EGLU_CHECK(egl);
278 egl.makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
280 egl.destroyContext(*display, contextA);
282 egl.destroyContext(*display, contextB);
1404 } // egl