Searched refs:mtlCaps (Results 1 – 11 of 11) sorted by relevance
32 const Caps& mtlCaps = gpu->mtlCaps();38 if (mtlCaps.isMac()) {41 SkASSERT(mtlCaps.isApple());52 size = SkAlignTo(size, mtlCaps.getMinBufferAlignment());
30 const Caps& mtlCaps() const { return static_cast<const Caps&>(*this->caps()); } in mtlCaps() function
159 if (fGpu->mtlCaps().isMac()) {283 if (fGpu->mtlCaps().isMac()) {
55 if (gpu->mtlCaps().isMac()) {68 size = SkAlignTo(size, gpu->mtlCaps().getMinBufferAlignment());104 sizeInBytes, this->mtlGpu()->mtlCaps().getMinBufferAlignment());166 if (this->mtlGpu()->mtlCaps().isMac()) {
163 if (useMSAASurface && this->mtlCaps().renderTargetSupportsDiscardableMSAA(mtlRT)) {313 SkASSERT(this->mtlCaps().isFormatTexturable(tex->mtlTexture().pixelFormat));328 SkASSERT(this->mtlCaps().surfaceSupportsWritePixels(tex));329 SkASSERT(this->mtlCaps().areColorTypeAndFormatCompatible(dataColorType, tex->backendFormat()));358 size_t alignment = std::max(bpp, this->mtlCaps().getMinBufferAlignment());406 if (this->mtlCaps().isMac()) {422 SkASSERT(this->mtlCaps().isFormatTexturable(tex->mtlTexture().pixelFormat));459 size_t alignment = std::max(bpp, this->mtlCaps().getMinBufferAlignment());519 MTLPixelFormat sFmt = this->mtlCaps().preferredStencilFormat();538 SkASSERT(this->mtlCaps().isFormatRenderable(pixelFormat, numSamples));[all …]
66 gpu->mtlCaps());68 gpu->mtlCaps());
46 const GrMtlCaps& mtlCaps() const { return *fMtlCaps.get(); } in mtlCaps() function273 return GrBackendFormat::MakeMtl(this->mtlCaps().preferredStencilFormat()); in getPreferredStencilFormat()
65 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) {
526 GrMtlCaps* mtlCaps = (GrMtlCaps*)this->caps();527 pipelineDescriptor.stencilAttachmentPixelFormat = mtlCaps->getStencilPixelFormat(desc);
69 const GrMtlCaps& caps = fGpu->mtlCaps();
41 const GrMtlCaps* mtlCaps = static_cast<const GrMtlCaps*>(dContext->priv().caps());92 if (!mtlCaps->isFormatTexturable(combo.fFormat)) {102 if (GrMipmapped::kYes == mipMapped && !mtlCaps->mipmapSupport()) {111 if (!mtlCaps->isFormatAsColorTypeRenderable(