• Home
  • Raw
  • Download

Lines Matching refs:egl

98 	GetProcFuncLoader (const Library& egl)  in GetProcFuncLoader()  argument
99 : m_egl(egl) in GetProcFuncLoader()
278 EGLSurface createPBuffer (const Library& egl, EGLDisplay display, EGLConfig eglConfig, const glu::R… in createPBuffer() argument
290 surface = egl.createPbufferSurface(display, eglConfig, &(attribList[0])); in createPBuffer()
291 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface()"); in createPBuffer()
298 const Library& egl = m_display->getLibrary(); in makeCurrent() local
300 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in makeCurrent()
317 const Library& egl = m_display->getLibrary(); in create() local
322 EGLU_CHECK_CALL(egl, initialize(m_eglDisplay, &major, &minor)); in create()
325 m_eglConfig = chooseConfig(egl, m_eglDisplay, config); in create()
330 …const EGLint supportedTypes = eglu::getConfigAttribInt(egl, m_eglDisplay, m_eglConfig, EGL_SURFACE… in create()
371 m_eglSurface = createPBuffer(egl, m_eglDisplay, m_eglConfig, config); in create()
378 …m_eglContext = createGLContext(egl, m_eglDisplay, m_eglConfig, config.type, config.resetNotificati… in create()
380 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in create()
384 if (hasExtension(egl, m_eglDisplay, "EGL_KHR_get_all_proc_addresses")) in create()
387 GetProcFuncLoader funcLoader(egl); in create()
436 GetProcFuncLoader extLoader(egl); in create()
444 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &width); in create()
445 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &height); in create()
447 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_RED_SIZE, &pixelFmt.redBits); in create()
448 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_GREEN_SIZE, &pixelFmt.greenBits); in create()
449 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_BLUE_SIZE, &pixelFmt.blueBits); in create()
450 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in create()
452 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_DEPTH_SIZE, &depthBits); in create()
453 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_STENCIL_SIZE, &stencilBits); in create()
454 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_SAMPLES, &numSamples); in create()
456 EGLU_CHECK_MSG(egl, "Failed to query config attributes"); in create()
466 const Library& egl = m_display->getLibrary(); in destroy() local
468 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy()
471 EGLU_CHECK_CALL(egl, destroySurface(m_eglDisplay, m_eglSurface)); in destroy()
474 EGLU_CHECK_CALL(egl, destroyContext(m_eglDisplay, m_eglContext)); in destroy()
476 EGLU_CHECK_CALL(egl, terminate(m_eglDisplay)); in destroy()
496 const Library& egl = m_display->getLibrary(); in postIterate() local
500 EGLBoolean swapOk = egl.swapBuffers(m_eglDisplay, m_eglSurface); in postIterate()
501 EGLint error = egl.getError(); in postIterate()
515 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate()
516 EGLU_CHECK_CALL(egl, destroySurface(m_eglDisplay, m_eglSurface)); in postIterate()
528 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in postIterate()
537 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate()
538 egl.destroySurface(m_eglDisplay, m_eglSurface); in postIterate()
560 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); in postIterate()
561 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &newHeight); in postIterate()
562 EGLU_CHECK_MSG(egl, "Failed to query window size"); in postIterate()