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

Unified Diff: include/core/SkPictureRecorder.h

Issue 252873005: add replay entry point to SkPictureRecorder for Android (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | src/core/SkPictureRecorder.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPictureRecorder.h
===================================================================
--- include/core/SkPictureRecorder.h (revision 14396)
+++ include/core/SkPictureRecorder.h (working copy)
@@ -99,6 +99,15 @@
SkAutoTUnref<SkPictureFactory> fFactory;
#endif
+#ifdef SK_BUILD_FOR_ANDROID
mtklein 2014/04/30 20:20:11 Is this necessary to build, or just a guard to pre
robertphillips 2014/05/27 14:10:08 This will build without the Android guard but havi
+ /** 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 replay(SkCanvas* canvas);
mtklein 2014/04/30 20:20:11 Maybe work "partial" into the name? replay() soun
+#endif
+
SkAutoTUnref<SkPicture> fPicture;
typedef SkNoncopyable INHERITED;
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | src/core/SkPictureRecorder.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698