Searched defs:ctxType (Results 1 - 11 of 11) sorted by relevance

/external/deqp/framework/opengl/simplereference/
H A DsglrContextUtil.cpp33 const glu::ContextType ctxType = ctx.getType(); local
35 if (glu::isContextTypeGLCore(ctxType) || (contextSupports(ctxType, glu::ApiType::es(3,1))))
39 DE_ASSERT(isContextTypeES(ctxType));
H A DsglrReferenceUtils.cpp48 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType) argument
50 const bool useClampingNormalization = (ctxType.getProfile() == glu::PROFILE_ES && ctxType.getMajorVersion() >= 3) ||
51 (ctxType.getMajorVersion() == 4 && ctxType.getMinorVersion() >= 2);
/external/deqp/framework/opengl/
H A DgluRenderContext.cpp46 bool contextSupports (ContextType ctxType, ApiType requiredApiType) argument
49 const bool forwardCompatible = (ctxType.getFlags() & CONTEXT_FORWARD_COMPATIBLE) != 0;
51 if (isContextTypeES(ctxType))
55 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType);
57 else if (isContextTypeGLCore(ctxType))
60 return ctxType.getAPI() == requiredApiType;
63 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType);
65 else if (isContextTypeGLCompatibility(ctxType))
69 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType);
H A DgluDrawUtil.cpp592 const glu::ContextType ctxType = context.getType(); local
594 if (isContextTypeGLCore(ctxType) || contextSupports(ctxType, ApiType::es(3,1)))
598 DE_ASSERT(isContextTypeES(ctxType));
/external/chromium_org/third_party/skia/bench/
H A Dnanobench.cpp266 GrContextFactory::GLContextType ctxType; member in struct:Config
291 static bool is_gpu_config_allowed(const char* name, GrContextFactory::GLContextType ctxType, argument
296 if (const GrContext* ctx = gGrFactory->get(ctxType)) {
324 #define GPU_CONFIG(name, ctxType, samples) \
325 if (is_gpu_config_allowed(#name, GrContextFactory::ctxType, samples)) { \
332 GrContextFactory::ctxType }; \
367 target->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(config.ctxType), info,
369 target->gl = gGrFactory->getGLContext(config.ctxType);
/external/deqp/framework/platform/null/
H A DtcuNullRenderContext.cpp84 const ContextType ctxType; member in class:tcu::null::Context
116 : ctxType (ctxType_)
128 if (ctxType.getAPI() == ApiType::es(2, 0))
133 else if (ctxType.getAPI() == ApiType::es(3, 0))
138 else if (ctxType.getAPI() == ApiType::es(3, 1))
157 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 3)
162 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && ctxType
[all...]
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.cpp423 const glu::ContextType ctxType = renderCtx.getType(); local
424 const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330;
426 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion));
661 const glu::ContextType ctxType = renderCtx.getType();
662 const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330;
664 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion));
H A DglsMemoryStressCase.cpp184 const glu::ContextType ctxType = renderContext.getType(); local
186 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES))
188 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES))
190 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_330))
195 if (ctxType.getProfile() == glu::PROFILE_CORE)
346 const glu::ContextType ctxType = renderContext.getType(); local
348 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES))
350 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES))
352 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_330))
357 if (ctxType
[all...]
/external/deqp/framework/platform/win32/
H A DtcuWGL.cpp353 Context::Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat) argument
364 switch (ctxType.getProfile())
382 if ((ctxType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0)
385 if ((ctxType.getFlags() & glu::CONTEXT_DEBUG) != 0)
388 if ((ctxType.getFlags() & glu::CONTEXT_ROBUST) != 0)
393 WGL_CONTEXT_MAJOR_VERSION_ARB, ctxType.getMajorVersion(),
394 WGL_CONTEXT_MINOR_VERSION_ARB, ctxType.getMinorVersion(),
/external/chromium_org/third_party/libxml/src/
H A Dxmlschemas.c14936 xmlSchemaTypePtr ctxType,
14947 if (memberType == ctxType) {
14950 WXS_BASIC_CAST ctxType, NULL,
14960 ctxType,
14935 xmlSchemaCheckUnionTypeDefCircularRecur(xmlSchemaParserCtxtPtr pctxt, xmlSchemaTypePtr ctxType, xmlSchemaTypeLinkPtr members) argument
/external/libxml2/
H A Dxmlschemas.c14964 xmlSchemaTypePtr ctxType,
14975 if (memberType == ctxType) {
14978 WXS_BASIC_CAST ctxType, NULL,
14988 ctxType,
14963 xmlSchemaCheckUnionTypeDefCircularRecur(xmlSchemaParserCtxtPtr pctxt, xmlSchemaTypePtr ctxType, xmlSchemaTypeLinkPtr members) argument

Completed in 532 milliseconds