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

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

Issue 1363913002: Remove SkBitmapSource (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: immutable bitmap Created 5 years, 2 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 | « include/core/SkBitmap.h ('k') | include/effects/SkBitmapSource.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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Only SKPs within the min/current picture version range (inclusive) can be read. 185 // Only SKPs within the min/current picture version range (inclusive) can be read.
186 static const uint32_t MIN_PICTURE_VERSION = 35; // Produced by Chrom e M39. 186 static const uint32_t MIN_PICTURE_VERSION = 35; // Produced by Chrom e M39.
187 static const uint32_t CURRENT_PICTURE_VERSION = 43; 187 static const uint32_t CURRENT_PICTURE_VERSION = 43;
188 188
189 static_assert(MIN_PICTURE_VERSION <= 41, 189 static_assert(MIN_PICTURE_VERSION <= 41,
190 "Remove kFontFileName and related code from SkFontDescriptor.c pp."); 190 "Remove kFontFileName and related code from SkFontDescriptor.c pp.");
191 191
192 static_assert(MIN_PICTURE_VERSION <= 42, 192 static_assert(MIN_PICTURE_VERSION <= 42,
193 "Remove COMMENT API handlers from SkPicturePlayback.cpp"); 193 "Remove COMMENT API handlers from SkPicturePlayback.cpp");
194 194
195 static_assert(MIN_PICTURE_VERSION <= 43,
196 "Remove SkBitmapSourceDeserializer.");
197
195 static bool IsValidPictInfo(const SkPictInfo& info); 198 static bool IsValidPictInfo(const SkPictInfo& info);
196 static SkPicture* Forwardport(const SkPictInfo&, const SkPictureData*); 199 static SkPicture* Forwardport(const SkPictInfo&, const SkPictureData*);
197 200
198 SkPictInfo createHeader() const; 201 SkPictInfo createHeader() const;
199 SkPictureData* backport() const; 202 SkPictureData* backport() const;
200 203
201 mutable uint32_t fUniqueID; 204 mutable uint32_t fUniqueID;
202 }; 205 };
203 206
204 #endif 207 #endif
OLDNEW
« no previous file with comments | « include/core/SkBitmap.h ('k') | include/effects/SkBitmapSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698