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

Side by Side 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: Fix Android compiler issue Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPictureRecorder_DEFINED 8 #ifndef SkPictureRecorder_DEFINED
9 #define SkPictureRecorder_DEFINED 9 #define SkPictureRecorder_DEFINED
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 if (NULL != fPicture.get()) { 92 if (NULL != fPicture.get()) {
93 fPicture->internalOnly_EnableOpts(enableOpts); 93 fPicture->internalOnly_EnableOpts(enableOpts);
94 } 94 }
95 } 95 }
96 96
97 private: 97 private:
98 #ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES 98 #ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES
99 SkAutoTUnref<SkPictureFactory> fFactory; 99 SkAutoTUnref<SkPictureFactory> fFactory;
100 #endif 100 #endif
101 101
102 #ifdef SK_BUILD_FOR_ANDROID
103 /** Replay the current (partially recorded) operation stream into
104 canvas. This call doesn't close the current recording.
105 */
106 friend class AndroidPicture;
107 friend class SkPictureRecorderReplayTester; // for unit testing
108 void partialReplay(SkCanvas* canvas);
109 #endif
110
102 SkAutoTUnref<SkPicture> fPicture; 111 SkAutoTUnref<SkPicture> fPicture;
103 112
104 typedef SkNoncopyable INHERITED; 113 typedef SkNoncopyable INHERITED;
105 }; 114 };
106 115
107 #endif 116 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698