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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 friend class android::Picture; | 103 friend class android::Picture; |
104 #endif | 104 #endif |
105 friend class SkPictureRecorderReplayTester; // for unit testing | 105 friend class SkPictureRecorderReplayTester; // for unit testing |
106 void partialReplay(SkCanvas* canvas) const; | 106 void partialReplay(SkCanvas* canvas) const; |
107 | 107 |
108 uint32_t fFlags; | 108 uint32_t fFlags; |
109 SkRect fCullRect; | 109 SkRect fCullRect; |
110 SkAutoTUnref<SkBBoxHierarchy> fBBH; | 110 SkAutoTUnref<SkBBoxHierarchy> fBBH; |
111 SkAutoTUnref<SkRecorder> fRecorder; | 111 SkAutoTUnref<SkRecorder> fRecorder; |
112 SkAutoTUnref<SkRecord> fRecord; | 112 SkAutoTUnref<SkRecord> fRecord; |
113 SkBBHFactory* fBBHFactory; | |
114 | 113 |
115 typedef SkNoncopyable INHERITED; | 114 typedef SkNoncopyable INHERITED; |
116 }; | 115 }; |
117 | 116 |
118 #endif | 117 #endif |
OLD | NEW |