Lines Matching refs:srcInfo
492 const GrPixelInfo& srcInfo, const void* src, size_t srcRB, in GrConvertPixels() argument
495 if (!srcInfo.isValid() || !dstInfo.isValid()) { in GrConvertPixels()
501 if (dstInfo.width() != srcInfo.width() || srcInfo.height() != dstInfo.height()) { in GrConvertPixels()
508 if (dstRB < dstInfo.minRowBytes() || srcRB < srcInfo.minRowBytes()) { in GrConvertPixels()
512 size_t srcBpp = srcInfo.bpp(); in GrConvertPixels()
519 bool premul = srcInfo.alphaType() == kUnpremul_SkAlphaType && in GrConvertPixels()
521 bool unpremul = srcInfo.alphaType() == kPremul_SkAlphaType && in GrConvertPixels()
524 premul || unpremul || !SkColorSpace::Equals(srcInfo.colorSpace(), dstInfo.colorSpace()); in GrConvertPixels()
526 if (srcInfo.colorType() == dstInfo.colorType() && !alphaOrCSConversion) { in GrConvertPixels()
536 SkRectMemcpy(dst, dstRB, src, srcRB, tightRB, srcInfo.height()); in GrConvertPixels()
544 auto loadSwizzle = get_load_and_get_swizzle(srcInfo.colorType(), &load, &srcIsNormalized, in GrConvertPixels()
557 steps.init(srcInfo.colorSpace(), srcInfo.alphaType(), in GrConvertPixels()
568 int height = srcInfo.height(); in GrConvertPixels()
617 pipeline.run(0, 0, srcInfo.width(), height); in GrConvertPixels()