Home
last modified time | relevance | path

Searched refs:mtlCaps (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/experimental/graphite/src/mtl/
DMtlBuffer.mm32 const Caps& mtlCaps = gpu->mtlCaps();
38 if (mtlCaps.isMac()) {
41 SkASSERT(mtlCaps.isApple());
52 size = SkAlignTo(size, mtlCaps.getMinBufferAlignment());
DMtlGpu.h30 const Caps& mtlCaps() const { return static_cast<const Caps&>(*this->caps()); } in mtlCaps() function
DMtlCommandBuffer.mm159 if (fGpu->mtlCaps().isMac()) {
283 if (fGpu->mtlCaps().isMac()) {
/third_party/skia/src/gpu/mtl/
DGrMtlBuffer.mm55 if (gpu->mtlCaps().isMac()) {
68 size = SkAlignTo(size, gpu->mtlCaps().getMinBufferAlignment());
104 sizeInBytes, this->mtlGpu()->mtlCaps().getMinBufferAlignment());
166 if (this->mtlGpu()->mtlCaps().isMac()) {
DGrMtlGpu.mm163 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 …]
DGrMtlSampler.mm66 gpu->mtlCaps());
68 gpu->mtlCaps());
DGrMtlGpu.h46 const GrMtlCaps& mtlCaps() const { return *fMtlCaps.get(); } in mtlCaps() function
273 return GrBackendFormat::MakeMtl(this->mtlCaps().preferredStencilFormat()); in getPreferredStencilFormat()
DGrMtlRenderTarget.mm65 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) {
DGrMtlPipelineStateBuilder.mm526 GrMtlCaps* mtlCaps = (GrMtlCaps*)this->caps();
527 pipelineDescriptor.stencilAttachmentPixelFormat = mtlCaps->getStencilPixelFormat(desc);
DGrMtlOpsRenderPass.mm69 const GrMtlCaps& caps = fGpu->mtlCaps();
/third_party/skia/tests/
DMtlBackendAllocationTest.mm41 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(