aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPicture.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-06-09 10:51:52 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-09 17:13:53 +0000
commit01b2b83aba10bc3767d660cd619c1da58b5eb0b5 (patch)
treee9336afbe6552b1d603ed11645af813ea91c01bb /include/core/SkPicture.h
parent6a0feba05bd57e84103cebc695d4a217ec9e472e (diff)
Extend composeshader to support a lerp parameter
Bug: skia: Change-Id: I3bbb2cb8d0a84fca0309654498548ebc94d8938f Reviewed-on: https://skia-review.googlesource.com/18460 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r--include/core/SkPicture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 9f14f80a17..f90e17af3e 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -201,10 +201,11 @@ private:
// V51: more SkXfermode -> SkBlendMode
// V52: Remove SkTextBlob::fRunCount
// V53: SaveLayerRec clip mask
+ // V54: ComposeShader can use a Mode or a Lerp
// Only SKPs within the min/current picture version range (inclusive) can be read.
static const uint32_t MIN_PICTURE_VERSION = 51; // Produced by Chrome ~M56.
- static const uint32_t CURRENT_PICTURE_VERSION = 53;
+ static const uint32_t CURRENT_PICTURE_VERSION = 54;
static bool IsValidPictInfo(const SkPictInfo& info);
static sk_sp<SkPicture> Forwardport(const SkPictInfo&,