Lines Matching refs:paintFP
341 std::unique_ptr<GrFragmentProcessor> paintFP; in skpaint_to_grpaint_impl() local
345 paintFP = std::move(*shaderProcessor); in skpaint_to_grpaint_impl()
348 paintFP = shader->asFragmentProcessor(fpArgs); in skpaint_to_grpaint_impl()
349 if (paintFP == nullptr) { in skpaint_to_grpaint_impl()
360 if (paintFP) { in skpaint_to_grpaint_impl()
370 paintFP = GrFragmentProcessor::OverrideInput(std::move(paintFP), shaderInput); in skpaint_to_grpaint_impl()
371 paintFP = GrBlendFragmentProcessor::Make(std::move(paintFP), /*dst=*/nullptr, in skpaint_to_grpaint_impl()
379 paintFP = GrFragmentProcessor::ModulateRGBA( in skpaint_to_grpaint_impl()
380 std::move(paintFP), {paintAlpha, paintAlpha, paintAlpha, paintAlpha}); in skpaint_to_grpaint_impl()
390 paintFP = GrFragmentProcessor::MakeColor(opaqueColor); in skpaint_to_grpaint_impl()
391 paintFP = GrBlendFragmentProcessor::Make(std::move(paintFP), /*dst=*/nullptr, in skpaint_to_grpaint_impl()
400 paintFP = GrFragmentProcessor::ModulateRGBA( in skpaint_to_grpaint_impl()
401 std::move(paintFP), {paintAlpha, paintAlpha, paintAlpha, paintAlpha}); in skpaint_to_grpaint_impl()
416 auto [success, fp] = as_CFB(colorFilter)->asFragmentProcessor(std::move(paintFP), in skpaint_to_grpaint_impl()
421 paintFP = std::move(fp); in skpaint_to_grpaint_impl()
443 if (SkPaintPriv::ShouldDither(skPaint, GrColorTypeToSkColorType(ct)) && paintFP != nullptr) { in skpaint_to_grpaint_impl()
445 paintFP = GrDitherEffect::Make(std::move(paintFP), ditherRange); in skpaint_to_grpaint_impl()
450 if (paintFP != nullptr) { in skpaint_to_grpaint_impl()
451 paintFP = GrClampFragmentProcessor::Make(std::move(paintFP), /*clampToPremul=*/false); in skpaint_to_grpaint_impl()
461 if (paintFP) { in skpaint_to_grpaint_impl()
462 grPaint->setColorFragmentProcessor(std::move(paintFP)); in skpaint_to_grpaint_impl()