Searched refs:initial_alpha (Results 1 – 2 of 2) sorted by relevance
23 const auto initial_alpha = paint->getAlpha(), in modulatePaint() local24 alpha = SkToU8(sk_float_round2int(initial_alpha * fOpacity)); in modulatePaint()26 if (alpha != initial_alpha || fColorFilter) { in modulatePaint()
30 const auto initial_alpha = paint->getAlpha(), in modulatePaint() local31 alpha = SkToU8(sk_float_round2int(initial_alpha * fOpacity)); in modulatePaint()33 if (alpha != initial_alpha || fColorFilter || fBlendMode != paint->getBlendMode()) { in modulatePaint()