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

Unified Diff: bench/benchmain.cpp

Issue 13334011: Add Xfermode bench. Also clear before rendering in bench (rather than after). (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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
Index: bench/benchmain.cpp
===================================================================
--- bench/benchmain.cpp (revision 8451)
+++ bench/benchmain.cpp (working copy)
@@ -822,6 +822,7 @@
SkASSERT(0);
}
device->unref();
+ canvas->clear(SK_ColorWHITE);
}
SkAutoUnref canvasUnref(canvas);
@@ -928,7 +929,6 @@
if (outDir.size() > 0 && kNonRendering_Backend != backend) {
saveFile(bench->getName(), configName, outDir.c_str(),
device->accessBitmap(false));
- canvas->clear(SK_ColorWHITE);
}
}
if (loggedBenchStart) {
« bench/XfermodeBench.cpp ('K') | « bench/XfermodeBench.cpp ('k') | gyp/bench.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698