Home
last modified time | relevance | path

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

/external/skia/tests/
DGrContextFactoryTest.cpp24 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); variable
25 GrContext* context = testFactory.get(ctxType,
41 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType)i; variable
43 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kDisableNVPR);
59 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); variable
61 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kRequireSRGBSupport);
66 context = testFactory.get(ctxType);
77 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; variable
78 ContextInfo info1 = testFactory.getContextInfo(ctxType);
88 ContextInfo info2 = testFactory.getContextInfo(ctxType);
[all …]
DGrContextAbandonTest.cpp21 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; variable
22 ContextInfo info = testFactory.getContextInfo(ctxType);
DImageTest.cpp816 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); variable
817 ContextInfo ctxInfo = testFactory.getContextInfo(ctxType);
/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.cpp2109 bool DrawTestSpec::AttributeSpec::valid (glu::ApiType ctxType) const in valid()
2169 if (ctxType == glu::ApiType::es(2,0)) in valid()
2184 if (ctxType.getProfile() == glu::PROFILE_ES && ctxType.getMajorVersion() == 3) in valid()
2191 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/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/bench/
Dnanobench.h32 sk_gpu_test::GrContextFactory::ContextType ctxType; member
Dnanobench.cpp200 this->surface = SkSurface::MakeRenderTarget(gGrFactory->get(this->config.ctxType, in init()
204 this->context = gGrFactory->getContextInfo(this->config.ctxType, in init()
417 const auto ctxType = gpuConfig->getContextType(); in create_config() local
423 if (const GrContext* ctx = gGrFactory->get(ctxType, ctxOverrides)) { in create_config()
444 ctxType, in create_config()
1361 GrContext* context = gGrFactory->get(configs[i].ctxType, in main()
/external/libxml2/
Dxmlschemas.c15005 xmlSchemaTypePtr ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur() argument
15016 if (memberType == ctxType) { in xmlSchemaCheckUnionTypeDefCircularRecur()
15019 WXS_BASIC_CAST ctxType, NULL, in xmlSchemaCheckUnionTypeDefCircularRecur()
15029 ctxType, in xmlSchemaCheckUnionTypeDefCircularRecur()