Lines Matching refs:egl

45 namespace egl  namespace
100 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, NegativePartialUpdateTest::Surfa… in getEGLConfig() argument
115 return chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
118 EGLContext initAndMakeCurrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglS… in initAndMakeCurrentEGLContext() argument
122 egl.bindAPI(EGL_OPENGL_ES_API); in initAndMakeCurrentEGLContext()
123 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList); in initAndMakeCurrentEGLContext()
124 EGLU_CHECK_MSG(egl, "eglCreateContext"); in initAndMakeCurrentEGLContext()
126 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in initAndMakeCurrentEGLContext()
127 EGLU_CHECK_MSG(egl, "eglMakeCurrent"); in initAndMakeCurrentEGLContext()
150 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
157 if (!hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) in init()
160 m_eglConfig = getEGLConfig(egl, m_eglDisplay, m_surfaceType, m_preserveBuffer); in init()
165 m_eglSurface = egl.createPbufferSurface(m_eglDisplay, m_eglConfig, pbufferAttribList); in init()
174 …m_eglContext = initAndMakeCurrentEGLContext(egl, m_eglDisplay, m_eglSurface, m_eglConfig, contextA… in init()
179 const Library& egl = m_eglTestCtx.getLibrary(); in deinit() local
183 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit()
184 EGLU_CHECK_CALL(egl, destroyContext(m_eglDisplay, m_eglContext)); in deinit()
190 EGLU_CHECK_CALL(egl, destroySurface(m_eglDisplay, m_eglSurface)); in deinit()
196 EGLU_CHECK_CALL(egl, terminate(m_eglDisplay)); in deinit()
240 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
242 CallLogWrapper wrapper (egl, log); in iterate()
250 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
251 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
274 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
275 const EGLConfig config = getEGLConfig(egl, m_eglDisplay, SURFACETYPE_PBUFFER, false); in iterate()
282 …const eglu::UniqueSurface dummyPbuffer (egl, m_eglDisplay, egl.createPbufferSurface(m_eglDisplay,… in iterate()
284 CallLogWrapper wrapper (egl, log); in iterate()
290 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, *dummyPbuffer, *dummyPbuffer, m_eglContext)); in iterate()
293 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
309 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
312 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
328 if (hasExtension(egl, m_eglDisplay, "EGL_KHR_surfaceless_context")) in iterate()
330 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, m_eglContext)); in iterate()
333 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
367 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
369 CallLogWrapper wrapper (egl, log); in iterate()
377 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESE… in iterate()
378 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
400 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
402 CallLogWrapper wrapper (egl, log); in iterate()
410 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
411 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
435 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
437 CallLogWrapper wrapper (egl, log); in iterate()
444 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
466 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
468 CallLogWrapper wrapper (egl, log); in iterate()
475 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
476 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
498 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
499 const EGLConfig config = getEGLConfig(egl, m_eglDisplay, SURFACETYPE_PBUFFER, false); in iterate()
506 …const eglu::UniqueSurface dummyPbuffer (egl, m_eglDisplay, egl.createPbufferSurface(m_eglDisplay, … in iterate()
508 CallLogWrapper wrapper (egl, log); in iterate()
515 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTR… in iterate()
516 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
520 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, *dummyPbuffer, *dummyPbuffer, m_eglContext)); in iterate()
526 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
530 if (hasExtension(egl, m_eglDisplay, "EGL_KHR_surfaceless_context")) in iterate()
533 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, m_eglContext)); in iterate()