Home
last modified time | relevance | path

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

/external/deqp/framework/opengl/
DgluRenderContext.cpp46 bool contextSupports (ContextType ctxType, ApiType requiredApiType) in contextSupports() argument
49 const bool forwardCompatible = (ctxType.getFlags() & CONTEXT_FORWARD_COMPATIBLE) != 0; in contextSupports()
51 if (isContextTypeES(ctxType)) in contextSupports()
55 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
57 else if (isContextTypeGLCore(ctxType)) in contextSupports()
60 return ctxType.getAPI() == requiredApiType; in contextSupports()
63 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
65 else if (isContextTypeGLCompatibility(ctxType)) in contextSupports()
69 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.hpp186 bool contextSupports (ContextType ctxType, ApiType requiredApiType);
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp84 const ContextType ctxType; member in tcu::null::Context
116 : ctxType (ctxType_) in Context()
128 if (ctxType.getAPI() == ApiType::es(2, 0)) in Context()
133 else if (ctxType.getAPI() == ApiType::es(3, 0)) in Context()
138 else if (ctxType.getAPI() == ApiType::es(3, 1)) in Context()
157 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 3) in Context()
162 …else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && ctxType.getMinorVe… in Context()
170 if (isContextTypeES(ctxType)) in Context()
/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/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.cpp423 const glu::ContextType ctxType = renderCtx.getType(); in VertexArrayVerifier() local
424 …const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : gl… in VertexArrayVerifier()
426 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion)); in VertexArrayVerifier()
661 const glu::ContextType ctxType = renderCtx.getType(); in IndexArrayVerifier() local
662 …const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : gl… in IndexArrayVerifier()
664 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion)); in IndexArrayVerifier()
DglsDrawTest.cpp2207 bool DrawTestSpec::AttributeSpec::valid (glu::ApiType ctxType) const in valid()
2267 if (ctxType == glu::ApiType::es(2,0)) in valid()
2282 if (ctxType.getProfile() == glu::PROFILE_ES && ctxType.getMajorVersion() == 3) in valid()
2289 if (ctxType.getProfile() == glu::PROFILE_CORE) in valid()
/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/chromium_org/third_party/skia/bench/
Dnanobench.cpp266 GrContextFactory::GLContextType ctxType; member
291 static bool is_gpu_config_allowed(const char* name, GrContextFactory::GLContextType ctxType, in is_gpu_config_allowed() argument
296 if (const GrContext* ctx = gGrFactory->get(ctxType)) { in is_gpu_config_allowed()
324 #define GPU_CONFIG(name, ctxType, samples) \ in create_configs() argument
325 if (is_gpu_config_allowed(#name, GrContextFactory::ctxType, samples)) { \ in create_configs()
332 GrContextFactory::ctxType }; \ in create_configs()
367 target->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(config.ctxType), info, in is_enabled()
369 target->gl = gGrFactory->getGLContext(config.ctxType); in is_enabled()
/external/chromium_org/third_party/libxml/src/
Dxmlschemas.c14936 xmlSchemaTypePtr ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur() argument
14947 if (memberType == ctxType) { in xmlSchemaCheckUnionTypeDefCircularRecur()
14950 WXS_BASIC_CAST ctxType, NULL, in xmlSchemaCheckUnionTypeDefCircularRecur()
14960 ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur()
/external/libxml2/
Dxmlschemas.c14964 xmlSchemaTypePtr ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur() argument
14975 if (memberType == ctxType) { in xmlSchemaCheckUnionTypeDefCircularRecur()
14978 WXS_BASIC_CAST ctxType, NULL, in xmlSchemaCheckUnionTypeDefCircularRecur()
14988 ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur()