OLD | NEW |
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 102 #ifdef SK_BUILD_FOR_ANDROID |
103 /** Replay the current (partially recorded) operation stream into | 103 /** Replay the current (partially recorded) operation stream into |
104 canvas. This call doesn't close the current recording. | 104 canvas. This call doesn't close the current recording. |
105 */ | 105 */ |
106 friend class AndroidPicture; | 106 friend class AndroidPicture; |
107 friend class SkPictureRecorderReplayTester; // for unit testing | 107 friend class SkPictureRecorderReplayTester; // for unit testing |
108 void partialReplay(SkCanvas* canvas); | 108 void partialReplay(SkCanvas* canvas) const; |
109 #endif | 109 #endif |
110 | 110 |
111 SkAutoTUnref<SkPicture> fPicture; | 111 SkAutoTUnref<SkPicture> fPicture; |
112 | 112 |
113 typedef SkNoncopyable INHERITED; | 113 typedef SkNoncopyable INHERITED; |
114 }; | 114 }; |
115 | 115 |
116 #endif | 116 #endif |
OLD | NEW |