OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2007 The Android Open Source Project | 2 * Copyright 2007 The Android Open Source Project |
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 SkPicture_DEFINED | 8 #ifndef SkPicture_DEFINED |
9 #define SkPicture_DEFINED | 9 #define SkPicture_DEFINED |
10 | 10 |
11 #include "SkImageDecoder.h" | 11 #include "SkImageDecoder.h" |
| 12 #include "SkLazyPtr.h" |
12 #include "SkRefCnt.h" | 13 #include "SkRefCnt.h" |
13 #include "SkTypes.h" | 14 #include "SkTypes.h" |
14 | 15 |
15 class GrContext; | 16 class GrContext; |
16 class SkBigPicture; | 17 class SkBigPicture; |
17 class SkBitmap; | 18 class SkBitmap; |
18 class SkCanvas; | 19 class SkCanvas; |
19 class SkPictureData; | 20 class SkPictureData; |
20 class SkPixelSerializer; | 21 class SkPixelSerializer; |
21 class SkStream; | 22 class SkStream; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 static bool IsValidPictInfo(const SkPictInfo& info); | 190 static bool IsValidPictInfo(const SkPictInfo& info); |
190 static SkPicture* Forwardport(const SkPictInfo&, const SkPictureData*); | 191 static SkPicture* Forwardport(const SkPictInfo&, const SkPictureData*); |
191 | 192 |
192 SkPictInfo createHeader() const; | 193 SkPictInfo createHeader() const; |
193 SkPictureData* backport() const; | 194 SkPictureData* backport() const; |
194 | 195 |
195 mutable uint32_t fUniqueID; | 196 mutable uint32_t fUniqueID; |
196 }; | 197 }; |
197 | 198 |
198 #endif | 199 #endif |
OLD | NEW |