Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/ganesh/
DGrBackendSurface.cpp58 case GrBackendApi::kMetal: in GrBackendFormat()
183 : fBackend(GrBackendApi::kMetal) in GrBackendFormat()
190 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in asMtlFormat()
240 case GrBackendApi::kMetal: in channelMask()
273 case GrBackendApi::kMetal: in desc()
379 case GrBackendApi::kMetal: in operator ==()
431 case GrBackendApi::kMetal: in toStr()
565 , fBackend(GrBackendApi::kMetal) in GrBackendTexture()
677 case GrBackendApi::kMetal: in operator =()
734 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in getMtlTextureInfo()
[all …]
DGrBackendUtils.cpp71 case GrBackendApi::kMetal: { in GrBackendFormatToCompressionType()
121 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()
/external/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()
DGpuTypes.h24 kMetal, enumerator
DGrTypes.h95 kMetal, enumerator
117 static constexpr GrBackendApi kMetal_GrBackend = GrBackendApi::kMetal;
/external/skia/include/gpu/graphite/
DTextureInfo.h42 : fBackend(BackendApi::kMetal) in TextureInfo()
90 if (!this->isValid() || fBackend != BackendApi::kMetal) { in getMtlTextureInfo()
126 SkASSERT(fValid && fBackend == BackendApi::kMetal); in mtlTextureSpec()
/external/skia/src/gpu/graphite/
DBackendTexture.cpp53 case BackendApi::kMetal: in operator =()
86 case BackendApi::kMetal: in operator ==()
143 if (this->isValid() && this->backend() == BackendApi::kMetal) { in getMtlTexture()
DTextureInfo.cpp29 case BackendApi::kMetal: in operator =()
70 case BackendApi::kMetal: in operator ==()
DResourceTypes.h62 kMetal, enumerator
/external/skia/bench/
DSkSLBench.cpp57 kMetal, enumerator
70 case Output::kMetal: return "metal_"; in output_string()
139 case Output::kMetal: SkAssertResult(fCompiler.toMetal(*program, &result)); break; in onDraw()
179 DEF_BENCH(return new SkSLCompileBench(#name, name ## _SRC, /*optimize=*/true, Output::kMetal);) \
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp87 case ANGLEBackend::kMetal: in get_angle_egl_display()
359 case ANGLEBackend::kMetal: in ANGLEGLContext()
539 if (ANGLEBackend::kMetal == type) { in MakeANGLETestContext()
545 if (ANGLEBackend::kMetal != type) { in MakeANGLETestContext()
DGLTestContext_angle.h25 kMetal enumerator
/external/skia/tools/gpu/
DGrContextFactory.cpp213 glCtx = MakeANGLETestContext(ANGLEBackend::kMetal, ANGLEContextVersion::kES2, in getContextInfoInternal()
217 glCtx = MakeANGLETestContext(ANGLEBackend::kMetal, ANGLEContextVersion::kES3, in getContextInfoInternal()
261 case GrBackendApi::kMetal: { in getContextInfoInternal()
/external/skia/src/sksl/
DSkSLMemoryLayout.h28 kMetal, enumerator
42 bool isMetal() const { return fStd == Standard::kMetal; } in isMetal()
/external/skia/tools/gpu/mtl/
DMtlTestContext.h20 GrBackendApi backend() override { return GrBackendApi::kMetal; } in backend()
/external/skia/tools/graphite/mtl/
DGraphiteMtlTestContext.h23 skgpu::BackendApi backend() override { return skgpu::BackendApi::kMetal; } in backend()
/external/skia/tests/graphite/
DUniformManagerTest.cpp20 Layout::kMetal,
56 return (layout == Layout::kMetal && !SkSLTypeIsFullPrecisionNumericType(type)) ? 2 : 4; in element_size()
516 UniformManager mgr(Layout::kMetal); in DEF_TEST()
DUniformOffsetCalculatorTest.cpp75 constexpr Layout kLayout = Layout::kMetal; in DEF_TEST()
115 constexpr Layout kLayout = Layout::kMetal; in DEF_TEST()
/external/skia/dm/
DDMGpuTestProcs.cpp36 return GrBackendApi::kMetal == GrContextFactory::ContextTypeBackend(type); in IsMetalContextType()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_device.cc29 GetGpuInfoFromDeviceDescription(device_name, GpuApi::kMetal, &gpu_info); in CreateGpuInfoFromMetalDevice()
/external/skia/tests/
DBackendAllocationTest.cpp128 if (dContext->backend() == GrBackend::kVulkan || dContext->backend() == GrBackend::kMetal) { in test_wrapping()
193 case GrBackendApi::kMetal: in isBGRA8()
246 case GrBackendApi::kMetal: in isRGB()
639 if (GrBackendApi::kMetal == context->backend()) { in color_type_backend_allocation_test()
DBazelTestRunner.cpp49 return GrBackendApi::kMetal == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsMetalContextType()

12