commit | b502ad7847bdabf8aa9908b606f0448a15ece259 | [log] [tgz] |
---|---|---|
author | Nader Jawad <njawad@google.com> | Thu Jun 17 14:10:04 2021 -0700 |
committer | Nader Jawad <njawad@google.com> | Thu Jun 17 22:13:24 2021 +0000 |
tree | 191ef7166299a481894cb97d36010a0a97d85f3a | |
parent | a388d2533df72c206d6c3d14d6c32a945ab16659 [diff] |
Improve snapshot clearing consistency Updated snapshot result to clear the internal SkImage whenever the layer changes. The previous logic did not clear out the snapshot in various use cases. Because the implementation before relied on the snapshot created with SkSurface this makes the cleanup logic consistent with SkImages created with SkImage::makeWithFilter Bug: 188450217 Test: manual testing of discord app Change-Id: I6391eb3b49794e54705bf5c6a09d2bdfd0564d05