OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2007 The Android Open Source Project | 3 * Copyright 2007 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkPicture_DEFINED | 10 #ifndef SkPicture_DEFINED |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 friend class SkPicturePlayback; // to get fData & OperationList | 286 friend class SkPicturePlayback; // to get fData & OperationList |
287 friend class SkPictureReplacementPlayback; // to access OperationList | 287 friend class SkPictureReplacementPlayback; // to access OperationList |
288 | 288 |
289 typedef SkRefCnt INHERITED; | 289 typedef SkRefCnt INHERITED; |
290 | 290 |
291 // Takes ownership of the SkRecord, refs the (optional) BBH. | 291 // Takes ownership of the SkRecord, refs the (optional) BBH. |
292 SkPicture(int width, int height, SkRecord*, SkBBoxHierarchy*); | 292 SkPicture(int width, int height, SkRecord*, SkBBoxHierarchy*); |
293 | 293 |
294 SkAutoTDelete<SkRecord> fRecord; | 294 SkAutoTDelete<SkRecord> fRecord; |
295 SkAutoTUnref<SkBBoxHierarchy> fBBH; | 295 SkAutoTUnref<SkBBoxHierarchy> fBBH; |
296 bool fRecordWillPlayBackBitmaps; // TODO: const | |
297 }; | 296 }; |
298 | 297 |
299 #endif | 298 #endif |
OLD | NEW |