Lines Matching refs:dstOrigin
593 bool GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
599 SkASSERT(this->mtlCaps().canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin,
622 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) {
644 bool GrMtlGpu::copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
651 SkASSERT(!this->mtlCaps().canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin,
680 GrSurfaceOrigin transferOrigin = dstOrigin;
696 dstOrigin,
701 if (!this->copySurface(dst, dstOrigin,
709 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
729 success = fCopyManager.copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint,
731 } else if (this->mtlCaps().canCopyAsBlit(dstConfig, dstSampleCnt, dstOrigin,
734 success = this->copySurfaceAsBlit(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint);
737 success = this->copySurfaceAsDrawThenBlit(dst, dstOrigin, src, srcOrigin,
743 this->didWriteToSurface(dst, dstOrigin, &dstRect);