Home | History | Annotate | Download | only in core

Lines Matching refs:allocator

40     class SK_API Allocator;
378 /** Use the specified Allocator to create the pixelref that manages the
386 @param allocator The Allocator to use to create a pixelref that can
388 If allocator is NULL, the standard HeapAllocator will be used.
396 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable);
398 void allocPixels(Allocator* allocator, SkColorTable* ctable) {
399 if (!this->tryAllocPixels(allocator, ctable)) {
600 * @param allocator Allocator used to allocate the pixelref for the dst
605 bool copyTo(SkBitmap* dst, SkColorType ct, Allocator* = NULL) const;
607 bool copyTo(SkBitmap* dst, Allocator* allocator = NULL) const {
608 return this->copyTo(dst, this->colorType(), allocator);
671 fails to be initialized, e.g. because allocator can't allocate pixels
676 @param allocator Allocator used to allocate the pixelref for the dst
683 bool extractAlpha(SkBitmap* dst, const SkPaint* paint, Allocator* allocator,
699 class Allocator : public SkRefCnt {
713 /** Subclass of Allocator that returns a pixelref that allocates its pixel
714 memory from the heap. This is the default Allocator invoked by
717 class HeapAllocator : public Allocator {