54constexpr BlendFormula MakeCoverageFormula(BlendFormula::OutputType oneMinusDstCoeffModulateOutput,
74constexpr BlendFormula MakeCoverageSrcCoeffZeroFormula(
75 BlendFormula::OutputType oneMinusDstCoeffModulateOutput) {
91constexpr BlendFormula MakeCoverageDstCoeffZeroFormula(
skgpu::BlendCoeff srcCoeff) {
218 return gBlendTable[isOpaque][hasCoverage][(
int)xfermode];
223 return gLCDBlendTable[(
int)xfermode];
@ kISAModulate_OutputType
@ kISCModulate_OutputType
@ kLastCoeffMode
last porter duff blend mode
BlendFormula GetBlendFormula(bool isOpaque, bool hasCoverage, SkBlendMode xfermode)
BlendFormula GetLCDBlendFormula(SkBlendMode xfermode)