OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
10 | 10 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 SkWriter32 fWriter; | 251 SkWriter32 fWriter; |
252 | 252 |
253 // we ref each item in these arrays | 253 // we ref each item in these arrays |
254 SkTDArray<const SkPicture*> fPictureRefs; | 254 SkTDArray<const SkPicture*> fPictureRefs; |
255 SkTDArray<const SkTextBlob*> fTextBlobRefs; | 255 SkTDArray<const SkTextBlob*> fTextBlobRefs; |
256 | 256 |
257 uint32_t fRecordFlags; | 257 uint32_t fRecordFlags; |
258 int fInitialSaveCount; | 258 int fInitialSaveCount; |
259 | 259 |
260 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 260 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
261 friend class SkPictureTester; // for unit testing | |
262 | 261 |
263 typedef SkCanvas INHERITED; | 262 typedef SkCanvas INHERITED; |
264 }; | 263 }; |
265 | 264 |
266 #endif | 265 #endif |
OLD | NEW |