commit | 4739955e98ba86900a5bbac0e3661601427a54d4 | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Tue Feb 24 13:02:57 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 24 13:02:57 2015 -0800 |
tree | 3287356324ecc8baf49bb73c1097c523bb21e804 | |
parent | 5b27b142f28d9c91ac38211ea611ba26259e1f85 [diff] |
Use an image generator to back SkPictureShader tiles. To avoid lifetime issues for tiles backed by discardable memory, use an image generator to re-generate them on the fly. With this CL, we are now caching bitmap shaders wrapping discardable pixel ref bitmaps backed by picture image generators. (the CL also includes some minor/unrelated SkPictureShader cleanup) BUG=skia:3220 R=reed@google.com,halcanary@google.com Review URL: https://codereview.chromium.org/866773002