/third_party/skia/tests/ |
D | GrContextFactoryTest.cpp | 22 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()
|
D | GrContextAbandonTest.cpp | 20 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local 21 ContextInfo info = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
|
D | PinnedImageTest.cpp | 102 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in cleanup_test() local 110 ContextInfo info = testFactory.getContextInfo(ctxType); in cleanup_test()
|
/third_party/flutter/skia/tests/ |
D | GrContextFactoryTest.cpp | 21 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()
|
D | GrContextAbandonTest.cpp | 19 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; in DEF_GPUTEST() local 20 ContextInfo info = testFactory.getContextInfo(ctxType); in DEF_GPUTEST()
|
D | PinnedImageTest.cpp | 97 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/ |
D | tcuNullRenderContext.cpp | 87 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/ |
D | es31fShaderMultisampleInterpolationStateQueryTests.cpp | 81 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()
|
D | es31fShaderStateQueryTests.cpp | 100 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()
|
D | es31fInternalFormatQueryTests.cpp | 76 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()
|
D | es31fProgramStateQueryTests.cpp | 67 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()
|
D | es31fFboColorbufferTests.cpp | 212 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()
|
D | es31fTextureFilteringTests.cpp | 200 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/ |
D | gluRenderContext.cpp | 60 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()
|
D | gluDummyRenderContext.hpp | 50 explicit DummyRenderContext (ContextType ctxType = ContextType()) : m_ctxType(ctxType) {} in DummyRenderContext() argument
|
D | gluDrawUtil.cpp | 592 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/ |
D | glsMemoryStressCase.cpp | 177 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()
|
D | glsBufferTestUtil.cpp | 424 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/ |
D | sglrContextUtil.cpp | 33 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()
|
D | sglrReferenceUtils.cpp | 48 …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()
|
D | sglrReferenceUtils.hpp | 39 …tVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType);
|
/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWGL.cpp | 424 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/ |
D | nanobench.h | 28 sk_gpu_test::GrContextFactory::ContextType ctxType; member
|
/third_party/flutter/skia/bench/ |
D | nanobench.h | 28 sk_gpu_test::GrContextFactory::ContextType ctxType; member
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglImageTests.cpp | 296 …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()
|