Lines Matching refs:egl
2 * drawElements Quality Program EGL Module
21 * \brief EGL image tests.
84 namespace egl
154 ImageApi (const Library& egl, int contextId, EGLDisplay display, EGLSurface surface);
164 ImageApi::ImageApi (const Library& egl, int contextId, EGLDisplay display, EGLSurface surface)
165 : m_egl (egl)
268 GLES2ImageApi (const Library& egl, const glw::Functions& gl, int contextId, tcu::TestLog& log, EGLDisplay display, EGLSurface surface, EGLConfig config);
278 GLES2ImageApi::GLES2ImageApi (const Library& egl, const glw::Functions& gl, int contextId, tcu::TestLog& log, EGLDisplay display, EGLSurface surface, EGLConfig config)
279 : ImageApi (egl, contextId, display, surface)
293 egl.bindAPI(EGL_OPENGL_ES_API);
297 egl.makeCurrent(display, m_surface, m_surface, m_context);
329 static void imageTargetTexture2D (const Library& egl, const glw::Functions& gl, GLeglImageOES img)
339 EGLU_CHECK_MSG(egl, "glEGLImageTargetTexture2DOES()");
343 static void imageTargetRenderbuffer (const Library& egl, const glw::Functions& gl, GLeglImageOES img)
353 EGLU_CHECK_MSG(egl, "glEGLImageTargetRenderbufferStorageOES()");
923 const Library& egl = m_eglTestCtx.getLibrary();
927 const vector<string> eglExts = eglu::getDisplayExtensions(egl, dpy);
932 if (eglu::getVersion(egl, dpy) >= eglu::Version(1, 5))
934 // EGL 1.5 has built-in support for EGLImage and GL sources
944 << "EGL version is under 1.5 and neither EGL_KHR_image nor EGL_KHR_image_base is supported."
962 const Library& egl = m_eglTestCtx.getLibrary();
984 api = new GLES2ImageApi(egl, m_gl, contextNdx, getLog(), m_display, m_surface, m_config);
1005 const Library& egl = m_eglTestCtx.getLibrary();
1014 egl.destroySurface(m_display, m_surface);
1023 egl.terminate(m_display);
1556 } // egl