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

Side by Side Diff: dm/DMTask.cpp

Issue 178473006: DM: also run benches once. (Closed) Base URL: https://skia.googlesource.com/skia.git@dm
Patch Set: add note 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/DMTask.h ('k') | dm/DMTestTask.h » ('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 "DMTask.h" 1 #include "DMTask.h"
2 2
3 #include "DMTaskRunner.h" 3 #include "DMTaskRunner.h"
4 #include "DMUtil.h" 4 #include "DMUtil.h"
5 #include "SkBitmap.h" 5 #include "SkBitmap.h"
6 #include "SkCommandLineFlags.h" 6 #include "SkCommandLineFlags.h"
7 7
8 namespace DM { 8 namespace DM {
9 9
10 Task::Task(Reporter* reporter, TaskRunner* taskRunner) 10 Task::Task(Reporter* reporter, TaskRunner* taskRunner)
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 40
41 void Task::fail(const char* msg) { 41 void Task::fail(const char* msg) {
42 SkString failure(this->name()); 42 SkString failure(this->name());
43 if (msg) { 43 if (msg) {
44 failure.appendf(": %s", msg); 44 failure.appendf(": %s", msg);
45 } 45 }
46 fReporter->fail(failure); 46 fReporter->fail(failure);
47 } 47 }
48 48
49 GrContextFactory* Task::getGrContextFactory() const {
50 return fTaskRunner->getGrContextFactory();
51 }
52
49 } // namespace DM 53 } // namespace DM
OLDNEW
« no previous file with comments | « dm/DMTask.h ('k') | dm/DMTestTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698