Chromium Code Reviews
DescriptionInvalidate SVG filter display items on subtree modification
When an SVG filtered subtree is modified, the SVGFilter display item
needs to be invalidated. For example:
<g filter='url(#filter)'>
<rect ...>
</g>
This example will generate a display item list of a single SVGFilter
display item for the <g> because the <rect> subtree will be drawn
as an SkPicture as part of the filter. If the <rect> is changed, we
need to invalidate the SVGFilter display item. Without this patch, we
would re-use the (stale) cached SVGFilter display item.
With this change, we should be able to remove the filter caching
entirely in a followup and rely on the display list.
BUG=451606
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195645
Patch Set 1 #Patch Set 2 : Fix comment #
Total comments: 2
Patch Set 3 : Invalidate bounds as well as paint, fix flakiness in test #Patch Set 4 : Upload correct patch this time #
Total comments: 2
Messages
Total messages: 8 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||