Lines Matching defs:egl

62 namespace egl
195 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorBuffer);
390 const Library& egl = m_eglTestCtx.getLibrary();
394 if (eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age") == false)
396 egl.terminate(m_eglDisplay);
418 const Library& egl = m_eglTestCtx.getLibrary();
428 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
429 egl.destroyContext(m_eglDisplay, m_eglContext);
435 egl.destroySurface(m_eglDisplay, m_eglSurface);
441 egl.terminate(m_eglDisplay);
459 const Library& egl = m_eglTestCtx.getLibrary();
466 egl.bindAPI(EGL_OPENGL_ES_API);
467 m_eglContext = egl.createContext(m_eglDisplay, config, EGL_NO_CONTEXT, attribList);
468 EGLU_CHECK_MSG(egl, "eglCreateContext");
470 egl.makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext);
471 EGLU_CHECK_MSG(egl, "eglMakeCurrent");
495 const Library& egl = m_eglTestCtx.getLibrary();
497 const int width = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_WIDTH);
498 const int height = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_HEIGHT);
508 EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED));
510 EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED));
526 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_EXT, &currentBufferAge));
563 EGLU_CHECK_CALL(egl, swapBuffers(m_eglDisplay, m_eglSurface));
617 EGLU_CHECK_CALL(egl, swapBuffers(m_eglDisplay, m_eglSurface));
689 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorBuffer)
695 return eglu::chooseSingleConfig(egl, eglDisplay, filters);
792 } // egl