Lines Matching refs:egl
51 namespace egl namespace
60 static void postSurface (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint typeBit) in postSurface() argument
63 EGLU_CHECK_CALL(egl, swapBuffers(display, surface)); in postSurface()
65 EGLU_CHECK_CALL(egl, waitClient()); in postSurface()
67 EGLU_CHECK_CALL(egl, waitClient()); in postSurface()
114 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
118 const EGLint configId = eglu::getConfigID(egl, display, config); in executeForConfig()
139 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
163 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
189 …eglu::UniqueSurface surface(egl, display, egl.createPbufferSurface(display, config, surfaceAttribs… in executeForConfig()
190 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface()"); in executeForConfig()
220 const Library& egl = m_eglTestCtx.getLibrary(); in executeForSurface() local
223 …const EGLint configApiMask = eglu::getConfigAttribInt(egl, display, config.config, EGL_RENDERABLE… in executeForSurface()
276 EGLU_CHECK_CALL(egl, bindAPI(api)); in executeForSurface()
278 …eglu::UniqueContext context (egl, display, egl.createContext(display, config.config, EGL_NO_CONTEX… in executeForSurface()
280 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, *context)); in executeForSurface()
284 postSurface(egl, display, surface, config.surfaceTypeBit); in executeForSurface()
287 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface()
305 const Library& egl = m_eglTestCtx.getLibrary(); in executeForSurface() local
306 …const EGLint configApiMask = eglu::getConfigAttribInt(egl, display, config.config, EGL_RENDE… in executeForSurface()
323 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in executeForSurface()
324 …contexts.push_back(std::make_pair(EGL_OPENGL_ES2_BIT, egl.createContext(display, config.config, EG… in executeForSurface()
330 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in executeForSurface()
331 …contexts.push_back(std::make_pair(EGL_OPENGL_ES3_BIT_KHR, egl.createContext(display, config.config… in executeForSurface()
337 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in executeForSurface()
338 …contexts.push_back(std::make_pair(EGL_OPENGL_ES_BIT, egl.createContext(display, config.config, EGL… in executeForSurface()
344 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENVG_API)); in executeForSurface()
345 …contexts.push_back(std::make_pair(EGL_OPENVG_BIT, egl.createContext(display, config.config, EGL_NO… in executeForSurface()
349 EGLU_CHECK_MSG(egl, "eglCreateContext()"); in executeForSurface()
354 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface()
360 egl.destroyContext(display, i->second); in executeForSurface()
366 egl.destroyContext(display, i->second); in executeForSurface()