Index: gm/drawbitmaprect.cpp |
=================================================================== |
--- gm/drawbitmaprect.cpp (revision 11108) |
+++ gm/drawbitmaprect.cpp (working copy) |
@@ -6,14 +6,12 @@ |
* found in the LICENSE file. |
*/ |
#include "gm.h" |
-#include "SkShader.h" |
-#include "SkColorPriv.h" |
+#include "SkBlurMask.h" |
#include "SkBlurMaskFilter.h" |
- |
-// effects |
+#include "SkColorPriv.h" |
#include "SkGradientShader.h" |
+#include "SkShader.h" |
- |
namespace skiagm { |
static SkBitmap make_chessbm(int w, int h) { |
@@ -169,8 +167,8 @@ |
srcRect.setXYWH(1, 1, 3, 3); |
SkMaskFilter* mf = SkBlurMaskFilter::Create( |
- 5, |
SkBlurMaskFilter::kNormal_BlurStyle, |
+ SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)), |
SkBlurMaskFilter::kHighQuality_BlurFlag | |
SkBlurMaskFilter::kIgnoreTransform_BlurFlag); |
paint.setMaskFilter(mf)->unref(); |