Lines Matching defs:paint
311 sk_sp<SkShader> SkMakeBitmapShaderForPaint(const SkPaint& paint, const SkBitmap& src,
320 if (src.colorType() == kAlpha_8_SkColorType && paint.getShader()) {
321 // Compose the image shader with the paint's shader. Alpha images+shaders should output the
324 s = SkShaders::Blend(SkBlendMode::kDstIn, paint.refShader(), std::move(s));
520 // Color for A8 images comes from the paint. TODO: all alpha images? none?
666 skvm::Coord device, skvm::Coord origLocal, skvm::Color paint,
671 b, device, origLocal, paint, matrices, localM, dst, uniforms, nullptr, alloc);
675 skvm::Builder* p, skvm::Coord device, skvm::Coord origLocal, skvm::Color paint,
912 // Alpha-only images get their color from the paint (already converted to dst color space).
916 c.r = paint.r;
917 c.g = paint.g;
918 c.b = paint.b;