| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 static bool IsValidPictInfo(const SkPictInfo& info); | 281 static bool IsValidPictInfo(const SkPictInfo& info); |
| 282 | 282 |
| 283 friend class SkFlatPicture; | 283 friend class SkFlatPicture; |
| 284 friend class SkPictureData; | 284 friend class SkPictureData; |
| 285 friend class SkPictureRecorder; // just for SkPicture-based constructor | 285 friend class SkPictureRecorder; // just for SkPicture-based constructor |
| 286 friend class SkGpuDevice; | 286 friend class SkGpuDevice; |
| 287 friend class GrGatherCanvas; | 287 friend class GrGatherCanvas; |
| 288 friend class GrGatherDevice; | 288 friend class GrGatherDevice; |
| 289 friend class SkDebugCanvas; | 289 friend class SkDebugCanvas; |
| 290 friend class SkPicturePlayback; // to get fData | 290 friend class SkPicturePlayback; // to get fData |
| 291 friend class SkPictureReplacementPlayback; // to access OperationList |
| 291 | 292 |
| 292 typedef SkRefCnt INHERITED; | 293 typedef SkRefCnt INHERITED; |
| 293 | 294 |
| 294 SkPicture(int width, int height, SkRecord*); // Takes ownership. | 295 SkPicture(int width, int height, SkRecord*); // Takes ownership. |
| 295 SkAutoTDelete<SkRecord> fRecord; | 296 SkAutoTDelete<SkRecord> fRecord; |
| 296 bool fRecordWillPlayBackBitmaps; // TODO: const | 297 bool fRecordWillPlayBackBitmaps; // TODO: const |
| 297 }; | 298 }; |
| 298 | 299 |
| 299 #endif | 300 #endif |
| OLD | NEW |