DescriptionProactively dispose image filters for SVG filter chains
Because of the spanning of multiple heaps by the resources associated
with FilterEffects [GCd] (SkImageFilter [mallocd]), the garbage
collector only observes a relatively slow growth, while resources tied
by or via the other heap can be substantial.
Since we have fairly good control of the lifetimes here, we can try to
dispose of our references to the resources on the other heap up front,
and prevent growth due to (dead) GCd objects in limbo.
Also rename FilterEffect::ClearResult to DisposeImageFilters to better
match it does nowadays.
BUG=610158
Review-Url: https://codereview.chromium.org/2846593008
Cr-Commit-Position: refs/heads/master@{#467983}
Committed: https://chromium.googlesource.com/chromium/src/+/824d3f765ad699054db51cc21c7a9deb8d17a947
Patch Set 1 #
Messages
Total messages: 15 (9 generated)
|