Home
last modified time | relevance | path

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

12

/third_party/skia/tests/
DGrContextFactoryTest.cpp22 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local
23 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
33 ContextInfo info2 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
47 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); in DEF_GPUTEST() local
48 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
63 ContextInfo info3 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
93 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); in DEF_GPUTEST() local
94 ContextInfo serialInfo = serialFactory.getContextInfo(ctxType); in DEF_GPUTEST()
99 ContextInfo threadedInfo = threadedFactory.getContextInfo(ctxType); in DEF_GPUTEST()
DGrContextAbandonTest.cpp20 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local
21 ContextInfo info = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
DPinnedImageTest.cpp102 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in cleanup_test() local
110 ContextInfo info = testFactory.getContextInfo(ctxType); in cleanup_test()
/third_party/flutter/skia/tests/
DGrContextFactoryTest.cpp21 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local
22 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
32 ContextInfo info2 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
46 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); in DEF_GPUTEST() local
47 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
62 ContextInfo info3 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
92 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); in DEF_GPUTEST() local
93 ContextInfo serialInfo = serialFactory.getContextInfo(ctxType); in DEF_GPUTEST()
98 ContextInfo threadedInfo = threadedFactory.getContextInfo(ctxType); in DEF_GPUTEST()
DGrContextAbandonTest.cpp19 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local
20 ContextInfo info = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
DPinnedImageTest.cpp97 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in cleanup_test() local
105 ContextInfo info = testFactory.getContextInfo(ctxType); in cleanup_test()
/third_party/vk-gl-cts/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 (ctxType.getAPI() == ApiType::es(3, 2)) in Context()
176 else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 3) in Context()
181 …else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && ctxType.getMinorVe… in Context()
186 …else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && ctxType.getMinorVe… in Context()
191 …else if (glu::isContextTypeGLCore(ctxType) && ctxType.getMajorVersion() == 4 && ctxType.getMinorVe… in Context()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderMultisampleInterpolationStateQueryTests.cpp81 auto ctxType = m_context.getRenderContext().getType(); in init() local
82 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init()
83 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in init()
139 auto ctxType = m_context.getRenderContext().getType(); in init() local
140 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init()
141 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in init()
Des31fShaderStateQueryTests.cpp100 auto ctxType = m_context.getRenderContext().getType(); in iterate() local
101 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in iterate()
102 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in iterate()
118 …derArgs["VERSIONDECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(ctxType)); in iterate()
384 auto ctxType = m_context.getRenderContext().getType(); in init() local
385 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init()
386 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in init()
Des31fInternalFormatQueryTests.cpp76 auto ctxType = m_context.getRenderContext().getType(); in init() local
77 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init()
78 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in init()
95 auto ctxType = m_context.getRenderContext().getType(); in iterate() local
96 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in iterate()
97 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in iterate()
Des31fProgramStateQueryTests.cpp67 auto ctxType = ctx.getRenderContext().getType(); in checkSupport() local
68 return contextSupports(ctxType, glu::ApiType::es(3, 2)) || in checkSupport()
69 contextSupports(ctxType, glu::ApiType::core(4, 5)); in checkSupport()
74 auto ctxType = context.getRenderContext().getType(); in specializeShader() local
75 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(ctxType); in specializeShader()
77 const bool isES = isContextTypeES(ctxType); in specializeShader()
Des31fFboColorbufferTests.cpp212 auto ctxType = m_context.getRenderContext().getType(); in preCheck() local
213 if (!glu::contextSupports(ctxType, glu::ApiType::core(4, 5)) && in preCheck()
214 !glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) && in preCheck()
Des31fTextureFilteringTests.cpp200 auto ctxType = m_context.getRenderContext().getType(); in init() local
201 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init()
202 glu::contextSupports(ctxType, glu::ApiType::core(4, 5)); in init()
223 if (!isContextTypeES(ctxType)) in init()
/third_party/vk-gl-cts/framework/opengl/
DgluRenderContext.cpp60 bool contextSupports (ContextType ctxType, ApiType requiredApiType) in contextSupports() argument
63 const bool forwardCompatible = (ctxType.getFlags() & CONTEXT_FORWARD_COMPATIBLE) != 0; in contextSupports()
65 if (isContextTypeES(ctxType)) in contextSupports()
69 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
71 else if (isContextTypeGLCore(ctxType)) in contextSupports()
74 return ctxType.getAPI() == requiredApiType; in contextSupports()
77 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
79 else if (isContextTypeGLCompatibility(ctxType)) in contextSupports()
83 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
DgluDummyRenderContext.hpp50 explicit DummyRenderContext (ContextType ctxType = ContextType()) : m_ctxType(ctxType) {} in DummyRenderContext() argument
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()
/third_party/vk-gl-cts/modules/glshared/
DglsMemoryStressCase.cpp177 const glu::ContextType ctxType = renderContext.getType(); in TextureRenderer() local
179 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES)) in TextureRenderer()
181 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES)) in TextureRenderer()
183 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_330)) in TextureRenderer()
188 if (ctxType.getProfile() == glu::PROFILE_CORE) in TextureRenderer()
339 const glu::ContextType ctxType = renderContext.getType(); in BufferRenderer() local
341 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES)) in BufferRenderer()
343 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES)) in BufferRenderer()
345 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_330)) in BufferRenderer()
350 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()
/third_party/vk-gl-cts/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);
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGL.cpp424 glu::ContextType ctxType, in Context() argument
438 int minor = ctxType.getMinorVersion(); in Context()
439 int major = ctxType.getMajorVersion(); in Context()
441 switch (ctxType.getProfile()) in Context()
473 if ((ctxType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in Context()
475 if (glu::isContextTypeES(ctxType)) in Context()
481 if ((ctxType.getFlags() & glu::CONTEXT_DEBUG) != 0) in Context()
484 if ((ctxType.getFlags() & glu::CONTEXT_ROBUST) != 0) in Context()
487 if ((ctxType.getFlags() & glu::CONTEXT_NO_ERROR) != 0) in Context()
/third_party/skia/bench/
Dnanobench.h28 sk_gpu_test::GrContextFactory::ContextType ctxType; member
/third_party/flutter/skia/bench/
Dnanobench.h28 sk_gpu_test::GrContextFactory::ContextType ctxType; member
/third_party/vk-gl-cts/modules/egl/
DteglImageTests.cpp296 …Context (EglTestContext& eglTestCtx, EGLDisplay display, ContextType ctxType, int width, int hei… in Context() argument
299 , m_config (chooseConfig(eglTestCtx.getLibrary(), display, ctxType.getAPI())) in Context()
300 …Library(), m_display, eglu::createGLContext(eglTestCtx.getLibrary(), m_display, m_config, ctxType)) in Context()
304 m_eglTestCtx.initGLFunctions(&m_gl, ctxType.getAPI()); in Context()

12