Home
last modified time | relevance | path

Searched refs:ctxType (Results 1 – 17 of 17) sorted by relevance

/external/deqp/framework/opengl/
DgluRenderContext.cpp47 bool contextSupports (ContextType ctxType, ApiType requiredApiType) in contextSupports() argument
50 const bool forwardCompatible = (ctxType.getFlags() & CONTEXT_FORWARD_COMPATIBLE) != 0; in contextSupports()
52 if (isContextTypeES(ctxType)) in contextSupports()
56 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
58 else if (isContextTypeGLCore(ctxType)) in contextSupports()
61 return ctxType.getAPI() == requiredApiType; in contextSupports()
64 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
66 else if (isContextTypeGLCompatibility(ctxType)) in contextSupports()
70 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
DgluDrawUtil.cpp592 const glu::ContextType ctxType = context.getType(); in draw() local
594 if (isContextTypeGLCore(ctxType) || contextSupports(ctxType, ApiType::es(3,1))) in draw()
598 DE_ASSERT(isContextTypeES(ctxType)); in draw()
DgluRenderContext.hpp188 bool contextSupports (ContextType ctxType, ApiType requiredApiType);
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp87 const ContextType ctxType; member in tcu::null::Context
120 : ctxType (ctxType_) in Context()
132 if (ctxType.getAPI() == ApiType::es(2, 0)) in Context()
137 else if (ctxType.getAPI() == ApiType::es(3, 0)) in Context()
142 else if (ctxType.getAPI() == ApiType::es(3, 1)) in Context()
171 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 3) in Context()
176 …else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && ctxType.getMinorVe… in Context()
184 if (isContextTypeES(ctxType)) in Context()
/external/deqp/modules/glshared/
DglsMemoryStressCase.cpp184 const glu::ContextType ctxType = renderContext.getType(); in TextureRenderer() local
186 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES)) in TextureRenderer()
188 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES)) in TextureRenderer()
190 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_330)) in TextureRenderer()
195 if (ctxType.getProfile() == glu::PROFILE_CORE) in TextureRenderer()
346 const glu::ContextType ctxType = renderContext.getType(); in BufferRenderer() local
348 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES)) in BufferRenderer()
350 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES)) in BufferRenderer()
352 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_330)) in BufferRenderer()
357 if (ctxType.getProfile() == glu::PROFILE_CORE) in BufferRenderer()
DglsBufferTestUtil.cpp424 const glu::ContextType ctxType = renderCtx.getType(); in VertexArrayVerifier() local
425 …const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : gl… in VertexArrayVerifier()
427 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion)); in VertexArrayVerifier()
662 const glu::ContextType ctxType = renderCtx.getType(); in IndexArrayVerifier() local
663 …const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : gl… in IndexArrayVerifier()
665 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion)); in IndexArrayVerifier()
DglsDrawTest.cpp2193 bool DrawTestSpec::AttributeSpec::valid (glu::ApiType ctxType) const in valid()
2253 if (ctxType == glu::ApiType::es(2,0)) in valid()
2268 if (ctxType.getProfile() == glu::PROFILE_ES && ctxType.getMajorVersion() == 3) in valid()
2275 if (ctxType.getProfile() == glu::PROFILE_CORE) in valid()
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp33 const glu::ContextType ctxType = ctx.getType(); in drawQuad() local
35 if (glu::isContextTypeGLCore(ctxType) || (contextSupports(ctxType, glu::ApiType::es(3,1)))) in drawQuad()
39 DE_ASSERT(isContextTypeES(ctxType)); in drawQuad()
DsglrReferenceUtils.cpp48 …loatVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType) in mapGLFloatVertexAttributeType() argument
50 …const bool useClampingNormalization = (ctxType.getProfile() == glu::PROFILE_ES && ctxType.getMajor… in mapGLFloatVertexAttributeType()
51 (ctxType.getMajorVersion() == 4 && ctxType.getMinorVersion() >= 2); in mapGLFloatVertexAttributeType()
DsglrReferenceUtils.hpp39 …tVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType);
/external/deqp/framework/platform/win32/
DtcuWGL.cpp353 Context::Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat) in Context() argument
364 switch (ctxType.getProfile()) in Context()
382 if ((ctxType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in Context()
385 if ((ctxType.getFlags() & glu::CONTEXT_DEBUG) != 0) in Context()
388 if ((ctxType.getFlags() & glu::CONTEXT_ROBUST) != 0) in Context()
393 WGL_CONTEXT_MAJOR_VERSION_ARB, ctxType.getMajorVersion(), in Context()
394 WGL_CONTEXT_MINOR_VERSION_ARB, ctxType.getMinorVersion(), in Context()
DtcuWGL.hpp190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat);
/external/skia/bench/
Dnanobench.h31 GrContextFactory::GLContextType ctxType; member
Dnanobench.cpp186 this->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(this->config.ctxType, in init()
190 this->gl = gGrFactory->getContextInfo(this->config.ctxType, in init()
401 const auto ctxType = gpuConfig->getContextType(); in create_config() local
404 if (const GrContext* ctx = gGrFactory->get(ctxType, ctxOptions)) { in create_config()
422 ctxType, in create_config()
1248 GrContext* context = gGrFactory->get(configs[i].ctxType, in nanobench_main()
/external/deqp/modules/egl/
DteglImageTests.cpp247 …Context (EglTestContext& eglTestCtx, EGLDisplay display, ContextType ctxType, int width, int hei… in Context() argument
250 , m_config (chooseConfig(eglTestCtx.getLibrary(), display, ctxType.getAPI())) in Context()
251 …Library(), m_display, eglu::createGLContext(eglTestCtx.getLibrary(), m_display, m_config, ctxType)) in Context()
255 m_eglTestCtx.initGLFunctions(&m_gl, ctxType.getAPI()); in Context()
/external/skia/tools/kilobench/
Dkilobench.cpp185 GrContextFactory::GLContextType ctxType, in init()
187 GrContext* context = factory->get(ctxType, ctxOptions); in init()
198 fGL = factory->getContextInfo(ctxType, ctxOptions).fGLContext; in init()
/external/libxml2/
Dxmlschemas.c14966 xmlSchemaTypePtr ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur() argument
14977 if (memberType == ctxType) { in xmlSchemaCheckUnionTypeDefCircularRecur()
14980 WXS_BASIC_CAST ctxType, NULL, in xmlSchemaCheckUnionTypeDefCircularRecur()
14990 ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur()