Lines Matching refs:dstInfo
165 auto dstInfo = origDstInfo; in readPixels() local
166 if (!dstInfo.clip(this->width(), this->height(), &pt, &dst, rowBytes)) { in readPixels()
170 tightRowBytes = dstInfo.minRowBytes(); in readPixels()
172 SkColorSpaceXformSteps::Flags flags = SkColorSpaceXformSteps{this->colorInfo(), dstInfo}.flags; in readPixels()
188 (GrColorType::kRGBA_8888 == dstInfo.colorType() || in readPixels()
189 GrColorType::kBGRA_8888 == dstInfo.colorType()) && in readPixels()
207 direct, colorType, std::move(cs), SkBackingFit::kApprox, dstInfo.dimensions(), in readPixels()
217 if (dstInfo.colorType() == GrColorType::kBGRA_8888) { in readPixels()
219 dstInfo = dstInfo.makeColorType(GrColorType::kRGBA_8888); in readPixels()
224 dstInfo = dstInfo.makeAlphaType(kPremul_SkAlphaType); in readPixels()
237 SkRect::MakeWH(dstInfo.width(), dstInfo.height()), in readPixels()
238 SkRect::MakeXYWH(pt.fX, pt.fY, dstInfo.width(), dstInfo.height())); in readPixels()
240 return tempCtx->readPixels(dstInfo, dst, rowBytes, {0, 0}, direct); in readPixels()
246 this->colorInfo().colorType(), srcProxy->backendFormat(), dstInfo.colorType()); in readPixels()
251 (dstInfo.colorType() != supportedRead.fColorType); in readPixels()
259 this->colorInfo().refColorSpace(), dstInfo.width(), dstInfo.height()}; in readPixels()
267 pt.fY = flip ? srcSurface->height() - pt.fY - dstInfo.height() : pt.fY; in readPixels()
272 if (!direct->priv().getGpu()->readPixels(srcSurface, pt.fX, pt.fY, dstInfo.width(), in readPixels()
273 dstInfo.height(), this->colorInfo().colorType(), in readPixels()
279 return GrConvertPixels(dstInfo, dst, rowBytes, tmpInfo, readDst, readRB, flip); in readPixels()
724 GrImageInfo dstInfo(dstCT, at, nullptr, w, h); in transferPixels() local
725 GrConvertPixels(dstInfo, dst, dstInfo.minRowBytes(), in transferPixels()