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

Side by Side Diff: tools/bench_pictures_main.cpp

Issue 299123002: Revert of Turn on preprocessing by default (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "BenchTimer.h" 8 #include "BenchTimer.h"
9 #include "CopyTilesRenderer.h" 9 #include "CopyTilesRenderer.h"
10 #include "LazyDecodeBitmap.h" 10 #include "LazyDecodeBitmap.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 DEFINE_bool(timeIndividualTiles, false, "Report times for drawing individual til es, rather than " 42 DEFINE_bool(timeIndividualTiles, false, "Report times for drawing individual til es, rather than "
43 "times for drawing the whole page. Requires tiled rendering."); 43 "times for drawing the whole page. Requires tiled rendering.");
44 DEFINE_bool(purgeDecodedTex, false, "Purge decoded and GPU-uploaded textures " 44 DEFINE_bool(purgeDecodedTex, false, "Purge decoded and GPU-uploaded textures "
45 "after each iteration."); 45 "after each iteration.");
46 DEFINE_string(timers, "c", "[wcgWC]*: Display wall, cpu, gpu, truncated wall or truncated cpu time" 46 DEFINE_string(timers, "c", "[wcgWC]*: Display wall, cpu, gpu, truncated wall or truncated cpu time"
47 " for each picture."); 47 " for each picture.");
48 DEFINE_bool(trackDeferredCaching, false, "Only meaningful with --deferImageDecod ing and " 48 DEFINE_bool(trackDeferredCaching, false, "Only meaningful with --deferImageDecod ing and "
49 "SK_LAZY_CACHE_STATS set to true. Report percentage of cache hits wh en using " 49 "SK_LAZY_CACHE_STATS set to true. Report percentage of cache hits wh en using "
50 "deferred image decoding."); 50 "deferred image decoding.");
51 51
52 DEFINE_bool(preprocess, true, "If true, perform device specific preprocessing be fore timing."); 52 DEFINE_bool(preprocess, false, "If true, perform device specific preprocessing b efore timing.");
53 53
54 static char const * const gFilterTypes[] = { 54 static char const * const gFilterTypes[] = {
55 "paint", 55 "paint",
56 "point", 56 "point",
57 "line", 57 "line",
58 "bitmap", 58 "bitmap",
59 "rect", 59 "rect",
60 "oval", 60 "oval",
61 "path", 61 "path",
62 "text", 62 "text",
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 445 }
446 #endif 446 #endif
447 return 0; 447 return 0;
448 } 448 }
449 449
450 #if !defined SK_BUILD_FOR_IOS 450 #if !defined SK_BUILD_FOR_IOS
451 int main(int argc, char * const argv[]) { 451 int main(int argc, char * const argv[]) {
452 return tool_main(argc, (char**) argv); 452 return tool_main(argc, (char**) argv);
453 } 453 }
454 #endif 454 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698