Lines Matching refs:shaderFP
389 const GrFragmentProcessor* shaderFP = nullptr; in skpaint_to_grpaint_impl() local
392 shaderFP = *shaderProcessor; in skpaint_to_grpaint_impl()
396 shaderFP = aufp; in skpaint_to_grpaint_impl()
397 if (!shaderFP) { in skpaint_to_grpaint_impl()
407 if (shaderFP) { in skpaint_to_grpaint_impl()
418 shaderFP = GrFragmentProcessor::OverrideInput(shaderFP, shaderInput); in skpaint_to_grpaint_impl()
419 aufp.reset(shaderFP); in skpaint_to_grpaint_impl()
422 shaderFP = GrXfermodeFragmentProcessor::CreateFromDstProcessor(shaderFP, in skpaint_to_grpaint_impl()
425 shaderFP = GrXfermodeFragmentProcessor::CreateFromSrcProcessor(shaderFP, in skpaint_to_grpaint_impl()
428 aufp.reset(shaderFP); in skpaint_to_grpaint_impl()
430 if (shaderFP) { in skpaint_to_grpaint_impl()
431 grPaint->addColorFragmentProcessor(shaderFP); in skpaint_to_grpaint_impl()
442 grPaint->addColorFragmentProcessor(shaderFP); in skpaint_to_grpaint_impl()
518 const GrFragmentProcessor* shaderFP, in SkPaintToGrPaintReplaceShader() argument
520 if (!shaderFP) { in SkPaintToGrPaintReplaceShader()
523 return skpaint_to_grpaint_impl(context, skPaint, SkMatrix::I(), &shaderFP, nullptr, false, in SkPaintToGrPaintReplaceShader()
556 SkAutoTUnref<const GrFragmentProcessor> shaderFP; in SkPaintToGrPaintWithTexture() local
559 shaderFP.reset(shader->asFragmentProcessor(context, in SkPaintToGrPaintWithTexture()
563 if (!shaderFP) { in SkPaintToGrPaintWithTexture()
566 const GrFragmentProcessor* fpSeries[] = { shaderFP.get(), fp }; in SkPaintToGrPaintWithTexture()
567 shaderFP.reset(GrFragmentProcessor::RunInSeries(fpSeries, 2)); in SkPaintToGrPaintWithTexture()
569 shaderFP.reset(GrFragmentProcessor::MulOutputByInputUnpremulColor(fp)); in SkPaintToGrPaintWithTexture()
572 shaderFP.reset(GrFragmentProcessor::MulOutputByInputAlpha(fp)); in SkPaintToGrPaintWithTexture()
575 return SkPaintToGrPaintReplaceShader(context, paint, shaderFP.get(), grPaint); in SkPaintToGrPaintWithTexture()