commit | 11422c63d36bb8a8933e753b1e37ef4615d6be9e | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Oct 12 10:40:16 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Oct 12 16:04:21 2018 +0000 |
tree | fddcafa399470e24ceee4a4132ce6f19f655d20f | |
parent | 298442989b4c3bd30b9c86599357aa3e34e95a41 [diff] |
Tie mip map cache purging to Images, not Bitmaps/PixelRefs We were potentially using different keys for lookup vs. add, because we were adding with a key based on the pixelRef, which may not have the same uniqueID as the originating image. Bug: skia: Change-Id: Ib4d3d5ead9f5a574cf6d1920080bc9c4ae66c1d0 Reviewed-on: https://skia-review.googlesource.com/c/161625 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com>