Lines Matching refs:xp
124 const CustomXP& xp = p.cast<CustomXP>(); in GenKey() local
126 if (xp.hasHWBlendEquation()) { in GenKey()
131 if (!xp.hasHWBlendEquation() || caps.mustEnableSpecificAdvBlendEqs()) { in GenKey()
132 key |= (int)xp.mode() << 3; in GenKey()
139 const CustomXP& xp = args.fXP.cast<CustomXP>(); in emitOutputsForBlendState() local
140 SkASSERT(xp.hasHWBlendEquation()); in emitOutputsForBlendState()
143 fragBuilder->enableAdvancedBlendEquationIfNeeded(xp.hwBlendEquation()); in emitOutputsForBlendState()
159 const CustomXP& xp = proc.cast<CustomXP>(); in emitBlendCodeForDstRead() local
160 SkASSERT(!xp.hasHWBlendEquation()); in emitBlendCodeForDstRead()
162 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
166 outColorSecondary, xp); in emitBlendCodeForDstRead()