DescriptionAdd 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:
Committed: https://skia.googlesource.com/skia/+/49115b57cb9d260ddd49a6905ee87af63b3ab066
Patch Set 1 #Patch Set 2 : Use SkCodec::ZeroInitialized instead of a bool #Patch Set 3 : zeroInit() instead of isZeroInit()? #Patch Set 4 : Make this const #Patch Set 5 : Rebase on new folder #
Total comments: 2
Patch Set 6 : Rebase #Patch Set 7 : Remove unnecessary declaration #Messages
Total messages: 8 (2 generated)
|