• Home
  • Raw
  • Download

Lines Matching refs:srcInfo

255     auto srcInfo = origSrcInfo;  in writePixels()  local
256 if (!srcInfo.clip(this->width(), this->height(), &pt, &src, rowBytes)) { in writePixels()
260 tightRowBytes = srcInfo.minRowBytes(); in writePixels()
263 srcInfo.alphaType() == kUnpremul_SkAlphaType; in writePixels()
265 srcInfo.alphaType() == kPremul_SkAlphaType; in writePixels()
268 srcInfo.colorSpace(), this->colorSpaceInfo().colorSpace()); in writePixels()
278 (srcInfo.colorType() == GrColorType::kRGBA_8888 || in writePixels()
279 srcInfo.colorType() == GrColorType::kBGRA_8888) && in writePixels()
288 desc.fWidth = srcInfo.width(); in writePixels()
289 desc.fHeight = srcInfo.height(); in writePixels()
334 srcInfo = srcInfo.makeColorType(GrColorType::kRGBA_8888); in writePixels()
336 if (!tempCtx->writePixels(srcInfo, src, rowBytes, {0, 0}, direct)) { in writePixels()
360 SkRect::MakeXYWH(pt.fX, pt.fY, srcInfo.width(), srcInfo.height()), in writePixels()
361 SkRect::MakeWH(srcInfo.width(), srcInfo.height())); in writePixels()
363 SkIRect srcRect = SkIRect::MakeWH(srcInfo.width(), srcInfo.height()); in writePixels()
375 srcInfo.colorType()).fColorType; in writePixels()
379 (srcInfo.colorType() != allowedColorType) || flip; in writePixels()
382 GrColorType srcColorType = srcInfo.colorType(); in writePixels()
385 this->colorSpaceInfo().refColorSpace(), srcInfo.width(), in writePixels()
386 srcInfo.height()); in writePixels()
390 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels()
406 dstSurface, pt.fX, pt.fY, srcInfo.width(), srcInfo.height(), in writePixels()
641 GrPixelInfo srcInfo(supportedRead.fColorType, at, nullptr, w, h); in transferPixels() local
644 srcInfo, src, srcInfo.minRowBytes(), in transferPixels()