/third_party/vk-gl-cts/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 …]
|
/third_party/flutter/skia/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() 55 ContextInfo ctxInfo = factory.getContextInfo(contextType); in RunWithGPUTestContexts() 56 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 60 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
|
/third_party/skia/dm/ |
D | DMGpuTestProcs.cpp | 54 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 57 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 58 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 59 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 68 ContextInfo ctxInfo = factory.getContextInfo(contextType); in RunWithGPUTestContexts() 69 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 73 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
|
/third_party/vk-gl-cts/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…
|
/third_party/vk-gl-cts/framework/platform/surfaceless/ |
D | tcuSurfacelessPlatform.cpp | 272 const glu::ContextType& contextType = config.type; in EglRenderContext() local 290 switch(contextType.getMajorVersion()) in EglRenderContext() 396 context_attribs.push_back(contextType.getMajorVersion()); in EglRenderContext() 398 context_attribs.push_back(contextType.getMinorVersion()); in EglRenderContext() 400 switch (contextType.getProfile()) in EglRenderContext() 419 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in EglRenderContext() 422 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in EglRenderContext() 425 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in EglRenderContext() 446 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext() 449 else if (contextType.getAPI() == glu::ApiType::es(2,0)) in EglRenderContext() [all …]
|
/third_party/vk-gl-cts/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 <<()
|
/third_party/vk-gl-cts/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 supportsES32orGL45 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)) || in specializeShader() 121 glu::contextSupports(contextType, glu::ApiType::core(4, 5)); in specializeShader() 123 …L_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in specializeShader() 132 auto contextType = ctx.getRenderContext().getType(); in checkSupport() local 133 return contextSupports(contextType, glu::ApiType::es(3, 2)) || in checkSupport() 134 contextSupports(contextType, glu::ApiType::core(4, 5)) || in checkSupport() 209 …VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, … 217 …std::string genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType i… 220 VertexExpanderShader::VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShader… in VertexExpanderShader() argument [all …]
|
/third_party/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()
|
/third_party/flutter/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 195 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 199 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 200 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 201 if (contextType != kNativeGLType) { in DEF_GPUTEST() 206 sk_gpu_test::ContextInfo ctxInfo = factory.getContextInfo(contextType); in DEF_GPUTEST() 207 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 211 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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() 522 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 523 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsTextureStateQueryTests.cpp | 598 static bool isCoreTextureTarget (const glu::ContextType& contextType, glw::GLenum target) in isCoreTextureTarget() argument 600 if (contextSupports(contextType, glu::ApiType::core(4,5))) in isCoreTextureTarget() 602 else if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureTarget() 604 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureTarget() 606 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureTarget() 615 static bool isCoreTextureParam (const glu::ContextType& contextType, glw::GLenum pname) in isCoreTextureParam() argument 617 if (contextSupports(contextType, glu::ApiType::core(4,5))) in isCoreTextureParam() 619 else if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureParam() 621 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureParam() 623 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureParam() [all …]
|
/third_party/skia/tools/flags/ |
D | CommonFlagsConfig.cpp | 518 ContextType contextType, in SkCommandLineConfigGpu() argument 533 , fContextType(contextType) in SkCommandLineConfigGpu() 561 SkCommandLineConfigGpu::ContextType contextType = GrContextFactory::kGL_ContextType; in parse_command_line_config_gpu() local 584 extendedOptions.get_option_gpu_api("api", &contextType, &fakeGLESVersion2, false) && in parse_command_line_config_gpu() 613 contextType, in parse_command_line_config_gpu() 636 ContextType contextType = ContextType::kMetal; in parse_command_line_config_graphite() local 647 bool validOptions = extendedOptions.get_option_graphite_api("api", &contextType) && in parse_command_line_config_graphite() 656 contextType, in parse_command_line_config_graphite()
|
D | CommonFlagsConfig.h | 60 ContextType contextType, 116 ContextType contextType, in SkCommandLineConfigGraphite() argument 121 , fContextType(contextType) in SkCommandLineConfigGraphite()
|
/third_party/flutter/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()
|
/third_party/skia/src/utils/win/ |
D | SkWGL_win.cpp | 358 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument 363 if (kGLES_SkWGLContextRequest == contextType) { in create_gl_context() 380 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && in create_gl_context() 424 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 446 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 450 SkWGLContextRequest contextType, in Create() argument 490 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|