Index: bench/PerlinNoiseBench.cpp |
diff --git a/bench/PerlinNoiseBench.cpp b/bench/PerlinNoiseBench.cpp |
index d1518252104b6bfb3bdd95d383283d7a3127fad1..605acf4f3678b2661ccda441beded9bc99cfcc63 100644 |
--- a/bench/PerlinNoiseBench.cpp |
+++ b/bench/PerlinNoiseBench.cpp |
@@ -48,7 +48,10 @@ private: |
seed, stitchTiles ? &fSize : NULL); |
SkPaint paint; |
paint.setShader(shader)->unref(); |
- this->drawClippedRect(canvas, x, y, paint); |
+ |
+ for (int i = 0; i < this->getLoops(); i++) { |
+ this->drawClippedRect(canvas, x, y, paint); |
+ } |
} |
typedef SkBenchmark INHERITED; |