OLD | NEW |
---|---|
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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
317 // V15: Remove A1 bitmap config (and renumber remaining configs) | 317 // V15: Remove A1 bitmap config (and renumber remaining configs) |
318 // V16: Move SkPath's isOval flag to SkPathRef | 318 // V16: Move SkPath's isOval flag to SkPathRef |
319 // V17: SkPixelRef now writes SkImageInfo | 319 // V17: SkPixelRef now writes SkImageInfo |
320 // V18: SkBitmap now records x,y for its pixelref origin, instead of offset. | 320 // V18: SkBitmap now records x,y for its pixelref origin, instead of offset. |
321 // V19: encode matrices and regions into the ops stream | 321 // V19: encode matrices and regions into the ops stream |
322 // V20: added bool to SkPictureImageFilter's serialization (to allow SkPictu re serialization) | 322 // V20: added bool to SkPictureImageFilter's serialization (to allow SkPictu re serialization) |
323 // V21: add pushCull, popCull | 323 // V21: add pushCull, popCull |
324 // V22: SK_PICT_FACTORY_TAG's size is now the chunk size in bytes | 324 // V22: SK_PICT_FACTORY_TAG's size is now the chunk size in bytes |
325 // V23: SkPaint::FilterLevel became a real enum | 325 // V23: SkPaint::FilterLevel became a real enum |
326 // V24: SkTwoPointConicalGradient now has fFlipped flag for gradient flippin g | 326 // V24: SkTwoPointConicalGradient now has fFlipped flag for gradient flippin g |
327 // V25: SkDashPathEffect now only writes phase and interval array when flatt ening | 327 // V25: SkDashPathEffect now only writes phase and interval array when flatt ening |
mtklein
2014/04/22 21:49:07
Add a note about the change?
bsalomon
2014/04/23 15:22:29
Done.
| |
328 | 328 |
329 // Note: If the picture version needs to be increased then please follow the | 329 // Note: If the picture version needs to be increased then please follow the |
330 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw | 330 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw |
331 | 331 |
332 // Only SKPs within the min/current picture version range (inclusive) can be read. | 332 // Only SKPs within the min/current picture version range (inclusive) can be read. |
333 static const uint32_t MIN_PICTURE_VERSION = 19; | 333 static const uint32_t MIN_PICTURE_VERSION = 19; |
334 static const uint32_t CURRENT_PICTURE_VERSION = 25; | 334 static const uint32_t CURRENT_PICTURE_VERSION = 26; |
335 | 335 |
336 mutable uint32_t fUniqueID; | 336 mutable uint32_t fUniqueID; |
337 | 337 |
338 // fPlayback, fRecord, fWidth & fHeight are protected to allow derived class es to | 338 // fPlayback, fRecord, fWidth & fHeight are protected to allow derived class es to |
339 // install their own SkPicturePlayback-derived players,SkPictureRecord-deriv ed | 339 // install their own SkPicturePlayback-derived players,SkPictureRecord-deriv ed |
340 // recorders and set the picture size | 340 // recorders and set the picture size |
341 SkPicturePlayback* fPlayback; | 341 SkPicturePlayback* fPlayback; |
342 SkPictureRecord* fRecord; | 342 SkPictureRecord* fRecord; |
343 int fWidth, fHeight; | 343 int fWidth, fHeight; |
344 const AccelData* fAccelData; | 344 const AccelData* fAccelData; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
434 typedef SkRefCnt INHERITED; | 434 typedef SkRefCnt INHERITED; |
435 }; | 435 }; |
436 | 436 |
437 #endif | 437 #endif |
438 | 438 |
439 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS | 439 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS |
440 #include "SkPictureRecorder.h" | 440 #include "SkPictureRecorder.h" |
441 #endif | 441 #endif |
442 | 442 |
443 #endif | 443 #endif |
OLD | NEW |