Index: bench/BlurImageFilterBench.cpp |
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp |
index 10320e82c71eadf11dff465082cd5716aedfa289..3d691470fd87a4efbd0dde3b940cb6d88efa9a00 100644 |
--- a/bench/BlurImageFilterBench.cpp |
+++ b/bench/BlurImageFilterBench.cpp |
@@ -44,7 +44,10 @@ protected: |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
paint.setImageFilter(new SkBlurImageFilter(fSigmaX, fSigmaY))->unref(); |
- canvas->drawBitmap(fCheckerboard, 0, 0, &paint); |
+ |
+ for (int i = 0; i < this->getLoops(); i++) { |
+ canvas->drawBitmap(fCheckerboard, 0, 0, &paint); |
+ } |
} |
private: |