| Index: include/core/SkDevice.h
|
| diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
|
| index fb3c206e9eda36fc6a93ee8caff7c896bb40c504..59846816229a5e62672310d7097ab84ec332f9e7 100644
|
| --- a/include/core/SkDevice.h
|
| +++ b/include/core/SkDevice.h
|
| @@ -121,7 +121,8 @@ public:
|
| protected:
|
| enum Usage {
|
| kGeneral_Usage,
|
| - kSaveLayer_Usage // <! internal use only
|
| + kSaveLayer_Usage, // <! internal use only
|
| + kImageFilter_Usage // <! internal use only
|
| };
|
|
|
| struct TextFlags {
|
| @@ -368,6 +369,8 @@ private:
|
| void setOrigin(int x, int y) { fOrigin.set(x, y); }
|
| // just called by SkCanvas for saveLayer
|
| SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&);
|
| + // just called by SkCanvas for imagefilter
|
| + SkBaseDevice* createCompatibleDeviceForImageFilter(const SkImageInfo&);
|
|
|
| virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) {
|
| return NULL;
|
|
|