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

Side by Side Diff: dm/DMRecordTask.cpp

Issue 260863007: Remove setLocalMatrix calls from picture shader GM. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: pass the localMatrix... Created 6 years, 7 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 | « no previous file | gm/pictureshader.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 "DMRecordTask.h" 1 #include "DMRecordTask.h"
2 #include "DMUtil.h" 2 #include "DMUtil.h"
3 #include "DMWriteTask.h" 3 #include "DMWriteTask.h"
4 #include "SkCommandLineFlags.h" 4 #include "SkCommandLineFlags.h"
5 #include "SkRecording.h" 5 #include "SkRecording.h"
6 6
7 DEFINE_bool(skr, false, "If true, run SKR tests."); 7 DEFINE_bool(skr, true, "If true, run SKR tests.");
8 8
9 namespace DM { 9 namespace DM {
10 10
11 RecordTask::RecordTask(const Task& parent, skiagm::GM* gm, SkBitmap reference) 11 RecordTask::RecordTask(const Task& parent, skiagm::GM* gm, SkBitmap reference)
12 : CpuTask(parent) 12 : CpuTask(parent)
13 , fName(UnderJoin(parent.name().c_str(), "skr")) 13 , fName(UnderJoin(parent.name().c_str(), "skr"))
14 , fGM(gm) 14 , fGM(gm)
15 , fReference(reference) 15 , fReference(reference)
16 {} 16 {}
17 17
(...skipping 14 matching lines...) Expand all
32 this->fail(); 32 this->fail();
33 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap))); 33 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
34 } 34 }
35 } 35 }
36 36
37 bool RecordTask::shouldSkip() const { 37 bool RecordTask::shouldSkip() const {
38 return !FLAGS_skr; 38 return !FLAGS_skr;
39 } 39 }
40 40
41 } // namespace DM 41 } // namespace DM
OLDNEW
« no previous file with comments | « no previous file | gm/pictureshader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698