| Index: src/core/SkPictureShader.h
|
| diff --git a/src/core/SkPictureShader.h b/src/core/SkPictureShader.h
|
| index 00aee9b0786630673572d6e97358f0ef2012a0c3..d31537f59e17f9362359ca80ab248ec9d940251d 100644
|
| --- a/src/core/SkPictureShader.h
|
| +++ b/src/core/SkPictureShader.h
|
| @@ -21,7 +21,8 @@ class SkPicture;
|
| */
|
| class SkPictureShader : public SkShader {
|
| public:
|
| - static SkPictureShader* Create(const SkPicture*, TileMode, TileMode, const SkMatrix* = NULL);
|
| + static SkPictureShader* Create(const SkPicture*, TileMode, TileMode, const SkRect*,
|
| + const SkMatrix*);
|
| virtual ~SkPictureShader();
|
|
|
| virtual size_t contextSize() const SK_OVERRIDE;
|
| @@ -38,11 +39,12 @@ protected:
|
| virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE;
|
|
|
| private:
|
| - SkPictureShader(const SkPicture*, TileMode, TileMode, const SkMatrix* = NULL);
|
| + SkPictureShader(const SkPicture*, TileMode, TileMode, const SkRect*, const SkMatrix*);
|
|
|
| SkShader* refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix) const;
|
|
|
| const SkPicture* fPicture;
|
| + SkRect fTile;
|
| TileMode fTmx, fTmy;
|
|
|
| mutable SkMutex fCachedBitmapShaderMutex;
|
|
|