Lines Matching refs:blendFormula
400 PorterDuffXferProcessor(BlendFormula blendFormula, GrProcessorAnalysisCoverage coverage) in PorterDuffXferProcessor() argument
402 , fBlendFormula(blendFormula) { in PorterDuffXferProcessor()
481 BlendFormula blendFormula = xp.getBlendFormula(); in emitOutputsForBlendState() local
482 if (blendFormula.hasSecondaryOutput()) { in emitOutputsForBlendState()
483 append_color_output(xp, fragBuilder, blendFormula.secondaryOutput(), in emitOutputsForBlendState()
486 append_color_output(xp, fragBuilder, blendFormula.primaryOutput(), args.fOutputPrimary, in emitOutputsForBlendState()
763 BlendFormula blendFormula; in makeXferProcessor() local
774 blendFormula = get_lcd_blend_formula(fBlendMode); in makeXferProcessor()
776 blendFormula = in makeXferProcessor()
783 if ((blendFormula.hasSecondaryOutput() && !caps.shaderCaps()->dualSourceBlendingSupport()) || in makeXferProcessor()
789 return sk_sp<const GrXferProcessor>(new PorterDuffXferProcessor(blendFormula, coverage)); in makeXferProcessor()
875 BlendFormula blendFormula = static_cast<const PorterDuffXferProcessor*>(xp)->getBlendFormula(); in TestGetXPOutputTypes() local
876 *outPrimary = blendFormula.primaryOutput(); in TestGetXPOutputTypes()
877 *outSecondary = blendFormula.secondaryOutput(); in TestGetXPOutputTypes()
924 BlendFormula blendFormula; in MakeSrcOverXferProcessor() local
925 blendFormula = get_lcd_blend_formula(SkBlendMode::kSrcOver); in MakeSrcOverXferProcessor()
928 (blendFormula.hasSecondaryOutput() && !caps.shaderCaps()->dualSourceBlendingSupport())) { in MakeSrcOverXferProcessor()
932 return sk_sp<GrXferProcessor>(new PorterDuffXferProcessor(blendFormula, coverage)); in MakeSrcOverXferProcessor()