| Index: dm/DMCpuTask.cpp
|
| diff --git a/dm/DMCpuTask.cpp b/dm/DMCpuTask.cpp
|
| index 7e6f909ff3a44c25062c97780aea11d3871f1f9c..ee461076321632a9bdc8635d6e0b79f4389bdeea 100644
|
| --- a/dm/DMCpuTask.cpp
|
| +++ b/dm/DMCpuTask.cpp
|
| @@ -5,6 +5,8 @@
|
| #include "DMUtil.h"
|
| #include "DMWriteTask.h"
|
|
|
| +#include "SkPicture.h"
|
| +
|
| namespace DM {
|
|
|
| CpuTask::CpuTask(const char* name,
|
| @@ -38,7 +40,10 @@ void CpuTask::draw() {
|
| this->spawnChild(SkNEW_ARGS(PipeTask, (*this, fGMFactory(NULL), bitmap, true, false)));
|
| this->spawnChild(SkNEW_ARGS(PipeTask, (*this, fGMFactory(NULL), bitmap, true, true)));
|
|
|
| - this->spawnChild(SkNEW_ARGS(ReplayTask, (*this, fGMFactory(NULL), bitmap)));
|
| + const uint32_t kReplay = 0, kRTree = SkPicture::kOptimizeForClippedPlayback_RecordingFlag;
|
| + this->spawnChild(SkNEW_ARGS(ReplayTask, (*this, fGMFactory(NULL), bitmap, kReplay)));
|
| + this->spawnChild(SkNEW_ARGS(ReplayTask, (*this, fGMFactory(NULL), bitmap, kRTree)));
|
| +
|
| this->spawnChild(SkNEW_ARGS(SerializeTask, (*this, fGMFactory(NULL), bitmap)));
|
| this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
|
| }
|
|
|