/external/deqp/framework/egl/ |
D | egluGLUtil.cpp | 83 const glu::ContextType& contextType, in createGLContext() argument 93 if (glu::isContextTypeES(contextType)) in createGLContext() 97 if (contextType.getMajorVersion() <= 2) in createGLContext() 100 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 108 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 110 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 115 …DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); in createGLContext() 123 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 125 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 127 …attribList.push_back(glu::isContextTypeGLCore(contextType) ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_K… in createGLContext() [all …]
|
/external/skqp/dm/ |
D | DMGpuTestProcs.cpp | 41 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 44 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 45 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 46 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 56 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts() 57 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 61 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts() 66 ctxInfo = factory.getContextInfo(contextType, in RunWithGPUTestContexts()
|
/external/skia/dm/ |
D | DMGpuTestProcs.cpp | 49 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 52 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 53 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 54 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 63 ContextInfo ctxInfo = factory.getContextInfo(contextType); in RunWithGPUTestContexts() 64 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 68 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcContext.cpp | 37 Context::Context(tcu::TestContext& testCtx, glu::ContextType contextType) in Context() argument 40 createRenderContext(contextType); in Context() 48 void Context::createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags) in createRenderContext() argument 54 …glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFla… in createRenderContext()
|
D | glcParallelShaderCompileTests.cpp | 81 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 82 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate() 100 bool supportsInt64 = isGL || glu::contextSupports(contextType, glu::ApiType::es(3, 0)); in iterate() 171 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 172 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate() 234 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 235 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate()
|
D | glcShaderMacroTests.cpp | 109 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 112 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); in init() 120 if (glu::contextSupports(contextType, glu::ApiType::es(3, 2))) in init() 127 else if (glu::contextSupports(contextType, glu::ApiType::es(3, 1))) in init()
|
D | glcNoErrorTests.cpp | 95 glu::ContextType contextType(m_ApiType); in iterate() local 96 deqp::Context context(m_testCtx, contextType); in iterate() 98 bool noErrorExtensionExists = glu::contextSupports(contextType, glu::ApiType::core(4, 6)); in iterate()
|
D | glcInternalformatTests.hpp | 44 void getESTestData(TestData& testData, glu::ContextType& contextType); 45 void getGLTestData(TestData& testData, glu::ContextType& contextType);
|
D | glcContext.hpp | 49 Context(tcu::TestContext& testCtx, glu::ContextType contextType = glu::ContextType()); 78 …void createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags = (glu::Context…
|
/external/deqp/framework/platform/surfaceless/ |
D | tcuSurfacelessPlatform.cpp | 270 const glu::ContextType& contextType = config.type; in EglRenderContext() local 288 switch(contextType.getMajorVersion()) in EglRenderContext() 394 context_attribs.push_back(contextType.getMajorVersion()); in EglRenderContext() 396 context_attribs.push_back(contextType.getMinorVersion()); in EglRenderContext() 398 switch (contextType.getProfile()) in EglRenderContext() 417 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in EglRenderContext() 420 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in EglRenderContext() 423 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in EglRenderContext() 444 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext() 447 else if (contextType.getAPI() == glu::ApiType::es(2,0)) in EglRenderContext() [all …]
|
/external/deqp/framework/opengl/ |
D | gluStrUtil.cpp | 145 std::ostream& operator<< (std::ostream& str, ContextType contextType) in operator <<() argument 147 str << contextType.getAPI(); in operator <<() 149 if (contextType.getFlags() != ContextFlags(0)) in operator <<() 161 ContextFlags flags = contextType.getFlags(); in operator <<() 169 if (flags != contextType.getFlags()) in operator <<() 180 if (flags != contextType.getFlags()) in operator <<()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawElementsBaseVertexTests.cpp | 128 static void genBasicSpec (gls::DrawTestSpec& spec, glu::ContextType& contextType, gls::DrawTestSpec… in genBasicSpec() argument 130 …spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAP… in genBasicSpec() 514 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 515 genBasicSpec(spec, contextType, m_method); in init() 582 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 583 genBasicSpec(spec, contextType, m_method); in init() 648 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 650 …spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAP… in init() 685 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 687 …spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAP… in init() [all …]
|
D | es31fGeometryShaderTests.cpp | 118 …std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader() argument 120 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader() 122 …L_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in specializeShader() 200 …VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, … 208 …std::string genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType i… 211 VertexExpanderShader::VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShader… in VertexExpanderShader() argument 218 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader() 219 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader() 221 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType))) in VertexExpanderShader() 282 std::string VertexExpanderShader::genGeometrySource (const glu::ContextType& contextType, rr::Geome… in genGeometrySource() argument [all …]
|
/external/skqp/tests/ |
D | SurfaceSemaphoreTest.cpp | 180 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 184 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 185 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 186 if (contextType != kNativeGLType) { in DEF_GPUTEST() 192 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST() 193 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 197 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
|
/external/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 197 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 201 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 202 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 203 if (contextType != kNativeGLType) { in DEF_GPUTEST() 208 sk_gpu_test::ContextInfo ctxInfo = factory.getContextInfo(contextType); in DEF_GPUTEST() 209 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 213 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
|
D | GrContextOOM.cpp | 22 auto contextType = static_cast<sk_gpu_test::GrContextFactory::ContextType>(ct); in DEF_GPUTEST() local 23 auto context = factory.get(contextType); in DEF_GPUTEST()
|
/external/deqp/modules/egl/ |
D | teglThreadCleanUpTests.cpp | 151 static std::string testCaseName (ContextType contextType, SurfaceType surfaceType) in testCaseName() argument 155 if (contextType == CONTEXTTYPE_SINGLE) in testCaseName() 169 ThreadCleanUpTest (EglTestContext& eglTestCtx, ContextType contextType, SurfaceType surfaceType) in ThreadCleanUpTest() argument 170 …: TestCase (eglTestCtx, testCaseName(contextType, surfaceType).c_str(), "Simple thread context c… in ThreadCleanUpTest() 171 , m_contextType (contextType) in ThreadCleanUpTest()
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayTests.cpp | 137 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 138 …if (glu::isContextTypeGLCore(contextType) || glu::contextSupports(contextType, glu::ApiType::es(3,… in init()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cSpirvExtensionsTests.cpp | 58 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 59 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init() 65 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init()
|
D | gl4cIndirectParametersTests.cpp | 86 glu::ContextType contextType = m_context.getRenderContext().getType(); in iterate() local 87 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in iterate() 250 glu::ContextType contextType = m_context.getRenderContext().getType(); in iterate() local 251 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in iterate() 340 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 341 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init() 521 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 522 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init()
|
/external/deqp/modules/glshared/ |
D | glsTextureStateQueryTests.cpp | 599 static bool isCoreTextureTarget (const glu::ContextType& contextType, glw::GLenum target) in isCoreTextureTarget() argument 601 if (contextSupports(contextType, glu::ApiType::core(4,5))) in isCoreTextureTarget() 603 else if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureTarget() 605 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureTarget() 607 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureTarget() 616 static bool isCoreTextureParam (const glu::ContextType& contextType, glw::GLenum pname) in isCoreTextureParam() argument 618 if (contextSupports(contextType, glu::ApiType::core(4,5))) in isCoreTextureParam() 620 else if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureParam() 622 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureParam() 624 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureParam() [all …]
|
/external/skqp/src/utils/win/ |
D | SkWGL_win.cpp | 351 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument 356 if (kGLES_SkWGLContextRequest == contextType) { in create_gl_context() 373 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && in create_gl_context() 421 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 443 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 447 SkWGLContextRequest contextType, in Create() argument 487 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 349 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument 354 if (kGLES_SkWGLContextRequest == contextType) { in create_gl_context() 371 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && in create_gl_context() 415 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 437 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 441 SkWGLContextRequest contextType, in Create() argument 481 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 74 static TypeResolver covariantly(Type contextType) { in covariantly() argument 75 return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(contextType)); in covariantly() 89 static TypeResolver invariantly(Type contextType) { in invariantly() argument 90 Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType); in invariantly() 380 static ImmutableMap<TypeVariableKey, Type> getTypeMappings(Type contextType) { in getTypeMappings() argument 381 checkNotNull(contextType); in getTypeMappings() 383 introspector.visit(contextType); in getTypeMappings()
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 74 static TypeResolver covariantly(Type contextType) { in covariantly() argument 75 return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(contextType)); in covariantly() 89 static TypeResolver invariantly(Type contextType) { in invariantly() argument 90 Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType); in invariantly() 380 static ImmutableMap<TypeVariableKey, Type> getTypeMappings(Type contextType) { in getTypeMappings() argument 381 checkNotNull(contextType); in getTypeMappings() 383 introspector.visit(contextType); in getTypeMappings()
|