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

Unified Diff: tools/bench_pictures_main.cpp

Issue 227603006: hack Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: yet more hackage Created 6 years, 8 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 | « tools/bbh_shootout.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bench_pictures_main.cpp
===================================================================
--- tools/bench_pictures_main.cpp (revision 14079)
+++ tools/bench_pictures_main.cpp (working copy)
@@ -49,6 +49,8 @@
"SK_LAZY_CACHE_STATS set to true. Report percentage of cache hits when using "
"deferred image decoding.");
+DEFINE_bool(preprocess, false, "If true, perform device specific preprocessing before timing.");
+
static char const * const gFilterTypes[] = {
"paint",
"point",
@@ -340,7 +342,8 @@
benchmark->setTimeIndividualTiles(true);
}
- benchmark->setPurgeDecodedTex(FLAGS_purgeDecodedTex);
+ benchmark->setPurgeDecodedTex1(FLAGS_purgeDecodedTex);
+ benchmark->setPreprocess(FLAGS_preprocess);
if (FLAGS_readPath.count() < 1) {
gLogger.logError(".skp files or directories are required.\n");
« no previous file with comments | « tools/bbh_shootout.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698