Searched refs:ctxType (Results 1 - 16 of 16) sorted by relevance

/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));
H A DgluRenderContext.hpp188 bool contextSupports (ContextType ctxType, ApiType requiredApiType);
/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.hpp39 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType 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/skia/bench/
H A Dnanobench.h31 GrContextFactory::GLContextType ctxType; member in struct:Config
H A Dnanobench.cpp145 this->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(this->config.ctxType),
148 this->gl = gGrFactory->getGLContext(this->config.ctxType);
367 static bool is_gpu_config_allowed(const char* name, GrContextFactory::GLContextType ctxType, argument
372 if (const GrContext* ctx = gGrFactory->get(ctxType)) {
401 #define GPU_CONFIG(name, ctxType, samples, useDFText) \
402 if (is_gpu_config_allowed(#name, GrContextFactory::ctxType, samples)) { \
409 GrContextFactory::ctxType, \
1000 gGrFactory->get(targets[j]->config.ctxType)->printCacheStats();
1001 gGrFactory->get(targets[j]->config.ctxType)->printGpuStats();
/external/deqp/framework/platform/null/
H A DtcuNullRenderContext.cpp87 const ContextType ctxType; member in class:tcu::null::Context
119 : ctxType (ctxType_)
131 if (ctxType.getAPI() == ApiType::es(2, 0))
136 else if (ctxType.getAPI() == ApiType::es(3, 0))
141 else if (ctxType.getAPI() == ApiType::es(3, 1))
160 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 3)
165 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && 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(),
H A DtcuWGL.hpp190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat);
/external/deqp/modules/glshared/
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...]
H A DglsBufferTestUtil.cpp424 const glu::ContextType ctxType = renderCtx.getType(); local
425 const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330;
427 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion));
662 const glu::ContextType ctxType = renderCtx.getType();
663 const glu::GLSLVersion glslVersion = glu::isContextTypeES(ctxType) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330;
665 DE_ASSERT(glu::isGLSLVersionSupported(ctxType, glslVersion));
H A DglsDrawTest.cpp2193 bool DrawTestSpec::AttributeSpec::valid (glu::ApiType ctxType) const
2253 if (ctxType == glu::ApiType::es(2,0))
2268 if (ctxType.getProfile() == glu::PROFILE_ES && ctxType.getMajorVersion() == 3)
2275 if (ctxType.getProfile() == glu::PROFILE_CORE)
/external/deqp/modules/egl/
H A DteglImageTests.cpp242 Context (EglTestContext& eglTestCtx, EGLDisplay display, ContextType ctxType, int width, int height) argument
245 , m_config (chooseConfig(eglTestCtx.getLibrary(), display, ctxType.getAPI()))
246 , m_context (m_eglTestCtx.getLibrary(), m_display, eglu::createGLContext(eglTestCtx.getLibrary(), m_display, m_config, ctxType))
250 m_eglTestCtx.initGLFunctions(&m_gl, ctxType.getAPI());
/external/libxml2/
H A Dxmlschemas.c14966 xmlSchemaTypePtr ctxType,
14977 if (memberType == ctxType) {
14980 WXS_BASIC_CAST ctxType, NULL,
14990 ctxType,
14965 xmlSchemaCheckUnionTypeDefCircularRecur(xmlSchemaParserCtxtPtr pctxt, xmlSchemaTypePtr ctxType, xmlSchemaTypeLinkPtr members) argument

Completed in 500 milliseconds