Lines Matching defs:egl
48 namespace egl
99 eglw::EGLConfig getConfig (const eglw::Library& egl, eglw::EGLDisplay display)
104 return eglu::chooseSingleConfig(egl, display, filters);
128 const eglw::Library& egl = m_eglTestCtx.getLibrary();
129 const eglu::UniqueDisplay display (egl, eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()));
130 const eglw::EGLConfig config = getConfig(egl, *display);
132 const eglu::UniqueSurface surface (egl, *display, m_use != USE_NONE ? egl.createPbufferSurface(*display, config, pbufferAttribList) : EGL_NO_SURFACE);
133 EGLU_CHECK_MSG(egl, "Failed to create pbuffer.");
146 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API));
153 const eglw::EGLContext context = egl.createContext(*display, config, sharedContext, attribList);
154 const eglw::EGLint error = egl.getError();
181 const eglw::EGLBoolean result = egl.makeCurrent(*display, *surface, *surface, context);
182 const eglw::EGLint makeCurrentError = egl.getError();
204 EGLU_CHECK_CALL(egl, destroyContext(*display, contexts[contextNdx]));
209 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
216 EGLU_CHECK_CALL(egl, destroyContext(*display, contexts[contextNdx]));
220 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
247 } // egl