Lines Matching refs:skPaint
381 const SkPaint& skPaint, in skpaint_to_grpaint_impl() argument
387 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, in skpaint_to_grpaint_impl()
390 GrFPArgs fpArgs(context, &viewM, skPaint.getFilterQuality(), &colorSpaceInfo); in skpaint_to_grpaint_impl()
399 } else if (const auto* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl()
431 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
461 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
476 SkColorFilter* colorFilter = skPaint.getColorFilter(); in skpaint_to_grpaint_impl()
491 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl()
503 if (!skPaint.isSrcOver()) { in skpaint_to_grpaint_impl()
504 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl()
511 if (SkPaintPriv::ShouldDither(skPaint, ct) && grPaint->numColorFragmentProcessors() > 0) { in skpaint_to_grpaint_impl()
527 const SkPaint& skPaint, const SkMatrix& viewM, GrPaint* grPaint) { in SkPaintToGrPaint() argument
528 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, viewM, nullptr, nullptr, in SkPaintToGrPaint()
535 const SkPaint& skPaint, in SkPaintToGrPaintReplaceShader() argument
541 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, SkMatrix::I(), &shaderFP, in SkPaintToGrPaintReplaceShader()
548 const SkPaint& skPaint, in SkPaintToGrPaintNoShader() argument
552 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, SkMatrix::I(), &nullShaderFP, in SkPaintToGrPaintNoShader()
560 const SkPaint& skPaint, in SkPaintToGrPaintWithXfermode() argument
564 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, viewM, nullptr, &primColorMode, in SkPaintToGrPaintWithXfermode()