Home
last modified time | relevance | path

Searched refs:kMetal (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/experimental/graphite/include/
H A DTextureInfo.h32 : fBackend(BackendApi::kMetal) in TextureInfo()
55 if (!this->isValid() || fBackend != BackendApi::kMetal) { in getMtlTextureInfo()
68 SkASSERT(fValid && fBackend == BackendApi::kMetal); in mtlTextureSpec()
H A DGraphiteTypes.h28 kMetal, member in skgpu::SyncToCpu::BackendApi
/third_party/skia/include/gpu/
H A DGrBackendSemaphore.h71 fBackend = GrBackendApi::kMetal; in initMetal()
79 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlSemaphore()
86 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlValue()
H A DGrSurfaceInfo.h57 : fBackend(GrBackendApi::kMetal) in GrSurfaceInfo()
114 if (!this->isValid() || fBackend != GrBackendApi::kMetal) { in getMtlSurfaceInfo()
H A DGrTypes.h94 kMetal, member in GrBackendApi
116 static constexpr GrBackendApi kMetal_GrBackend = GrBackendApi::kMetal;
/third_party/skia/bench/
H A DSkSLBench.cpp40 kMetal, member in Output
50 case Output::kMetal: return "metal_"; in output_string()
92 case Output::kMetal: SkAssertResult(fCompiler.toMetal(*program, &result)); break;
116 DEF_BENCH(return new SkSLCompileBench(#name, name ## _SRC, /*optimize=*/true, Output::kMetal);) \
/third_party/skia/src/gpu/
H A 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 in getMtlTextureInfo()
[all...]
H A DGrBackendUtils.cpp80 case GrBackendApi::kMetal: { in GrBackendFormatToCompressionType()
126 case GrBackendApi::kMetal: { in GrBackendFormatBytesPerBlock()
186 case GrBackendApi::kMetal: { in GrBackendFormatStencilBits()
H A DGrBackendSemaphore.cpp58 case GrBackendApi::kMetal: in operator =()
H A DGrDDLContext.cpp43 if (this->backend() == GrBackendApi::kMetal ||
/third_party/skia/dm/
H A 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/
H A DTextureInfo.cpp29 case BackendApi::kMetal: in operator ==()
H A DUniformManager.h20 kMetal, /** This is our own self-imposed layout we use for Metal. */ member in skgpu::Layout
H A DContextUtils.cpp44 UniformManager mgr(Layout::kMetal); in make_gradient_uniform_data_common()
155 UniformManager mgr(Layout::kMetal); in make_solid_uniform_data()
H A DUniformManager.cpp463 if (fLayout != Layout::kMetal) { in getUniformTypeForLayout()
505 case Layout::kMetal: in writeUniforms()
/third_party/skia/tools/gpu/mtl/
H A DMtlTestContext.h20 GrBackendApi backend() override { return GrBackendApi::kMetal; }
/third_party/skia/tools/graphite/mtl/
H A DGraphiteMtlTestContext.h25 skgpu::BackendApi backend() override { return skgpu::BackendApi::kMetal; }
/third_party/skia/tools/graphite/
H A DContextFactory.cpp47 case ContextType::kMetal: { in getContextInfo()
H A DContextFactory.h26 kMetal, member in skiatest::graphite::ContextFactory::ContextType
/third_party/skia/tests/
H A DGrFinishedFlushTest.cpp74 ((dContext->backend() == GrBackendApi::kMetal) && fenceSupport) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A 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()
H A 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()
/third_party/skia/tools/gpu/
H A DGrContextFactory.h78 return GrBackendApi::kMetal; in ContextTypeBackend()
H A DGrContextFactory.cpp261 case GrBackendApi::kMetal: { in getContextInfoInternal()
/third_party/skia/tools/flags/
H A DCommonFlagsConfig.cpp472 *outContextType = ContextType::kMetal; in get_option_graphite_api()
636 ContextType contextType = ContextType::kMetal; in parse_command_line_config_graphite()

Completed in 12 milliseconds

12