Lines Matching refs:allocator
41 class Allocator;
306 /** Use the specified Allocator to create the pixelref that manages the
314 @param allocator The Allocator to use to create a pixelref that can
316 width/height/config. If allocator is NULL, the standard
325 bool allocPixels(Allocator* allocator, SkColorTable* ctable);
515 * @param allocator Allocator used to allocate the pixelref for the dst
520 bool copyTo(SkBitmap* dst, Config c, Allocator* allocator = NULL) const;
566 fails to be initialized, e.g. because allocator can't allocate pixels
571 @param allocator Allocator used to allocate the pixelref for the dst
578 bool extractAlpha(SkBitmap* dst, const SkPaint* paint, Allocator* allocator,
593 class Allocator : public SkRefCnt {
595 SK_DECLARE_INST_COUNT(Allocator)
609 /** Subclass of Allocator that returns a pixelref that allocates its pixel
610 memory from the heap. This is the default Allocator invoked by
613 class HeapAllocator : public Allocator {