Lines Matching defs:egl

84 namespace egl
155 ImageApi (const Library& egl, int contextId, EGLDisplay display, EGLSurface surface);
165 ImageApi::ImageApi (const Library& egl, int contextId, EGLDisplay display, EGLSurface surface)
166 : m_egl (egl)
303 GLESImageApi (const Library& egl, const glw::Functions& gl, int contextId, tcu::TestLog& log, EGLDisplay display, EGLSurface surface, EGLConfig config, EGLint apiVersion);
313 GLESImageApi::GLESImageApi (const Library& egl, const glw::Functions& gl, int contextId, tcu::TestLog& log, EGLDisplay display, EGLSurface surface, EGLConfig config, EGLint apiVersion)
314 : ImageApi (egl, contextId, display, surface)
328 egl.bindAPI(EGL_OPENGL_ES_API);
332 egl.makeCurrent(display, m_surface, m_surface, m_context);
366 static void imageTargetTexture2D (const Library& egl, const glw::Functions& gl, GLeglImageOES img)
376 EGLU_CHECK_MSG(egl, "glEGLImageTargetTexture2DOES()");
380 static void imageTargetExternalTexture (const Library& egl, const glw::Functions& gl, GLeglImageOES img)
390 EGLU_CHECK_MSG(egl, "glEGLImageTargetTexture2DOES()");
394 static void imageTargetTexture2DArray (const Library& egl, const glw::Functions& gl, GLeglImageOES img)
404 EGLU_CHECK_MSG(egl, "glEGLImageTargetTexture2DOES()");
408 static void imageTargetRenderbuffer (const Library& egl, const glw::Functions& gl, GLeglImageOES img)
418 EGLU_CHECK_MSG(egl, "glEGLImageTargetRenderbufferStorageOES()");
430 static set<string> getSupportedExtensions (tcu::TestLog& log, const Library& egl, const EGLDisplay dpy, const glw::Functions gl)
434 const vector<string> eglExts = eglu::getDisplayExtensions(egl, dpy);
439 if (eglu::getVersion(egl, dpy) >= eglu::Version(1, 5))
1621 const Library& egl = m_eglTestCtx.getLibrary();
1629 if (m_spec.contexts[0] == TestSpec::API_GLES3 && eglu::getVersion(egl, m_display) < eglu::Version(1, 5))
1632 const vector<string> eglExts = eglu::getDisplayExtensions(egl, m_display);
1669 api = new GLESImageApi(egl, m_gl, contextNdx, getLog(), m_display, m_surface, m_config, 2);
1675 api = new GLESImageApi(egl, m_gl, contextNdx, getLog(), m_display, m_surface, m_config, 3);
1696 const Library& egl = m_eglTestCtx.getLibrary();
1707 egl.destroySurface(m_display, m_surface);
1716 egl.terminate(m_display);
2349 } // egl