| Index: src/core/SkBlitter.h
|
| diff --git a/src/core/SkBlitter.h b/src/core/SkBlitter.h
|
| index b659fe473581635d8475068a9c680747cb2059ff..d19a34badcd4d9ecbb78cd6f22f074f2ff0927d5 100644
|
| --- a/src/core/SkBlitter.h
|
| +++ b/src/core/SkBlitter.h
|
| @@ -11,11 +11,14 @@
|
| #define SkBlitter_DEFINED
|
|
|
| #include "SkBitmap.h"
|
| +#include "SkBitmapProcShader.h"
|
| +#include "SkMask.h"
|
| #include "SkMatrix.h"
|
| #include "SkPaint.h"
|
| #include "SkRefCnt.h"
|
| #include "SkRegion.h"
|
| -#include "SkMask.h"
|
| +#include "SkShader.h"
|
| +#include "SkSmallAllocator.h"
|
|
|
| /** SkBlitter and its subclasses are responsible for actually writing pixels
|
| into memory. Besides efficiency, they handle clipping and antialiasing.
|
| @@ -69,21 +72,15 @@ public:
|
| */
|
| static SkBlitter* Choose(const SkBitmap& device,
|
| const SkMatrix& matrix,
|
| - const SkPaint& paint) {
|
| - return Choose(device, matrix, paint, NULL, 0);
|
| - }
|
| -
|
| - static SkBlitter* Choose(const SkBitmap& device,
|
| - const SkMatrix& matrix,
|
| const SkPaint& paint,
|
| - void* storage, size_t storageSize,
|
| + SkTBlitterAllocator*,
|
| bool drawCoverage = false);
|
|
|
| static SkBlitter* ChooseSprite(const SkBitmap& device,
|
| const SkPaint&,
|
| const SkBitmap& src,
|
| int left, int top,
|
| - void* storage, size_t storageSize);
|
| + SkTBlitterAllocator*);
|
| ///@}
|
|
|
| private:
|
|
|