Lines Matching defs:display

66 EGLSurface createWindowSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& window, bool useLegacyCreate)
72 surface = eglCreateWindowSurface(display, config, window.getLegacyNative(), DE_NULL);
82 surface = createPlatformWindowSurfaceEXT(display, config, window.getPlatformNative(), DE_NULL);
89 EGLSurface createPixmapSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& pixmap, bool useLegacyCreate)
95 surface = eglCreatePixmapSurface(display, config, pixmap.getLegacyNative(), DE_NULL);
105 surface = createPlatformPixmapSurfaceEXT(display, config, pixmap.getPlatformNative(), DE_NULL);
121 void executeForConfig (tcu::egl::Display& display, EGLConfig config)
124 EGLint id = display.getConfigAttrib(config, EGL_CONFIG_ID);
145 de::UniquePtr<eglu::NativeWindow> window (m_eglTestCtx.createNativeWindow(display.getEGLDisplay(), config, DE_NULL, width, height, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
146 tcu::egl::WindowSurface surface (display, createWindowSurface(display.getEGLDisplay(), config, m_eglTestCtx.getNativeDisplay(), *window, m_useLegacyCreate));
151 TCU_CHECK_EGL_CALL(eglQuerySurface(display.getEGLDisplay(), surface.getEGLSurface(), EGL_WIDTH, &windowWidth));
152 TCU_CHECK_EGL_CALL(eglQuerySurface(display.getEGLDisplay(), surface.getEGLSurface(), EGL_HEIGHT, &windowHeight));
177 void executeForConfig (tcu::egl::Display& display, EGLConfig config)
180 EGLint id = display.getConfigAttrib(config, EGL_CONFIG_ID);
201 de::UniquePtr<eglu::NativePixmap> pixmap (m_eglTestCtx.createNativePixmap(display.getEGLDisplay(), config, DE_NULL, width, height));
202 tcu::egl::PixmapSurface surface (display, createPixmapSurface(display.getEGLDisplay(), config, m_eglTestCtx.getNativeDisplay(), *pixmap, m_useLegacyCreate));
206 TCU_CHECK_EGL_CALL(eglQuerySurface(display.getEGLDisplay(), surface.getEGLSurface(), EGL_WIDTH, &pixmapWidth));
207 TCU_CHECK_EGL_CALL(eglQuerySurface(display.getEGLDisplay(), surface.getEGLSurface(), EGL_HEIGHT, &pixmapHeight));
231 void executeForConfig (tcu::egl::Display& display, EGLConfig config)
234 EGLint id = display.getConfigAttrib(config, EGL_CONFIG_ID);
244 width = deMin32(width, display.getConfigAttrib(config, EGL_MAX_PBUFFER_WIDTH));
245 height = deMin32(height, display.getConfigAttrib(config, EGL_MAX_PBUFFER_HEIGHT));
264 EGLSurface surface = eglCreatePbufferSurface(display.getEGLDisplay(), config, attribs);
267 eglDestroySurface(display.getEGLDisplay(), surface);