DescriptionDon't store an SkPicture in the SourceGraphic FilterEffect
Instead of storing the SkPicture in the SourceGraphic FilterEffect, just
create a filter and pre-populate all the image filter "slots" when we've
recorded the content that should be filtered.
This avoids keeping an explicit reference to the SkPicture, and thus
avoids keeping this object alive when the Filter and it's associated
filter-chain is in limbo waiting for a Oilpan GC sweep.
BUG=610158
Committed: https://crrev.com/589ab53f384e1e8a0df92eb868acf3ea35839a2e
Cr-Commit-Position: refs/heads/master@{#393280}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Drop SourceGraphic::createImageFilter override #Patch Set 3 : Drop clearResult call in addAbsolutePaintRect #
Total comments: 2
Messages
Total messages: 15 (5 generated)
|