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

Unified Diff: bench/BitmapRectBench.cpp

Issue 1240753003: Revert[2] of guard to remove DrawBitmapRectFlags (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | bench/GameBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BitmapRectBench.cpp
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp
index d3a7574e04f817ce7d258d4713329d4396a8d722..061bfe818be7e453b1cc2141ab4dc847deb30f05 100644
--- a/bench/BitmapRectBench.cpp
+++ b/bench/BitmapRectBench.cpp
@@ -96,7 +96,8 @@ protected:
paint.setAlpha(fAlpha);
for (int i = 0; i < loops; i++) {
- canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint);
+ canvas->drawBitmapRect(fBitmap, &fSrcR, fDstR, &paint,
+ SkCanvas::kStrict_SrcRectConstraint);
}
}
« no previous file with comments | « no previous file | bench/GameBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698