aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPictureRecorder.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index 95ba7b04c7..8284c7d906 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -99,6 +99,15 @@ private:
SkAutoTUnref<SkPictureFactory> fFactory;
#endif
+#ifdef SK_BUILD_FOR_ANDROID
+ /** Replay the current (partially recorded) operation stream into
+ canvas. This call doesn't close the current recording.
+ */
+ friend class AndroidPicture;
+ friend class SkPictureRecorderReplayTester; // for unit testing
+ void partialReplay(SkCanvas* canvas);
+#endif
+
SkAutoTUnref<SkPicture> fPicture;
typedef SkNoncopyable INHERITED;