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

Side by Side Diff: dm/DMTestTask.cpp

Issue 213093004: Let DM work without a GPU. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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 | « dm/DMTestTask.h ('k') | gyp/most.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "DMTestTask.h" 1 #include "DMTestTask.h"
2 #include "DMUtil.h" 2 #include "DMUtil.h"
3 #include "SkCommandLineFlags.h" 3 #include "SkCommandLineFlags.h"
4 4
5 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); 5 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests.");
6 DEFINE_bool2(pathOpsSingleThread, z, false, "Disallow pathOps tests from using t hreads."); 6 DEFINE_bool2(pathOpsSingleThread, z, false, "Disallow pathOps tests from using t hreads.");
7 DEFINE_bool2(pathOpsVerbose, V, false, "Tell pathOps tests to be verbose.") ; 7 DEFINE_bool2(pathOpsVerbose, V, false, "Tell pathOps tests to be verbose.") ;
8 8
9 namespace DM { 9 namespace DM {
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 void GpuTestTask::draw(GrContextFactory* grFactory) { 44 void GpuTestTask::draw(GrContextFactory* grFactory) {
45 fTest->setGrContextFactory(grFactory); 45 fTest->setGrContextFactory(grFactory);
46 fTest->setReporter(&fTestReporter); 46 fTest->setReporter(&fTestReporter);
47 fTest->run(); 47 fTest->run();
48 if (!fTest->passed()) { 48 if (!fTest->passed()) {
49 this->fail(fTestReporter.failure()); 49 this->fail(fTestReporter.failure());
50 } 50 }
51 } 51 }
52 52
53 bool GpuTestTask::shouldSkip() const {
54 return kGPUDisabled;
55 }
56
53 } // namespace DM 57 } // namespace DM
OLDNEW
« no previous file with comments | « dm/DMTestTask.h ('k') | gyp/most.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698