Home | History | Annotate | Download | only in effects

Lines Matching full:alpha

136  * When there is no coverage, or the blend mode can tweak alpha for coverage, we use the standard
556 uint8_t alpha() const { return fAlpha; }
559 PDLCDXferProcessor(GrColor blendConstant, uint8_t alpha);
598 const char* alpha;
600 kDefault_GrSLPrecision, "alpha", &alpha);
602 // We want to force our primary output to be alpha * Coverage, where alpha is the alpha
607 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputPrimary, alpha, args.fInputCoverage);
611 uint32_t alpha = SkToU32(xp.cast<PDLCDXferProcessor>().alpha());
612 if (fLastAlpha != alpha) {
613 pdm.set1f(fAlphaUniform, alpha / 255.f);
614 fLastAlpha = alpha;
625 PDLCDXferProcessor::PDLCDXferProcessor(GrColor blendConstant, uint8_t alpha)
627 , fAlpha(alpha) {
641 uint8_t alpha = GrColorUnpackA(blendConstant);
643 return new PDLCDXferProcessor(blendConstant, alpha);