Lines Matching refs:m_eglDisplay
91 EGLDisplay m_eglDisplay;
287 , m_eglDisplay (EGL_NO_DISPLAY)
333 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
334 m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, config, DE_NULL);
347 m_eglContext = egl.createContext(m_eglDisplay, config, EGL_NO_CONTEXT, attribList);
351 egl.makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext);
357 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
358 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, m_preserveColorbuffer);
384 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
385 egl.destroyContext(m_eglDisplay, m_eglContext);
391 egl.destroySurface(m_eglDisplay, m_eglSurface);
395 if (m_eglDisplay != EGL_NO_DISPLAY)
397 egl.terminate(m_eglDisplay);
398 m_eglDisplay = EGL_NO_DISPLAY;
424 const int width = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_WIDTH);
425 const int height = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_HEIGHT);
449 EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED));
451 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext));
474 EGLU_CHECK_CALL(egl, swapBuffers(m_eglDisplay, m_eglSurface));