Lines Matching defs:egl
84 namespace egl
211 const Library& egl = m_eglTestCtx.getLibrary();
213 if (eglu::getVersion(egl, m_display) < eglu::Version(1, 5) &&
214 !eglu::hasExtension(egl, m_display, "EGL_KHR_image") &&
215 !eglu::hasExtension(egl, m_display, "EGL_KHR_image_base"))
220 if (eglu::getVersion(egl, m_display) >= eglu::Version(1, 5))
230 if (eglu::hasExtension(egl, m_display, "EGL_KHR_image") &&
231 eglu::hasExtension(egl, m_display, "EGL_KHR_image_base"))
262 const Library& egl = m_eglTestCtx.getLibrary();
263 const imageType image = (egl.*createImageFunc)(dpy, context, source, 0, DE_NULL);
271 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType)
283 configs = eglu::chooseConfigs(egl, display, attribs);
411 const Library& egl = m_eglTestCtx.getLibrary();
414 if (eglu::getVersion(egl, dpy) < eglu::Version(1, 5))
429 log << TestLog::Message << "Using EGL config " << eglu::getConfigID(egl, dpy, context.getConfig()) << TestLog::EndMessage;
431 UniquePtr<ClientBuffer> clientBuffer (m_source->createBuffer(egl, context.gl()));
432 const EGLImageKHR image = m_source->createImage(egl, dpy, eglContext, clientBuffer->get());
443 CHECK_EXT_CALL_RET(egl.destroyImageKHR(context.getEglDisplay(), image), (EGLBoolean)EGL_TRUE, EGL_SUCCESS);
476 const Library& egl = m_eglTestCtx.getLibrary();
511 EGLImageKHR image = CHECK_EXT_CALL_ERR(egl.createImageKHR(context.getEglDisplay(), context.getEglContext(), EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)(deUintptr)srcTex, attribs), EGL_SUCCESS);
543 CHECK_EXT_CALL_RET(egl.destroyImageKHR(context.getEglDisplay(), image), (EGLBoolean)EGL_TRUE, EGL_SUCCESS);
639 } // egl