Lines Matching refs:alpha
181 * When there is no coverage, or the blend mode can tweak alpha for coverage, we use the standard
567 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha);
591 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha)
595 , fAlpha(alpha) {
608 float alpha = blendConstantUPM.fA;
610 return sk_sp<GrXferProcessor>(new PDLCDXferProcessor(blendConstantPM, alpha));
617 const char* alpha;
621 "alpha",
622 &alpha);
624 // We want to force our primary output to be alpha * Coverage, where alpha is the alpha
631 alpha, args.fInputCoverage);
635 float alpha = xp.cast<PDLCDXferProcessor>().fAlpha;
636 if (fLastAlpha != alpha) {
637 pdm.set1f(fAlphaUniform, alpha);
638 fLastAlpha = alpha;