Lines Matching refs:srcPixels
238 // Separate this out just to give it some line width to breathe. Note 'srcPixels' should have
242 const SkPixmap& srcPixels,
246 !SkColorSpace::Equals(readInfo.colorSpace(), srcPixels.info().colorSpace());
249 const auto srcCT = srcPixels.info().colorType();
250 const auto srcAT = srcPixels.info().alphaType();
252 const auto surfBounds = SkIRect::MakeWH(srcPixels.width(), srcPixels.height());
349 SkPixmap unpremulSRc(srcPixels.info().makeAlphaType(kUnpremul_SkAlphaType),
350 srcPixels.addr(),
351 srcPixels.rowBytes());
355 srcPixels.readPixels(ref, srcReadRect.x(), srcReadRect.y());
425 SkAutoPixmapStorage srcPixels = make_ref_data(refInfo, forceOpaque);
426 auto src = srcFactory(srcPixels);
468 Result r = runTest(src, srcPixels, readInfo, offset);
818 const SkPixmap& srcPixels,
821 !SkColorSpace::Equals(dstInfo.colorSpace(), srcPixels.info().colorSpace());
822 const auto writeCT = srcPixels.colorType();
823 const auto writeAT = srcPixels.alphaType();
826 const auto rect = SkIRect::MakePtSize(offset, srcPixels.dimensions());
839 const Result result = write(dst, offset, srcPixels);
923 SkAssertResult(make_pixmap_have_valid_alpha_type(srcPixels).readPixels(