Lines Matching refs:shaderFP
387 std::unique_ptr<GrFragmentProcessor> shaderFP; in skpaint_to_grpaint_impl() local
390 shaderFP = std::move(*shaderProcessor); in skpaint_to_grpaint_impl()
392 shaderFP = shader->asFragmentProcessor(fpArgs); in skpaint_to_grpaint_impl()
393 if (!shaderFP) { in skpaint_to_grpaint_impl()
403 if (shaderFP) { in skpaint_to_grpaint_impl()
413 shaderFP = GrFragmentProcessor::OverrideInput(std::move(shaderFP), shaderInput); in skpaint_to_grpaint_impl()
414 shaderFP = GrXfermodeFragmentProcessor::MakeFromSrcProcessor(std::move(shaderFP), in skpaint_to_grpaint_impl()
418 if (shaderFP) { in skpaint_to_grpaint_impl()
419 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl()
435 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl()
526 std::unique_ptr<GrFragmentProcessor> shaderFP, in SkPaintToGrPaintReplaceShader() argument
528 if (!shaderFP) { in SkPaintToGrPaintReplaceShader()
531 return skpaint_to_grpaint_impl(context, colorSpaceInfo, skPaint, SkMatrix::I(), &shaderFP, in SkPaintToGrPaintReplaceShader()
565 std::unique_ptr<GrFragmentProcessor> shaderFP; in SkPaintToGrPaintWithTexture() local
568 shaderFP = shader->asFragmentProcessor(GrFPArgs( in SkPaintToGrPaintWithTexture()
570 if (!shaderFP) { in SkPaintToGrPaintWithTexture()
573 … std::unique_ptr<GrFragmentProcessor> fpSeries[] = { std::move(shaderFP), std::move(fp) }; in SkPaintToGrPaintWithTexture()
574 shaderFP = GrFragmentProcessor::RunInSeries(fpSeries, 2); in SkPaintToGrPaintWithTexture()
576 shaderFP = GrFragmentProcessor::MakeInputPremulAndMulByOutput(std::move(fp)); in SkPaintToGrPaintWithTexture()
579 shaderFP = GrFragmentProcessor::MulChildByInputAlpha(std::move(fp)); in SkPaintToGrPaintWithTexture()
582 return SkPaintToGrPaintReplaceShader(context, colorSpaceInfo, paint, std::move(shaderFP), in SkPaintToGrPaintWithTexture()