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