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

Side by Side Diff: tools/flags/SkCommonFlags.cpp

Issue 918673002: Adding new benchmark to test image decoding performance. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added include Created 5 years, 10 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/flags/SkCommonFlags.h ('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 2014 Google Inc. 2 * Copyright 2014 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 "SkCommonFlags.h" 8 #include "SkCommonFlags.h"
9 9
10 DEFINE_string(config, "565 8888 gpu nonrendering angle nvprmsaa4 ", 10 DEFINE_string(config, "565 8888 gpu nonrendering angle nvprmsaa4 ",
11 "Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvp rmsaa16 " 11 "Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvp rmsaa16 "
12 "gpudft gpunull gpudebug angle mesa (and many more)"); 12 "gpudft gpunull gpudebug angle mesa (and many more)");
13 13
14 DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); 14 DEFINE_bool(cpu, true, "master switch for running CPU-bound work.");
15 15
16 DEFINE_bool(dryRun, false, 16 DEFINE_bool(dryRun, false,
17 "just print the tests that would be run, without actually running th em."); 17 "just print the tests that would be run, without actually running th em.");
18 18
19 DEFINE_bool(gpu, true, "master switch for running GPU-bound work."); 19 DEFINE_bool(gpu, true, "master switch for running GPU-bound work.");
20 20
21 DEFINE_string(gpuAPI, "", "Force use of specific gpu API. Using \"gl\" " 21 DEFINE_string(gpuAPI, "", "Force use of specific gpu API. Using \"gl\" "
22 "forces OpenGL API. Using \"gles\" forces OpenGL ES API. " 22 "forces OpenGL API. Using \"gles\" forces OpenGL ES API. "
23 "Defaults to empty string, which selects the API native to the " 23 "Defaults to empty string, which selects the API native to the "
24 "system."); 24 "system.");
25 25
26 DEFINE_string(images, "resources", "Directory of images to decode.");
27
26 DEFINE_bool2(leaks, l, false, "show leaked ref cnt'd objects."); 28 DEFINE_bool2(leaks, l, false, "show leaked ref cnt'd objects.");
27 29
28 DEFINE_string2(match, m, NULL, 30 DEFINE_string2(match, m, NULL,
29 "[~][^]substring[$] [...] of GM name to run.\n" 31 "[~][^]substring[$] [...] of GM name to run.\n"
30 "Multiple matches may be separated by spaces.\n" 32 "Multiple matches may be separated by spaces.\n"
31 "~ causes a matching GM to always be skipped\n" 33 "~ causes a matching GM to always be skipped\n"
32 "^ requires the start of the GM to match\n" 34 "^ requires the start of the GM to match\n"
33 "$ requires the end of the GM to match\n" 35 "$ requires the end of the GM to match\n"
34 "^ and $ requires an exact match\n" 36 "^ and $ requires an exact match\n"
35 "If a GM does not match any list entry,\n" 37 "If a GM does not match any list entry,\n"
(...skipping 12 matching lines...) Expand all
48 50
49 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); 51 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose.");
50 52
51 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); 53 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs.");
52 54
53 DEFINE_string(key, "", 55 DEFINE_string(key, "",
54 "Space-separated key/value pairs to add to JSON identifying this b uilder."); 56 "Space-separated key/value pairs to add to JSON identifying this b uilder.");
55 DEFINE_string(properties, "", 57 DEFINE_string(properties, "",
56 "Space-separated key/value pairs to add to JSON identifying this r un."); 58 "Space-separated key/value pairs to add to JSON identifying this r un.");
57 59
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698