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

Side by Side Diff: dm/DM.cpp

Issue 132133002: Add 565 to dm defaults. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 11 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 // Main binary for DM. 1 // Main binary for DM.
2 // For a high-level overview, please see dm/README. 2 // For a high-level overview, please see dm/README.
3 3
4 #include "GrContext.h" 4 #include "GrContext.h"
5 #include "GrContextFactory.h" 5 #include "GrContextFactory.h"
6 #include "SkCommandLineFlags.h" 6 #include "SkCommandLineFlags.h"
7 #include "SkForceLinking.h" 7 #include "SkForceLinking.h"
8 #include "SkGraphics.h" 8 #include "SkGraphics.h"
9 #include "SkString.h" 9 #include "SkString.h"
10 #include "gm.h" 10 #include "gm.h"
(...skipping 17 matching lines...) Expand all
28 "If a file, compare generated images against JSON expectations at this path."); 28 "If a file, compare generated images against JSON expectations at this path.");
29 DEFINE_string(resources, "resources", "Path to resources directory."); 29 DEFINE_string(resources, "resources", "Path to resources directory.");
30 DEFINE_string(match, "", "[~][^]substring[$] [...] of GM name to run.\n" 30 DEFINE_string(match, "", "[~][^]substring[$] [...] of GM name to run.\n"
31 "Multiple matches may be separated by spaces.\n" 31 "Multiple matches may be separated by spaces.\n"
32 "~ causes a matching GM to always be skipped\n" 32 "~ causes a matching GM to always be skipped\n"
33 "^ requires the start of the GM to match\n" 33 "^ requires the start of the GM to match\n"
34 "$ requires the end of the GM to match\n" 34 "$ requires the end of the GM to match\n"
35 "^ and $ requires an exact match\n" 35 "^ and $ requires an exact match\n"
36 "If a GM does not match any list entry,\n" 36 "If a GM does not match any list entry,\n"
37 "it is skipped unless some list entry starts with ~"); 37 "it is skipped unless some list entry starts with ~");
38 DEFINE_string(config, "8888 gpu", 38 DEFINE_string(config, "565 8888 gpu",
39 "Options: 565 8888 gpu msaa4 msaa16 gpunull gpudebug angle mesa"); // TO DO(mtklein): pdf 39 "Options: 565 8888 gpu msaa4 msaa16 gpunull gpudebug angle mesa"); // TO DO(mtklein): pdf
40 40
41 __SK_FORCE_IMAGE_DECODER_LINKING; 41 __SK_FORCE_IMAGE_DECODER_LINKING;
42 42
43 // "FooBar" -> "foobar". Obviously, ASCII only. 43 // "FooBar" -> "foobar". Obviously, ASCII only.
44 static SkString lowercase(SkString s) { 44 static SkString lowercase(SkString s) {
45 for (size_t i = 0; i < s.size(); i++) { 45 for (size_t i = 0; i < s.size(); i++) {
46 s[i] = tolower(s[i]); 46 s[i] = tolower(s[i]);
47 } 47 }
48 return s; 48 return s;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 SkGraphics::Term(); 149 SkGraphics::Term();
150 150
151 return reporter.failed() > 0; 151 return reporter.failed() > 0;
152 } 152 }
153 153
154 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 154 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
155 int main(int argc, char** argv) { 155 int main(int argc, char** argv) {
156 return tool_main(argc, argv); 156 return tool_main(argc, argv);
157 } 157 }
158 #endif 158 #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