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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 SkWriter32 fWriter; | 319 SkWriter32 fWriter; |
320 | 320 |
321 // we ref each item in these arrays | 321 // we ref each item in these arrays |
322 SkTDArray<const SkPicture*> fPictureRefs; | 322 SkTDArray<const SkPicture*> fPictureRefs; |
323 | 323 |
324 uint32_t fRecordFlags; | 324 uint32_t fRecordFlags; |
325 bool fOptsEnabled; | 325 bool fOptsEnabled; |
326 int fInitialSaveCount; | 326 int fInitialSaveCount; |
327 | 327 |
328 friend class SkPictureData; | 328 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
329 friend class SkPictureTester; // for unit testing | 329 friend class SkPictureTester; // for unit testing |
330 | 330 |
331 #ifdef SK_COLLAPSE_MATRIX_CLIP_STATE | 331 #ifdef SK_COLLAPSE_MATRIX_CLIP_STATE |
332 SkMatrixClipStateMgr fMCMgr; | 332 SkMatrixClipStateMgr fMCMgr; |
333 #endif | 333 #endif |
334 | 334 |
335 typedef SkCanvas INHERITED; | 335 typedef SkCanvas INHERITED; |
336 }; | 336 }; |
337 | 337 |
338 #endif | 338 #endif |
OLD | NEW |