aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMPipeTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DMPipeTask.h')
-rw-r--r--dm/DMPipeTask.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/dm/DMPipeTask.h b/dm/DMPipeTask.h
index c251d08328..bca74e0b0c 100644
--- a/dm/DMPipeTask.h
+++ b/dm/DMPipeTask.h
@@ -14,11 +14,16 @@ namespace DM {
class PipeTask : public CpuTask {
public:
+ enum Mode {
+ kInProcess_Mode,
+ kCrossProcess_Mode,
+ kSharedAddress_Mode,
+ };
+
PipeTask(const Task& parent, // PipeTask must be a child task. Pass its parent here.
skiagm::GM*, // GM to run through a pipe. Takes ownership.
SkBitmap reference, // Bitmap to compare pipe results to.
- bool crossProcess, // Should we set up a cross process pipe?
- bool sharedAddressSpace); // If cross process, should it assume shared address space?
+ Mode);
virtual void draw() SK_OVERRIDE;
virtual bool shouldSkip() const SK_OVERRIDE;