Home
last modified time | relevance | path

Searched refs:kMetal (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/src/gpu/
DGrBackendSurface.cpp54 case GrBackendApi::kMetal: in GrBackendFormat()
172 : fBackend(GrBackendApi::kMetal) in GrBackendFormat()
179 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in asMtlFormat()
229 case GrBackendApi::kMetal: in channelMask()
262 case GrBackendApi::kMetal: in desc()
370 case GrBackendApi::kMetal: in operator ==()
423 case GrBackendApi::kMetal: in toStr()
543 , fBackend(GrBackendApi::kMetal) in GrBackendTexture()
644 case GrBackendApi::kMetal: in operator =()
701 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in getMtlTextureInfo()
[all …]
DGrBackendUtils.cpp80 case GrBackendApi::kMetal: { in GrBackendFormatToCompressionType()
126 case GrBackendApi::kMetal: { in GrBackendFormatBytesPerBlock()
186 case GrBackendApi::kMetal: { in GrBackendFormatStencilBits()
DGrBackendSemaphore.cpp58 case GrBackendApi::kMetal: in operator =()
DGrDDLContext.cpp43 if (this->backend() == GrBackendApi::kMetal || in recordProgramInfo()
/third_party/skia/experimental/graphite/include/
DTextureInfo.h32 : fBackend(BackendApi::kMetal) in TextureInfo()
55 if (!this->isValid() || fBackend != BackendApi::kMetal) { in getMtlTextureInfo()
68 SkASSERT(fValid && fBackend == BackendApi::kMetal); in mtlTextureSpec()
DGraphiteTypes.h28 kMetal, enumerator
/third_party/skia/include/gpu/
DGrBackendSemaphore.h71 fBackend = GrBackendApi::kMetal; in initMetal()
79 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlSemaphore()
86 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlValue()
DGrSurfaceInfo.h57 : fBackend(GrBackendApi::kMetal) in GrSurfaceInfo()
114 if (!this->isValid() || fBackend != GrBackendApi::kMetal) { in getMtlSurfaceInfo()
DGrTypes.h94 kMetal, enumerator
116 static constexpr GrBackendApi kMetal_GrBackend = GrBackendApi::kMetal;
/third_party/skia/bench/
DSkSLBench.cpp40 kMetal, enumerator
50 case Output::kMetal: return "metal_"; in output_string()
92 case Output::kMetal: SkAssertResult(fCompiler.toMetal(*program, &result)); break; in onDraw()
116 DEF_BENCH(return new SkSLCompileBench(#name, name ## _SRC, /*optimize=*/true, Output::kMetal);) \
/third_party/skia/dm/
DDMGpuTestProcs.cpp30 return GrBackendApi::kMetal == GrContextFactory::ContextTypeBackend(type); in IsMetalContextType()
92 auto [_, context] = factory.getContextInfo(ContextFactory::ContextType::kMetal); in RunWithGraphiteTestContexts()
/third_party/skia/experimental/graphite/src/
DTextureInfo.cpp29 case BackendApi::kMetal: in operator ==()
DUniformManager.h20 kMetal, /** This is our own self-imposed layout we use for Metal. */ enumerator
DContextUtils.cpp44 UniformManager mgr(Layout::kMetal); in make_gradient_uniform_data_common()
155 UniformManager mgr(Layout::kMetal); in make_solid_uniform_data()
DUniformManager.cpp463 if (fLayout != Layout::kMetal) { in getUniformTypeForLayout()
505 case Layout::kMetal: in writeUniforms()
/third_party/skia/tools/gpu/mtl/
DMtlTestContext.h20 GrBackendApi backend() override { return GrBackendApi::kMetal; } in backend()
/third_party/skia/tools/graphite/mtl/
DGraphiteMtlTestContext.h25 skgpu::BackendApi backend() override { return skgpu::BackendApi::kMetal; } in backend()
/third_party/skia/tools/graphite/
DContextFactory.h26 kMetal, enumerator
DContextFactory.cpp47 case ContextType::kMetal: { in getContextInfo()
/third_party/skia/tests/
DBackendAllocationTest.cpp75 if (dContext->backend() == GrBackend::kVulkan || dContext->backend() == GrBackend::kMetal) { in test_wrapping()
140 case GrBackendApi::kMetal: in isBGRA8()
189 case GrBackendApi::kMetal: in isRGB()
603 if (GrBackendApi::kMetal == context->backend()) { in color_type_backend_allocation_test()
DTextureProxyTest.cpp246 dContext->backend() == GrBackendApi::kMetal) { in invalidation_test()
341 if (direct->backend() == GrBackend::kVulkan || direct->backend() == GrBackend::kMetal) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrFinishedFlushTest.cpp74 ((dContext->backend() == GrBackendApi::kMetal) && fenceSupport) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tools/gpu/
DGrContextFactory.h78 return GrBackendApi::kMetal; in ContextTypeBackend()
DGrContextFactory.cpp261 case GrBackendApi::kMetal: { in getContextInfoInternal()
/third_party/skia/tools/flags/
DCommonFlagsConfig.cpp472 *outContextType = ContextType::kMetal; in get_option_graphite_api()
636 ContextType contextType = ContextType::kMetal; in parse_command_line_config_graphite()

12