• Home
  • Raw
  • Download

Lines Matching refs:skPaint

374                                            const SkPaint& skPaint,  in skpaint_to_grpaint_impl()  argument
380 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, in skpaint_to_grpaint_impl()
383 const GrFPArgs fpArgs(context, &viewM, skPaint.getFilterQuality(), &colorSpaceInfo); in skpaint_to_grpaint_impl()
391 } else if (const auto* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl()
423 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
453 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl()
468 SkColorFilter* colorFilter = skPaint.getColorFilter(); in skpaint_to_grpaint_impl()
483 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl()
493 if (!skPaint.isSrcOver()) { in skpaint_to_grpaint_impl()
494 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl()
501 if (SkPaintPriv::ShouldDither(skPaint, ct) && grPaint->numColorFragmentProcessors() > 0) { in skpaint_to_grpaint_impl()
517 const SkPaint& skPaint, const SkMatrix& viewM, GrPaint* grPaint) { in SkPaintToGrPaint() argument
518 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, viewM, nullptr, nullptr, in SkPaintToGrPaint()
525 const SkPaint& skPaint, in SkPaintToGrPaintReplaceShader() argument
531 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, SkMatrix::I(), &shaderFP, in SkPaintToGrPaintReplaceShader()
538 const SkPaint& skPaint, in SkPaintToGrPaintNoShader() argument
542 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, SkMatrix::I(), &nullShaderFP, in SkPaintToGrPaintNoShader()
550 const SkPaint& skPaint, in SkPaintToGrPaintWithXfermode() argument
554 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, viewM, nullptr, &primColorMode, in SkPaintToGrPaintWithXfermode()