Lines Matching refs:grPaint
385 GrPaint* grPaint) { in skpaint_to_grpaint_impl() argument
427 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl()
435 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl()
442 grPaint->setColor4f(origColorAsPM); in skpaint_to_grpaint_impl()
443 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl()
455 grPaint->addColorFragmentProcessor(std::move(processor)); in skpaint_to_grpaint_impl()
458 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl()
465 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl()
471 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
479 grPaint->setColor4f( in skpaint_to_grpaint_impl()
484 grPaint->addColorFragmentProcessor(std::move(cfFP)); in skpaint_to_grpaint_impl()
496 grPaint->addCoverageFragmentProcessor(std::move(mfFP)); in skpaint_to_grpaint_impl()
502 SkASSERT(!grPaint->getXPFactory()); 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()
518 grPaint->addColorFragmentProcessor(std::move(ditherFP)); in skpaint_to_grpaint_impl()
527 const SkPaint& skPaint, const SkMatrix& viewM, GrPaint* grPaint) { in SkPaintToGrPaint() argument
529 grPaint); in SkPaintToGrPaint()
537 GrPaint* grPaint) { in SkPaintToGrPaintReplaceShader() argument
542 nullptr, grPaint); in SkPaintToGrPaintReplaceShader()
549 GrPaint* grPaint) { in SkPaintToGrPaintNoShader() argument
553 nullptr, grPaint); in SkPaintToGrPaintNoShader()
563 GrPaint* grPaint) { in SkPaintToGrPaintWithXfermode() argument
565 grPaint); in SkPaintToGrPaintWithXfermode()
574 GrPaint* grPaint) { in SkPaintToGrPaintWithTexture() argument
597 grPaint); in SkPaintToGrPaintWithTexture()