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

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

Issue 288313009: Remove unused (by clients) SkUnitMapper (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // V17: SkPixelRef now writes SkImageInfo 320 // V17: SkPixelRef now writes SkImageInfo
321 // V18: SkBitmap now records x,y for its pixelref origin, instead of offset. 321 // V18: SkBitmap now records x,y for its pixelref origin, instead of offset.
322 // V19: encode matrices and regions into the ops stream 322 // V19: encode matrices and regions into the ops stream
323 // V20: added bool to SkPictureImageFilter's serialization (to allow SkPictu re serialization) 323 // V20: added bool to SkPictureImageFilter's serialization (to allow SkPictu re serialization)
324 // V21: add pushCull, popCull 324 // V21: add pushCull, popCull
325 // V22: SK_PICT_FACTORY_TAG's size is now the chunk size in bytes 325 // V22: SK_PICT_FACTORY_TAG's size is now the chunk size in bytes
326 // V23: SkPaint::FilterLevel became a real enum 326 // V23: SkPaint::FilterLevel became a real enum
327 // V24: SkTwoPointConicalGradient now has fFlipped flag for gradient flippin g 327 // V24: SkTwoPointConicalGradient now has fFlipped flag for gradient flippin g
328 // V25: SkDashPathEffect now only writes phase and interval array when flatt ening 328 // V25: SkDashPathEffect now only writes phase and interval array when flatt ening
329 // V26: Removed boolean from SkColorShader for inheriting color from SkPaint . 329 // V26: Removed boolean from SkColorShader for inheriting color from SkPaint .
330 // V27: Remove SkUnitMapper from gradients (and skia).
330 331
331 // Note: If the picture version needs to be increased then please follow the 332 // Note: If the picture version needs to be increased then please follow the
332 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw 333 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw
333 334
334 // Only SKPs within the min/current picture version range (inclusive) can be read. 335 // Only SKPs within the min/current picture version range (inclusive) can be read.
335 static const uint32_t MIN_PICTURE_VERSION = 19; 336 static const uint32_t MIN_PICTURE_VERSION = 19;
336 static const uint32_t CURRENT_PICTURE_VERSION = 26; 337 static const uint32_t CURRENT_PICTURE_VERSION = 27;
337 338
338 mutable uint32_t fUniqueID; 339 mutable uint32_t fUniqueID;
339 340
340 // fPlayback, fRecord, fWidth & fHeight are protected to allow derived class es to 341 // fPlayback, fRecord, fWidth & fHeight are protected to allow derived class es to
341 // install their own SkPicturePlayback-derived players,SkPictureRecord-deriv ed 342 // install their own SkPicturePlayback-derived players,SkPictureRecord-deriv ed
342 // recorders and set the picture size 343 // recorders and set the picture size
343 SkPicturePlayback* fPlayback; 344 SkPicturePlayback* fPlayback;
344 SkPictureRecord* fRecord; 345 SkPictureRecord* fRecord;
345 int fWidth, fHeight; 346 int fWidth, fHeight;
346 const AccelData* fAccelData; 347 const AccelData* fAccelData;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 typedef SkRefCnt INHERITED; 519 typedef SkRefCnt INHERITED;
519 }; 520 };
520 521
521 #endif 522 #endif
522 523
523 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS 524 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS
524 #include "SkPictureRecorder.h" 525 #include "SkPictureRecorder.h"
525 #endif 526 #endif
526 527
527 #endif 528 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698