Lines Matching refs:allocator
40 class SK_API Allocator;
382 /** Use the specified Allocator to create the pixelref that manages the
390 @param allocator The Allocator to use to create a pixelref that can
392 If allocator is NULL, the standard HeapAllocator will be used.
400 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable);
402 void allocPixels(Allocator* allocator, SkColorTable* ctable) {
403 allocator, ctable)) {
617 * @param allocator Allocator used to allocate the pixelref for the dst
622 bool copyTo(SkBitmap* dst, SkColorType ct, Allocator* = NULL) const;
624 bool copyTo(SkBitmap* dst, Allocator* allocator = NULL) const {
625 return this->copyTo(dst, this->colorType(), allocator);
705 fails to be initialized, e.g. because allocator can't allocate pixels
710 @param allocator Allocator used to allocate the pixelref for the dst
717 bool extractAlpha(SkBitmap* dst, const SkPaint* paint, Allocator* allocator,
733 class Allocator : public SkRefCnt {
747 /** Subclass of Allocator that returns a pixelref that allocates its pixel
748 memory from the heap. This is the default Allocator invoked by
751 class HeapAllocator : public Allocator {