commit | 49115b57cb9d260ddd49a6905ee87af63b3ab066 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Wed Nov 11 06:21:27 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 11 06:21:27 2015 -0800 |
tree | ebb17a38b122102c2998b156fd8161ee4a107f63 | |
parent | 84a80652752976c9abe42d28e467c362baff3e39 [diff] |
Add an Allocator interface that indicates if memory is zero init This is the first step in a three part change: (1) Skia: Add SkBRDAllocator. (2) Android: Make JavaPixelAllocator and RecyclingClippingPixelAllocator implement SkBRDAllocator. (3) Skia: Change SkBitmapRegionDecoder to use SkBRDAllocator and take advantage of zero allocated memory when possible. BUG=skia: Review URL: https://codereview.chromium.org/1423253004