Lines Matching refs:egl

47 namespace egl  namespace
57 void checkEGLPlatformSupport (const Library& egl, const char* platformExt) in checkEGLPlatformSupport() argument
59 std::vector<std::string> extensions = eglu::getClientExtensions(egl); in checkEGLPlatformSupport()
67 const Library& egl = nativeDisplay.getLibrary(); in createWindowSurface() local
72 surface = egl.createWindowSurface(display, config, window.getLegacyNative(), DE_NULL); in createWindowSurface()
73 EGLU_CHECK_MSG(egl, "eglCreateWindowSurface() failed"); in createWindowSurface()
77 checkEGLPlatformSupport(egl, nativeDisplay.getPlatformExtensionName()); in createWindowSurface()
79 …surface = egl.createPlatformWindowSurfaceEXT(display, config, window.getPlatformNative(), DE_NULL); in createWindowSurface()
80 EGLU_CHECK_MSG(egl, "eglCreatePlatformWindowSurfaceEXT() failed"); in createWindowSurface()
88 const Library& egl = nativeDisplay.getLibrary(); in createPixmapSurface() local
93 surface = egl.createPixmapSurface(display, config, pixmap.getLegacyNative(), DE_NULL); in createPixmapSurface()
94 EGLU_CHECK_MSG(egl, "eglCreatePixmapSurface() failed"); in createPixmapSurface()
98 checkEGLPlatformSupport(egl, nativeDisplay.getPlatformExtensionName()); in createPixmapSurface()
100 …surface = egl.createPlatformPixmapSurfaceEXT(display, config, pixmap.getPlatformNative(), DE_NULL); in createPixmapSurface()
101 EGLU_CHECK_MSG(egl, "eglCreatePlatformPixmapSurfaceEXT() failed"); in createPixmapSurface()
118 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
120 EGLint id = eglu::getConfigID(egl, display, config); in executeForConfig()
137 EGLU_CHECK_MSG(egl, "init"); in executeForConfig()
143 …eglu::UniqueSurface surface (egl, display, createWindowSurface(display, config, m_eglTestCtx… in executeForConfig()
148 EGLU_CHECK_CALL(egl, querySurface(display, *surface, EGL_WIDTH, &windowWidth)); in executeForConfig()
149 EGLU_CHECK_CALL(egl, querySurface(display, *surface, EGL_HEIGHT, &windowHeight)); in executeForConfig()
176 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
178 EGLint id = eglu::getConfigID(egl, display, config); in executeForConfig()
195 EGLU_CHECK_MSG(egl, "init"); in executeForConfig()
201 …eglu::UniqueSurface surface (egl, display, createPixmapSurface(display, config, m_eglTestCtx… in executeForConfig()
205 EGLU_CHECK_CALL(egl, querySurface(display, *surface, EGL_WIDTH, &pixmapWidth)); in executeForConfig()
206 EGLU_CHECK_CALL(egl, querySurface(display, *surface, EGL_HEIGHT, &pixmapHeight)); in executeForConfig()
232 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
234 EGLint id = eglu::getConfigID(egl, display, config); in executeForConfig()
241 EGLU_CHECK_MSG(egl, "init"); in executeForConfig()
244 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
245 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
264 EGLSurface surface = egl.createPbufferSurface(display, config, attribs); in executeForConfig()
265 EGLU_CHECK_MSG(egl, "Failed to create pbuffer"); in executeForConfig()
267 egl.destroySurface(display, surface); in executeForConfig()