Mostly fix additive composition for filter
Previously additive composition was implemented as something close to accumulate, using a pairwise addition. This CL changes it to the by-spec behavior of concatenating the lists. Unfortunately due to underlying issues in the way Chromium handles 0%/100% Animations (we fast-path through the interpolation code), things get weird at those points and we end up dropping the addition - against spec. This could be a serious problem, for example for fill-forward animations, so will warrant further CLs to fix. See https://drafts.fxtf.org/filter-effects-1/#addition Bug: 1005828 Change-Id: I941c986627c57738c65fb67674bfbce6dc437155 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822021 Commit-Queue: Alan Cutter <alancutter@chromium.org> Auto-Submit: Stephen McGruer <smcgruer@chromium.org> Reviewed-by:Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#701016}
Showing
This diff is collapsed.
Please register or sign in to comment