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

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

Issue 611093002: remove alphatype from colortable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update codecs Created 6 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/SkColorTable.h ('k') | samplecode/SampleDitherBitmap.cpp » ('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 /* 2 /*
3 * Copyright 2007 The Android Open Source Project 3 * Copyright 2007 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPicture_DEFINED 10 #ifndef SkPicture_DEFINED
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // V26: Removed boolean from SkColorShader for inheriting color from SkPaint . 242 // V26: Removed boolean from SkColorShader for inheriting color from SkPaint .
243 // V27: Remove SkUnitMapper from gradients (and skia). 243 // V27: Remove SkUnitMapper from gradients (and skia).
244 // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap. 244 // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap.
245 // V29: Removed SaveFlags parameter from save(). 245 // V29: Removed SaveFlags parameter from save().
246 // V30: Remove redundant SkMatrix from SkLocalMatrixShader. 246 // V30: Remove redundant SkMatrix from SkLocalMatrixShader.
247 // V31: Add a serialized UniqueID to SkImageFilter. 247 // V31: Add a serialized UniqueID to SkImageFilter.
248 // V32: Removed SkPaintOptionsAndroid from SkPaint 248 // V32: Removed SkPaintOptionsAndroid from SkPaint
249 // V33: Serialize only public API of effects. 249 // V33: Serialize only public API of effects.
250 // V34: Add SkTextBlob serialization. 250 // V34: Add SkTextBlob serialization.
251 // V35: Store SkRect (rather then width & height) in header 251 // V35: Store SkRect (rather then width & height) in header
252 // V36: Remove (obsolete) alphatype from SkColorTable
252 253
253 // Note: If the picture version needs to be increased then please follow the 254 // Note: If the picture version needs to be increased then please follow the
254 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw 255 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw
255 256
256 // Only SKPs within the min/current picture version range (inclusive) can be read. 257 // Only SKPs within the min/current picture version range (inclusive) can be read.
257 static const uint32_t MIN_PICTURE_VERSION = 19; 258 static const uint32_t MIN_PICTURE_VERSION = 19;
258 static const uint32_t CURRENT_PICTURE_VERSION = 35; 259 static const uint32_t CURRENT_PICTURE_VERSION = 36;
259 260
260 mutable uint32_t fUniqueID; 261 mutable uint32_t fUniqueID;
261 262
262 // TODO: make SkPictureData const when clone method goes away 263 // TODO: make SkPictureData const when clone method goes away
263 SkAutoTDelete<SkPictureData> fData; 264 SkAutoTDelete<SkPictureData> fData;
264 const SkScalar fCullWidth; 265 const SkScalar fCullWidth;
265 const SkScalar fCullHeight; 266 const SkScalar fCullHeight;
266 mutable SkAutoTUnref<const AccelData> fAccelData; 267 mutable SkAutoTUnref<const AccelData> fAccelData;
267 268
268 mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are re fed 269 mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are re fed
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 bool fWillPlaybackBitmaps; 328 bool fWillPlaybackBitmaps;
328 bool fHasText; 329 bool fHasText;
329 int fNumPaintWithPathEffectUses; 330 int fNumPaintWithPathEffectUses;
330 int fNumFastPathDashEffects; 331 int fNumFastPathDashEffects;
331 int fNumAAConcavePaths; 332 int fNumAAConcavePaths;
332 int fNumAAHairlineConcavePaths; 333 int fNumAAHairlineConcavePaths;
333 } fAnalysis; 334 } fAnalysis;
334 }; 335 };
335 336
336 #endif 337 #endif
OLDNEW
« no previous file with comments | « include/core/SkColorTable.h ('k') | samplecode/SampleDitherBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698