| Index: include/core/SkDevice.h
|
| diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
|
| index 1773d0ac18abc86119b7c0c607e4c82c01b736d2..f0c80985d3f1fea87f2fa2f568824734e4fcff57 100644
|
| --- a/include/core/SkDevice.h
|
| +++ b/include/core/SkDevice.h
|
| @@ -15,6 +15,7 @@
|
| #include "SkCanvas.h"
|
| #include "SkColor.h"
|
| #include "SkDeviceProperties.h"
|
| +#include "SkImageFilter.h"
|
|
|
| // getDeviceCapabilities() is not called by skia, but this flag keeps it around
|
| // for clients that have "override" annotations on their subclass. These overrides
|
| @@ -372,7 +373,8 @@ protected:
|
| * If the device does not recognize or support this filter,
|
| * it just returns false and leaves result and offset unchanged.
|
| */
|
| - virtual bool filterImage(const SkImageFilter*, const SkBitmap&, const SkMatrix&,
|
| + virtual bool filterImage(const SkImageFilter*, const SkBitmap&,
|
| + const SkImageFilter::Context& ctx,
|
| SkBitmap* result, SkIPoint* offset) = 0;
|
|
|
| // This is equal kBGRA_Premul_Config8888 or kRGBA_Premul_Config8888 if
|
|
|