DescriptionFix external SkImageFilter caching with clips.
When the external cache is active, do not intersect the saveLayer
bounds with the clip bounds. This is so that the cache is always the
full size of the primitive's bounds, regardless of the clip active on
first draw. (Drawing of the filtered or cached result is always drawn
against the active clip, though, since it is restored before
internalDrawDevice() is called.)
This is a slightly hacky solution, but this code can all go away
(including the external cache) once all platforms have switched to
impl-side painting.
See Chromium bug http://crbug.com/379147.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/ffa9b500d7e83e7dddf6a8902f47c4355b608c30
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add a comment #Messages
Total messages: 8 (0 generated)
|