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

Side by Side Diff: tools/bench_pictures_main.cpp

Issue 347823004: Remove Sk prefix from some bench classes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: SkGMBench -> GMBench Created 6 years, 6 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 | « tools/bbh_shootout.cpp ('k') | 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 "BenchLogger.h"
8 #include "BenchTimer.h" 9 #include "BenchTimer.h"
10 #include "CopyTilesRenderer.h"
9 #include "CrashHandler.h" 11 #include "CrashHandler.h"
10 #include "CopyTilesRenderer.h"
11 #include "LazyDecodeBitmap.h" 12 #include "LazyDecodeBitmap.h"
12 #include "PictureBenchmark.h" 13 #include "PictureBenchmark.h"
13 #include "PictureRenderingFlags.h" 14 #include "PictureRenderingFlags.h"
14 #include "SkBenchLogger.h" 15 #include "PictureResultsWriter.h"
15 #include "SkCommandLineFlags.h" 16 #include "SkCommandLineFlags.h"
16 #include "SkData.h" 17 #include "SkData.h"
17 #include "SkDiscardableMemoryPool.h" 18 #include "SkDiscardableMemoryPool.h"
18 #include "SkGraphics.h" 19 #include "SkGraphics.h"
19 #include "SkImageDecoder.h" 20 #include "SkImageDecoder.h"
20 #include "SkMath.h" 21 #include "SkMath.h"
21 #include "SkOSFile.h" 22 #include "SkOSFile.h"
22 #include "SkPicture.h" 23 #include "SkPicture.h"
23 #include "SkStream.h" 24 #include "SkStream.h"
24 #include "picture_utils.h" 25 #include "picture_utils.h"
25 #include "PictureResultsWriter.h"
26 26
27 SkBenchLogger gLogger; 27 BenchLogger gLogger;
28 PictureResultsLoggerWriter gLogWriter(&gLogger); 28 PictureResultsLoggerWriter gLogWriter(&gLogger);
29 PictureResultsMultiWriter gWriter; 29 PictureResultsMultiWriter gWriter;
30 30
31 // Flags used by this file, in alphabetical order. 31 // Flags used by this file, in alphabetical order.
32 DEFINE_bool(countRAM, false, "Count the RAM used for bitmap pixels in each skp f ile"); 32 DEFINE_bool(countRAM, false, "Count the RAM used for bitmap pixels in each skp f ile");
33 DECLARE_bool(deferImageDecoding); 33 DECLARE_bool(deferImageDecoding);
34 DEFINE_string(filter, "", 34 DEFINE_string(filter, "",
35 "type:flag : Enable canvas filtering to disable a paint flag, " 35 "type:flag : Enable canvas filtering to disable a paint flag, "
36 "use no blur or low quality blur, or use no hinting or " 36 "use no blur or low quality blur, or use no hinting or "
37 "slight hinting. For all flags except AAClip, specify the " 37 "slight hinting. For all flags except AAClip, specify the "
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 #endif 456 #endif
457 gWriter.end(); 457 gWriter.end();
458 return 0; 458 return 0;
459 } 459 }
460 460
461 #if !defined SK_BUILD_FOR_IOS 461 #if !defined SK_BUILD_FOR_IOS
462 int main(int argc, char * const argv[]) { 462 int main(int argc, char * const argv[]) {
463 return tool_main(argc, (char**) argv); 463 return tool_main(argc, (char**) argv);
464 } 464 }
465 #endif 465 #endif
OLDNEW
« no previous file with comments | « tools/bbh_shootout.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698