Lines Matching refs:dstInfo
96 auto dstInfo = origDstInfo; in readPixels() local
97 if (!dstInfo.clip(this->width(), this->height(), &pt, &dst, rowBytes)) { in readPixels()
101 tightRowBytes = dstInfo.minRowBytes(); in readPixels()
104 dstInfo.alphaType() == kPremul_SkAlphaType; in readPixels()
106 dstInfo.alphaType() == kUnpremul_SkAlphaType; in readPixels()
109 dstInfo.colorSpace()); in readPixels()
120 (GrColorType::kRGBA_8888 == dstInfo.colorType() || in readPixels()
121 GrColorType::kBGRA_8888 == dstInfo.colorType()) && in readPixels()
140 SkBackingFit::kApprox, dstInfo.width(), dstInfo.height(), colorType, std::move(cs), in readPixels()
151 if (dstInfo.colorType() == GrColorType::kBGRA_8888) { in readPixels()
153 dstInfo = dstInfo.makeColorType(GrColorType::kRGBA_8888); in readPixels()
158 dstInfo = dstInfo.makeAlphaType(kPremul_SkAlphaType); in readPixels()
171 SkRect::MakeWH(dstInfo.width(), dstInfo.height()), in readPixels()
172 SkRect::MakeXYWH(pt.fX, pt.fY, dstInfo.width(), dstInfo.height())); in readPixels()
174 return tempCtx->readPixels(dstInfo, dst, rowBytes, {0, 0}, direct); in readPixels()
180 this->colorSpaceInfo().colorType(), srcProxy->backendFormat(), dstInfo.colorType()); in readPixels()
185 (dstInfo.colorType() != supportedRead.fColorType); in readPixels()
193 this->colorSpaceInfo().refColorSpace(), dstInfo.width(), dstInfo.height()}; in readPixels()
201 pt.fY = flip ? srcSurface->height() - pt.fY - dstInfo.height() : pt.fY; in readPixels()
206 if (!direct->priv().getGpu()->readPixels(srcSurface, pt.fX, pt.fY, dstInfo.width(), in readPixels()
207 dstInfo.height(), this->colorSpaceInfo().colorType(), in readPixels()
213 return GrConvertPixels(dstInfo, dst, rowBytes, tmpInfo, readDst, readRB, flip); in readPixels()
642 GrPixelInfo dstInfo(dstCT, at, nullptr, w, h); in transferPixels() local
643 GrConvertPixels(dstInfo, dst, dstInfo.minRowBytes(), in transferPixels()