/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 | 45 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 48 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 49 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 50 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 59 ContextInfo ctxInfo = factory.getContextInfo(contextType); in RunWithGPUTestContexts() 60 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 64 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
|
/external/deqp/framework/platform/surfaceless/ |
D | tcuSurfacelessPlatform.cpp | 262 const glu::ContextType& contextType = config.type; in EglRenderContext() local 280 switch(contextType.getMajorVersion()) in EglRenderContext() 355 context_attribs.push_back(contextType.getMajorVersion()); in EglRenderContext() 357 context_attribs.push_back(contextType.getMinorVersion()); in EglRenderContext() 359 switch (contextType.getProfile()) in EglRenderContext() 378 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in EglRenderContext() 381 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in EglRenderContext() 384 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in EglRenderContext() 405 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext() 408 else if (contextType.getAPI() == glu::ApiType::es(2,0)) in EglRenderContext() [all …]
|
/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…
|
D | glcAggressiveShaderOptimizationsTests.cpp | 83 glu::ContextType contextType = m_context.getRenderContext().getType(); in TrigonometryTestCase() local 84 glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(contextType); in TrigonometryTestCase() 90 …if (glu::contextSupports(contextType, glu::ApiType::es(3, 0)) || glu::isContextTypeGLCore(contextT… in TrigonometryTestCase()
|
/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/angle/src/tests/deqp_support/ |
D | glcShaderMacroTests_override.cpp | 112 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 115 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); in init() 123 if (glu::contextSupports(contextType, glu::ApiType::es(3, 2))) in init() 130 else if (glu::contextSupports(contextType, glu::ApiType::es(3, 1))) in init()
|
/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()
|
/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/gles31/functional/ |
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/skia/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() 417 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 439 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 443 SkWGLContextRequest contextType, in Create() argument 483 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|
/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/deqp/modules/glshared/ |
D | glsTextureStateQueryTests.cpp | 550 static bool isCoreTextureTarget (const glu::ContextType& contextType, glw::GLenum target) in isCoreTextureTarget() argument 552 if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureTarget() 554 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureTarget() 556 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureTarget() 565 static bool isCoreTextureParam (const glu::ContextType& contextType, glw::GLenum pname) in isCoreTextureParam() argument 567 if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureParam() 569 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureParam() 571 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureParam() 580 static bool isCoreQuery (const glu::ContextType& contextType, QueryType query) in isCoreQuery() argument 582 if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreQuery() [all …]
|
/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()
|