Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(859)

Side by Side Diff: include/core/SkPicture.h

Issue 2030683002: Update typeface serialization style. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/core/SkFontDescriptor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 static const uint32_t CURRENT_PICTURE_VERSION = 45; 212 static const uint32_t CURRENT_PICTURE_VERSION = 45;
213 213
214 static_assert(MIN_PICTURE_VERSION <= 41, 214 static_assert(MIN_PICTURE_VERSION <= 41,
215 "Remove kFontFileName and related code from SkFontDescriptor.c pp."); 215 "Remove kFontFileName and related code from SkFontDescriptor.c pp.");
216 216
217 static_assert(MIN_PICTURE_VERSION <= 42, 217 static_assert(MIN_PICTURE_VERSION <= 42,
218 "Remove COMMENT API handlers from SkPicturePlayback.cpp"); 218 "Remove COMMENT API handlers from SkPicturePlayback.cpp");
219 219
220 static_assert(MIN_PICTURE_VERSION <= 43, 220 static_assert(MIN_PICTURE_VERSION <= 43,
221 "Remove SkBitmapSourceDeserializer."); 221 "Remove SkBitmapSourceDeserializer.");
222 222
223 static_assert(MIN_PICTURE_VERSION <= 45,
224 "Remove decoding of old SkTypeface::Style from SkFontDescripto r.cpp.");
225
223 static bool IsValidPictInfo(const SkPictInfo& info); 226 static bool IsValidPictInfo(const SkPictInfo& info);
224 static sk_sp<SkPicture> Forwardport(const SkPictInfo&, 227 static sk_sp<SkPicture> Forwardport(const SkPictInfo&,
225 const SkPictureData*, 228 const SkPictureData*,
226 const SkReadBuffer* buffer); 229 const SkReadBuffer* buffer);
227 230
228 SkPictInfo createHeader() const; 231 SkPictInfo createHeader() const;
229 SkPictureData* backport() const; 232 SkPictureData* backport() const;
230 233
231 mutable uint32_t fUniqueID; 234 mutable uint32_t fUniqueID;
232 }; 235 };
233 236
234 #endif 237 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkFontDescriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698