Home
last modified time | relevance | path

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

12

/external/skqp/tests/
DGrContextFactoryTest.cpp24 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); in DEF_GPUTEST() local
25 GrContext* context = testFactory.get(ctxType, in DEF_GPUTEST()
40 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType)i; in DEF_GPUTEST() local
42 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST()
53 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local
54 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
64 ContextInfo info2 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
78 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); in DEF_GPUTEST() local
79 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
94 ContextInfo info3 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
[all …]
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()
/external/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()
/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 (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 …]
/external/deqp/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()
131 auto ctxType = m_context.getRenderContext().getType(); in init() local
132 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init()
133 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()
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()
220 if (!isContextTypeES(ctxType)) in init()
/external/deqp/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()
/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.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()
/external/deqp/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()
DtcuWGL.hpp205 glu::ContextType ctxType,
/external/skia/bench/
Dnanobench.h28 sk_gpu_test::GrContextFactory::ContextType ctxType; member
/external/skqp/bench/
Dnanobench.h28 sk_gpu_test::GrContextFactory::ContextType ctxType; member
/external/deqp/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