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

Side by Side Diff: dm/DM.cpp

Issue 213093004: Let DM work without a GPU. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | dm/DMBenchTask.cpp » ('j') | 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"
5 #include "GrContextFactory.h"
6 #include "SkBenchmark.h" 4 #include "SkBenchmark.h"
7 #include "SkCommandLineFlags.h" 5 #include "SkCommandLineFlags.h"
8 #include "SkForceLinking.h" 6 #include "SkForceLinking.h"
9 #include "SkGraphics.h" 7 #include "SkGraphics.h"
10 #include "SkString.h" 8 #include "SkString.h"
11 #include "Test.h" 9 #include "Test.h"
12 #include "gm.h" 10 #include "gm.h"
13 11
14 #include "DMBenchTask.h" 12 #include "DMBenchTask.h"
15 #include "DMCpuGMTask.h" 13 #include "DMCpuGMTask.h"
16 #include "DMGpuGMTask.h" 14 #include "DMGpuGMTask.h"
15 #include "DMGpuSupport.h"
17 #include "DMReporter.h" 16 #include "DMReporter.h"
18 #include "DMTask.h" 17 #include "DMTask.h"
19 #include "DMTaskRunner.h" 18 #include "DMTaskRunner.h"
20 #include "DMTestTask.h" 19 #include "DMTestTask.h"
21 #include "DMWriteTask.h" 20 #include "DMWriteTask.h"
22 21
23 #include <string.h> 22 #include <string.h>
24 23
25 using skiagm::GM; 24 using skiagm::GM;
26 using skiagm::GMRegistry; 25 using skiagm::GMRegistry;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 SkGraphics::Term(); 223 SkGraphics::Term();
225 224
226 return reporter.failed() > 0; 225 return reporter.failed() > 0;
227 } 226 }
228 227
229 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 228 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
230 int main(int argc, char** argv) { 229 int main(int argc, char** argv) {
231 return tool_main(argc, argv); 230 return tool_main(argc, argv);
232 } 231 }
233 #endif 232 #endif
OLDNEW
« no previous file with comments | « no previous file | dm/DMBenchTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698