commit | 1d3ff434954189e194c468f429598465146dcf4b | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Tue Oct 20 10:17:34 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 20 10:17:34 2015 -0700 |
tree | b26baea51421dca92277b8adfca8f24dcb1a3d62 | |
parent | 0bccd8749bdce79b2d71518fe65783b1a9b06445 [diff] |
Image filters: Replace all use of tryAllocPixels() with createDevice(). In order to have a central pinch point for bitmap allocation, change all filters to use Proxy::createDevice() instead of allocating memory directly with SkBitmap::tryAllocPixels(). This will aid in moving filter backing stores and caches to discardable memory. BUG=skia: Review URL: https://codereview.chromium.org/1414843003