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

Side by Side Diff: dm/DMReplayTask.cpp

Issue 243173002: Staging for cleanup of SkPicture-related headers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add crucial newline at end of file 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 | Annotate | Revision Log
« no previous file with comments | « debugger/SkDebugger.cpp ('k') | dm/DMTileGridTask.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 #include "DMReplayTask.h" 1 #include "DMReplayTask.h"
2 #include "DMWriteTask.h" 2 #include "DMWriteTask.h"
3 #include "DMUtil.h" 3 #include "DMUtil.h"
4 4
5 #include "SkBBHFactory.h"
5 #include "SkCommandLineFlags.h" 6 #include "SkCommandLineFlags.h"
6 #include "SkPicture.h" 7 #include "SkPicture.h"
7 #include "SkRTreePicture.h"
8 8
9 DEFINE_bool(replay, true, "If true, run picture replay tests."); 9 DEFINE_bool(replay, true, "If true, run picture replay tests.");
10 DEFINE_bool(rtree, true, "If true, run picture replay tests with an rtree."); 10 DEFINE_bool(rtree, true, "If true, run picture replay tests with an rtree.");
11 11
12 namespace DM { 12 namespace DM {
13 13
14 ReplayTask::ReplayTask(const Task& parent, 14 ReplayTask::ReplayTask(const Task& parent,
15 skiagm::GM* gm, 15 skiagm::GM* gm,
16 SkBitmap reference, 16 SkBitmap reference,
17 bool useRTree) 17 bool useRTree)
(...skipping 28 matching lines...) Expand all
46 if (FLAGS_rtree && fUseRTree) { 46 if (FLAGS_rtree && fUseRTree) {
47 return (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag) != 0; 47 return (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag) != 0;
48 } 48 }
49 if (FLAGS_replay && !fUseRTree) { 49 if (FLAGS_replay && !fUseRTree) {
50 return false; 50 return false;
51 } 51 }
52 return true; 52 return true;
53 } 53 }
54 54
55 } // namespace DM 55 } // namespace DM
OLDNEW
« no previous file with comments | « debugger/SkDebugger.cpp ('k') | dm/DMTileGridTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698