diff options
author | senorblanco <senorblanco@chromium.org> | 2015-10-20 10:17:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-20 10:17:34 -0700 |
commit | 1d3ff434954189e194c468f429598465146dcf4b (patch) | |
tree | b26baea51421dca92277b8adfca8f24dcb1a3d62 /tests/RefCntTest.cpp | |
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
Diffstat (limited to 'tests/RefCntTest.cpp')
0 files changed, 0 insertions, 0 deletions