OLD | NEW |
1 #include "DMTileGridTask.h" | 1 #include "DMTileGridTask.h" |
2 #include "DMWriteTask.h" | 2 #include "DMWriteTask.h" |
3 #include "DMUtil.h" | 3 #include "DMUtil.h" |
4 | 4 |
5 #include "SkCommandLineFlags.h" | 5 #include "SkCommandLineFlags.h" |
6 #include "SkPicture.h" | 6 #include "SkPicture.h" |
7 #include "SkTileGridPicture.h" | 7 #include "SkTileGridPicture.h" |
8 | 8 |
9 // TODO(mtklein): Tile grid tests are currently failing. (Skia issue 1198). Wh
en fixed, -> true. | 9 // TODO(mtklein): Tile grid tests are currently failing. (Skia issue 1198). Wh
en fixed, -> true. |
10 DEFINE_bool(tileGrid, false, "If true, run picture replay tests with a tile grid
."); | 10 DEFINE_bool(tileGrid, false, "If true, run picture replay tests with a tile grid
."); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 if (!BitmapsEqual(full, fReference)) { | 64 if (!BitmapsEqual(full, fReference)) { |
65 this->fail(); | 65 this->fail(); |
66 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, full))); | 66 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, full))); |
67 } | 67 } |
68 } | 68 } |
69 | 69 |
70 bool TileGridTask::shouldSkip() const { | 70 bool TileGridTask::shouldSkip() const { |
71 if (fGM->getFlags() & skiagm::GM::kSkipPicture_Flag) { | 71 if (fGM->getFlags() & skiagm::GM::kSkipPicture_Flag) { |
72 return true; | 72 return true; |
73 } | 73 } |
| 74 if (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag) { |
| 75 return true; |
| 76 } |
74 return !FLAGS_tileGrid; | 77 return !FLAGS_tileGrid; |
75 } | 78 } |
76 | 79 |
77 } // namespace DM | 80 } // namespace DM |
OLD | NEW |