Index: include/core/SkPictureRecorder.h |
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h |
index a84b721e44255813cc55cfdaf8cb9c99dadeceb5..811d02a36e141f6eff06a23cafc8d1f5fa7747dc 100644 |
--- a/include/core/SkPictureRecorder.h |
+++ b/include/core/SkPictureRecorder.h |
@@ -33,7 +33,11 @@ public: |
enum RecordFlags { |
// This flag indicates that, if some BHH is being computed, saveLayer |
// information should also be extracted at the same time. |
- kComputeSaveLayerInfo_RecordFlag = 0x01 |
+ kComputeSaveLayerInfo_RecordFlag = 0x01, |
+ |
+ // If you call drawPicture() on the recording canvas, this flag forces |
+ // that to use SkPicture::playback() immediately rather than (e.g.) reffing the picture. |
+ kPlaybackDrawPicture_RecordFlag = 0x02, |
}; |
/** Returns the canvas that records the drawing commands. |