Lines Matching refs:egl
55 namespace egl namespace
66 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) in createGLES2Context() argument
76 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in createGLES2Context()
78 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context()
79 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); in createGLES2Context()
109 string getConfigIdString (const Library& egl, EGLDisplay display, EGLConfig config) in getConfigIdString() argument
114 EGLU_CHECK_CALL(egl, getConfigAttrib(display, config , EGL_CONFIG_ID, &id)); in getConfigIdString()
269 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
270 const string configIdStr (getConfigIdString(egl, display, config)); in executeForConfig()
281 …log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in executeForConfig()
282 …log << TestLog::Message << "EGL_GREEN_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in executeForConfig()
283 …log << TestLog::Message << "EGL_BLUE_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in executeForConfig()
284 …log << TestLog::Message << "EGL_ALPHA_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in executeForConfig()
285 …log << TestLog::Message << "EGL_DEPTH_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in executeForConfig()
286 …log << TestLog::Message << "EGL_STENCIL_SIZE: " << eglu::getConfigAttribInt(egl, display, config, … in executeForConfig()
287 …log << TestLog::Message << "EGL_SAMPLES: " << eglu::getConfigAttribInt(egl, display, config, EGL_… in executeForConfig()
294 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDis… in executeForConfig()
295 eglu::UniqueContext context (egl, display, createGLES2Context(egl, display, config)); in executeForConfig()
305 EGLU_CHECK_CALL(egl, makeCurrent(display, *surface, *surface, *context)); in executeForConfig()
343 EGLU_CHECK_CALL(egl, swapBuffers(display, *surface)); in executeForConfig()
361 EGLU_CHECK_CALL(egl, swapBuffers(display, *surface)); in executeForConfig()
382 EGLU_CHECK_CALL(egl, swapBuffers(display, *surface)); in executeForConfig()
402 EGLU_CHECK_CALL(egl, swapBuffers(display, *surface)); in executeForConfig()
424 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()
428 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()