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

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

Issue 447873003: Remove SkPaintOptionsAndroid (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: typo Created 6 years, 4 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
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // V22: SK_PICT_FACTORY_TAG's size is now the chunk size in bytes 223 // V22: SK_PICT_FACTORY_TAG's size is now the chunk size in bytes
224 // V23: SkPaint::FilterLevel became a real enum 224 // V23: SkPaint::FilterLevel became a real enum
225 // V24: SkTwoPointConicalGradient now has fFlipped flag for gradient flippin g 225 // V24: SkTwoPointConicalGradient now has fFlipped flag for gradient flippin g
226 // V25: SkDashPathEffect now only writes phase and interval array when flatt ening 226 // V25: SkDashPathEffect now only writes phase and interval array when flatt ening
227 // V26: Removed boolean from SkColorShader for inheriting color from SkPaint . 227 // V26: Removed boolean from SkColorShader for inheriting color from SkPaint .
228 // V27: Remove SkUnitMapper from gradients (and skia). 228 // V27: Remove SkUnitMapper from gradients (and skia).
229 // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap. 229 // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap.
230 // V29: Removed SaveFlags parameter from save(). 230 // V29: Removed SaveFlags parameter from save().
231 // V30: Remove redundant SkMatrix from SkLocalMatrixShader. 231 // V30: Remove redundant SkMatrix from SkLocalMatrixShader.
232 // V31: Add a serialized UniqueID to SkImageFilter. 232 // V31: Add a serialized UniqueID to SkImageFilter.
233 // V32: Removed SkPaintOptionsAndroid from SkPaint
233 234
234 // Note: If the picture version needs to be increased then please follow the 235 // Note: If the picture version needs to be increased then please follow the
235 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw 236 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw
236 237
237 // Only SKPs within the min/current picture version range (inclusive) can be read. 238 // Only SKPs within the min/current picture version range (inclusive) can be read.
238 static const uint32_t MIN_PICTURE_VERSION = 19; 239 static const uint32_t MIN_PICTURE_VERSION = 19;
239 static const uint32_t CURRENT_PICTURE_VERSION = 31; 240 static const uint32_t CURRENT_PICTURE_VERSION = 32;
240 241
241 mutable uint32_t fUniqueID; 242 mutable uint32_t fUniqueID;
242 243
243 // TODO: make SkPictureData const when clone method goes away 244 // TODO: make SkPictureData const when clone method goes away
244 SkAutoTDelete<SkPictureData> fData; 245 SkAutoTDelete<SkPictureData> fData;
245 int fWidth, fHeight; 246 int fWidth, fHeight;
246 mutable SkAutoTUnref<const AccelData> fAccelData; 247 mutable SkAutoTUnref<const AccelData> fAccelData;
247 248
248 mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are re fed 249 mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are re fed
249 250
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 291
291 // Takes ownership of the SkRecord, refs the (optional) BBH. 292 // Takes ownership of the SkRecord, refs the (optional) BBH.
292 SkPicture(int width, int height, SkRecord*, SkBBoxHierarchy*); 293 SkPicture(int width, int height, SkRecord*, SkBBoxHierarchy*);
293 294
294 SkAutoTDelete<SkRecord> fRecord; 295 SkAutoTDelete<SkRecord> fRecord;
295 SkAutoTUnref<SkBBoxHierarchy> fBBH; 296 SkAutoTUnref<SkBBoxHierarchy> fBBH;
296 bool fRecordWillPlayBackBitmaps; // TODO: const 297 bool fRecordWillPlayBackBitmaps; // TODO: const
297 }; 298 };
298 299
299 #endif 300 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698