Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: bench/MagnifierBench.cpp

Issue 23478013: Major bench refactoring. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: merge with head agani Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/LineBench.cpp ('k') | bench/MathBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/MagnifierBench.cpp
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp
index 2e937f358b4b43692aa39c25b7667b814f92af80..6d48a61f3e4260df78c91e418a7d4c2374d4138e 100644
--- a/bench/MagnifierBench.cpp
+++ b/bench/MagnifierBench.cpp
@@ -43,7 +43,10 @@ protected:
SkIntToScalar(h / 4),
SkIntToScalar(w / 2),
SkIntToScalar(h / 2)), 100))->unref();
- canvas->drawBitmap(fCheckerboard, 0, 0, &paint);
+
+ for (int i = 0; i < this->getLoops(); i++) {
+ canvas->drawBitmap(fCheckerboard, 0, 0, &paint);
+ }
}
private:
« no previous file with comments | « bench/LineBench.cpp ('k') | bench/MathBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698