Lines Matching refs:m_eglDisplay

142 	virtual EGLDisplay					getEGLDisplay			(void) const { return m_eglDisplay;			}
156 EGLDisplay m_eglDisplay;
173 , m_eglDisplay (EGL_NO_DISPLAY)
478 m_eglDisplay = eglu::getDisplay(*m_display);
483 EGLU_CHECK_CALL(eglInitialize(m_eglDisplay, &major, &minor));
486 m_eglConfig = chooseConfig(m_eglDisplay, config);
491 const EGLint supportedTypes = eglu::getConfigAttribInt(m_eglDisplay, m_eglConfig, EGL_SURFACE_TYPE);
509 const WindowSurfacePair windowSurface = createWindow(m_display, windowFactory, m_eglDisplay, m_eglConfig, config);
522 const PixmapSurfacePair pixmapSurface = createPixmap(m_display, pixmapFactory, m_eglDisplay, m_eglConfig, config);
532 m_eglSurface = createPBuffer(m_eglDisplay, m_eglConfig, config);
539 m_eglContext = createContext(m_eglDisplay, m_eglConfig, config);
541 EGLU_CHECK_CALL(eglMakeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext));
545 if (isClientExtensionSupported(m_eglDisplay, "EGL_KHR_get_all_proc_addresses"))
593 eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &width);
594 eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &height);
596 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_RED_SIZE, &pixelFmt.redBits);
597 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_GREEN_SIZE, &pixelFmt.greenBits);
598 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_BLUE_SIZE, &pixelFmt.blueBits);
599 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_ALPHA_SIZE, &pixelFmt.alphaBits);
601 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_DEPTH_SIZE, &depthBits);
602 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_STENCIL_SIZE, &stencilBits);
603 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_SAMPLES, &numSamples);
613 if (m_eglDisplay != EGL_NO_DISPLAY)
615 EGLU_CHECK_CALL(eglMakeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
618 EGLU_CHECK_CALL(eglDestroySurface(m_eglDisplay, m_eglSurface));
621 EGLU_CHECK_CALL(eglDestroyContext(m_eglDisplay, m_eglContext));
623 EGLU_CHECK_CALL(eglTerminate(m_eglDisplay));
625 m_eglDisplay = EGL_NO_DISPLAY;
645 EGLBoolean swapOk = eglSwapBuffers(m_eglDisplay, m_eglSurface);
660 EGLU_CHECK_CALL(eglMakeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
661 EGLU_CHECK_CALL(eglDestroySurface(m_eglDisplay, m_eglSurface));
669 WindowSurfacePair windowSurface = createWindow(m_display, m_nativeWindowFactory, m_eglDisplay, m_eglConfig, m_renderConfig);
673 EGLU_CHECK_CALL(eglMakeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext));
682 eglMakeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
683 eglDestroySurface(m_eglDisplay, m_eglSurface);
705 eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth);
706 eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &newHeight);