Lines Matching refs:egl

99 	GetProcFuncLoader (const Library& egl)  in GetProcFuncLoader()  argument
100 : m_egl(egl) in GetProcFuncLoader()
280 EGLSurface createPBuffer (const Library& egl, EGLDisplay display, EGLConfig eglConfig, const glu::R… in createPBuffer() argument
292 surface = egl.createPbufferSurface(display, eglConfig, &(attribList[0])); in createPBuffer()
293 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface()"); in createPBuffer()
300 const Library& egl = m_display->getLibrary(); in makeCurrent() local
302 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in makeCurrent()
326 const Library& egl = m_display->getLibrary(); in create() local
331 EGLU_CHECK_CALL(egl, initialize(m_eglDisplay, &major, &minor)); in create()
334 m_eglConfig = chooseConfig(egl, m_eglDisplay, config); in create()
339 …const EGLint supportedTypes = eglu::getConfigAttribInt(egl, m_eglDisplay, m_eglConfig, EGL_SURFACE… in create()
380 m_eglSurface = createPBuffer(egl, m_eglDisplay, m_eglConfig, config); in create()
387 …m_eglContext = createGLContext(egl, m_eglDisplay, m_eglConfig, config.type, m_eglSharedContext, co… in create()
389 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in create()
393 if (hasExtension(egl, m_eglDisplay, "EGL_KHR_get_all_proc_addresses")) in create()
396 GetProcFuncLoader funcLoader(egl); in create()
445 GetProcFuncLoader extLoader(egl); in create()
453 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &width); in create()
454 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &height); in create()
456 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_RED_SIZE, &pixelFmt.redBits); in create()
457 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_GREEN_SIZE, &pixelFmt.greenBits); in create()
458 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_BLUE_SIZE, &pixelFmt.blueBits); in create()
459 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in create()
461 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_DEPTH_SIZE, &depthBits); in create()
462 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_STENCIL_SIZE, &stencilBits); in create()
463 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_SAMPLES, &numSamples); in create()
465 EGLU_CHECK_MSG(egl, "Failed to query config attributes"); in create()
475 const Library& egl = m_display->getLibrary(); in destroy() local
477 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy()
480 EGLU_CHECK_CALL(egl, destroySurface(m_eglDisplay, m_eglSurface)); in destroy()
483 EGLU_CHECK_CALL(egl, destroyContext(m_eglDisplay, m_eglContext)); in destroy()
486 EGLU_CHECK_CALL(egl, terminate(m_eglDisplay)); in destroy()
504 const Library& egl = m_display->getLibrary(); in postIterate() local
508 EGLBoolean swapOk = egl.swapBuffers(m_eglDisplay, m_eglSurface); in postIterate()
509 EGLint error = egl.getError(); in postIterate()
523 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate()
524 EGLU_CHECK_CALL(egl, destroySurface(m_eglDisplay, m_eglSurface)); in postIterate()
536 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in postIterate()
545 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate()
546 egl.destroySurface(m_eglDisplay, m_eglSurface); in postIterate()
568 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); in postIterate()
569 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &newHeight); in postIterate()
570 EGLU_CHECK_MSG(egl, "Failed to query window size"); in postIterate()