Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / gm / samplerstress.cpp
index ef84f35..c395b08 100644 (file)
@@ -8,12 +8,12 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkShader.h"
-#include "SkStippleMaskFilter.h"
+#include "SkBlurMaskFilter.h"
 
 namespace skiagm {
 
 /**
- * Stress test the samplers by rendering a textured glyph with a mask and
+ * Stress test the GPU samplers by rendering a textured glyph with a mask and
  * an AA clip
  */
 class SamplerStressGM : public GM {
@@ -33,7 +33,7 @@ protected:
     }
 
     virtual SkString onShortName() {
-        return SkString("samplerstress");
+        return SkString("gpusamplerstress");
     }
 
     virtual SkISize onISize() {
@@ -87,7 +87,8 @@ protected:
             return;
         }
 
-        fMaskFilter.reset(SkStippleMaskFilter::Create());
+        const SkScalar sigma = 1;
+        fMaskFilter.reset(SkBlurMaskFilter::Create(kNormal_SkBlurStyle, sigma));
     }
 
     virtual void onDraw(SkCanvas* canvas) {