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 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 static_assert(MIN_PICTURE_VERSION <= 41, | 215 static_assert(MIN_PICTURE_VERSION <= 41, |
216 "Remove kFontFileName and related code from SkFontDescriptor.c
pp."); | 216 "Remove kFontFileName and related code from SkFontDescriptor.c
pp."); |
217 | 217 |
218 static_assert(MIN_PICTURE_VERSION <= 42, | 218 static_assert(MIN_PICTURE_VERSION <= 42, |
219 "Remove COMMENT API handlers from SkPicturePlayback.cpp"); | 219 "Remove COMMENT API handlers from SkPicturePlayback.cpp"); |
220 | 220 |
221 static_assert(MIN_PICTURE_VERSION <= 43, | 221 static_assert(MIN_PICTURE_VERSION <= 43, |
222 "Remove SkBitmapSourceDeserializer."); | 222 "Remove SkBitmapSourceDeserializer."); |
223 | 223 |
224 static bool IsValidPictInfo(const SkPictInfo& info); | 224 static bool IsValidPictInfo(const SkPictInfo& info); |
225 static sk_sp<SkPicture> Forwardport(const SkPictInfo&, const SkPictureData*)
; | 225 static sk_sp<SkPicture> Forwardport(const SkPictInfo&, |
| 226 const SkPictureData*, |
| 227 const SkReadBuffer* buffer); |
226 | 228 |
227 SkPictInfo createHeader() const; | 229 SkPictInfo createHeader() const; |
228 SkPictureData* backport() const; | 230 SkPictureData* backport() const; |
229 | 231 |
230 mutable uint32_t fUniqueID; | 232 mutable uint32_t fUniqueID; |
231 }; | 233 }; |
232 | 234 |
233 #endif | 235 #endif |
OLD | NEW |