Index: include/effects/SkBlurDrawLooper.h |
diff --git a/include/effects/SkBlurDrawLooper.h b/include/effects/SkBlurDrawLooper.h |
index fe945c3801d5dca6d9c1a811c6c642d57c2c8eaa..75ed80e679d468d0fef0ae471ab6878ef06e85bd 100644 |
--- a/include/effects/SkBlurDrawLooper.h |
+++ b/include/effects/SkBlurDrawLooper.h |
@@ -61,10 +61,12 @@ protected: |
SkBlurDrawLooper(SkReadBuffer&); |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
+ virtual bool asABlurShadow(BlurShadowRec*) const SK_OVERRIDE; |
+ |
private: |
SkMaskFilter* fBlur; |
SkColorFilter* fColorFilter; |
- SkScalar fDx, fDy; |
+ SkScalar fDx, fDy, fSigma; |
SkColor fBlurColor; |
uint32_t fBlurFlags; |
@@ -86,6 +88,7 @@ private: |
}; |
void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags); |
+ void initEffects(); |
typedef SkDrawLooper INHERITED; |
}; |