DescriptionFix for partial filter subregion specification with deferred filters.
Filter primitive subregions are specified as x/y/width/height, while
skia crop rects are left/right/top/bottom. If x is set but
width is not, we were only sending the left edge. We must also tell skia
the right edge, in order to preserve the rect's original width.
Similarly when y is specified but height is not, we must tell skia the
new bottom edge.
Also changed all this code to use FloatRect instead of SkRect, since
these relationships are easier to express.
Covered by layout test svg/batik/filters/filterRegions.svg, when run
with --enable-deferred-filters.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170116
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|