Index: include/effects/SkBlurImageFilter.h |
diff --git a/include/effects/SkBlurImageFilter.h b/include/effects/SkBlurImageFilter.h |
index b0bd30988fad9b9d553bf3b779a82f8f44979706..c7193a435f09918be7c86973f74b43e23da5d52a 100644 |
--- a/include/effects/SkBlurImageFilter.h |
+++ b/include/effects/SkBlurImageFilter.h |
@@ -13,10 +13,8 @@ |
class SK_API SkBlurImageFilter : public SkImageFilter { |
public: |
- static SkBlurImageFilter* Create(SkScalar sigmaX, |
- SkScalar sigmaY, |
- SkImageFilter* input = NULL, |
- const CropRect* cropRect = NULL) { |
+ static SkImageFilter* Create(SkScalar sigmaX, SkScalar sigmaY, SkImageFilter* input = NULL, |
+ const CropRect* cropRect = NULL) { |
return new SkBlurImageFilter(sigmaX, sigmaY, input, cropRect); |
} |
@@ -26,22 +24,20 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurImageFilter) |
protected: |
+ void flatten(SkWriteBuffer&) const override; |
+ bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result, |
+ SkIPoint* offset) const override; |
+ bool onFilterBounds(const SkIRect& src, const SkMatrix&, SkIRect* dst) const override; |
+ bool canFilterImageGPU() const override { return true; } |
+ bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context& ctx, SkBitmap* result, |
+ SkIPoint* offset) const override; |
+ |
+private: |
SkBlurImageFilter(SkScalar sigmaX, |
SkScalar sigmaY, |
SkImageFilter* input, |
const CropRect* cropRect); |
- void flatten(SkWriteBuffer&) const override; |
- virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |
- SkBitmap* result, SkIPoint* offset) const override; |
- virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, |
- SkIRect* dst) const override; |
- |
- bool canFilterImageGPU() const override { return true; } |
- virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context& ctx, |
- SkBitmap* result, SkIPoint* offset) const override; |
- |
-private: |
SkSize fSigma; |
typedef SkImageFilter INHERITED; |
}; |