DescriptionProvide correct saveLayer() bounds in FEGaussianBlur, FEMorphology.
In Skia r13323, I changed Skia's image filter clipping behaviour to
expand clip bounds to accommodate filter margins. However, the legacy
Blink DAG already makes such accommodation, which means we're creating
an offscreen with redundant pixels. The fix is to specify the computed
bounds directly in saveLayer(), which overrides (well, actually
intersects) the clip, giving the correct bounds. This does give
different results for large blur sigmas, but I believe the new results
are spec-correct: the intermediate buffers used by filters should
never exceed the size of the filter region.
Covered by marked svg tests.
BUG=
R=schenney@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170232
Patch Set 1 #Patch Set 2 : Add one more test suppression #Patch Set 3 : Yet more test suppressions #
Messages
Total messages: 24 (0 generated)
|