Lines Matching refs:allocator
278 bool SkBitmap::tryAllocPixels(Allocator* allocator, SkColorTable* ctable) {
281 if (nullptr == allocator) {
282 allocator = &stdalloc;
284 return allocator->allocPixelRef(this, ctable);
435 /** We explicitly use the same allocator for our pixels that SkMask does,
832 bool SkBitmap::copyTo(SkBitmap* dst, SkColorType dstColorType, Allocator* alloc) const {
1034 Allocator *allocator, SkIPoint* offset) const {
1057 if (!tmpBitmap.tryAllocPixels(allocator, nullptr)) {
1081 if (!tmpBitmap.tryAllocPixels(allocator, nullptr)) {