OLD | NEW |
1 #include "DMReplayTask.h" | 1 #include "DMReplayTask.h" |
2 #include "DMUtil.h" | 2 #include "DMUtil.h" |
3 | 3 |
4 #include "SkPicture.h" | 4 #include "SkPicture.h" |
5 | 5 |
6 namespace DM { | 6 namespace DM { |
7 | 7 |
8 ReplayTask::ReplayTask(const char* suffix, | 8 ReplayTask::ReplayTask(const char* suffix, |
9 const Task& parent, | 9 const Task& parent, |
10 skiagm::GM* gm, | 10 skiagm::GM* gm, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 { | 44 { |
45 this->fail(); | 45 this->fail(); |
46 } | 46 } |
47 } | 47 } |
48 | 48 |
49 bool ReplayTask::shouldSkip() const { | 49 bool ReplayTask::shouldSkip() const { |
50 return fGM->getFlags() & skiagm::GM::kGPUOnly_Flag || | 50 return fGM->getFlags() & skiagm::GM::kGPUOnly_Flag || |
51 fGM->getFlags() & skiagm::GM::kSkipPicture_Flag; | 51 fGM->getFlags() & skiagm::GM::kSkipPicture_Flag; |
52 } | 52 } |
53 | 53 |
54 } // namespace | 54 } // namespace DM |
OLD | NEW |