diff options
author | 2014-07-11 10:42:12 -0700 | |
---|---|---|
committer | 2014-07-11 10:42:12 -0700 | |
commit | c870d494dd0dc88f3f4155a0d6257a1be8280880 (patch) | |
tree | 3db077efd222fbf616eda5220ab5f26078a5d85f /include/core/SkPicture.h | |
parent | b02ab4b47be0f4d1bace70802a1ca430c878b48b (diff) |
Use SkShader's localMat for SkLocalMatrixShader.
Instead of setting SkShader::fLocalMatrix to Identity and storing
a separate SkMatrix inside SkLocalMatrixShader, reuse
SkShader::fLocalMatrix.
R=reed@google.com
Author: scroggo@google.com
Review URL: https://codereview.chromium.org/386693003
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r-- | include/core/SkPicture.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index ca26eb4496..03d983fe58 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -231,13 +231,14 @@ private: // V27: Remove SkUnitMapper from gradients (and skia). // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap. // V29: Removed SaveFlags parameter from save(). + // V30: Remove redundant SkMatrix from SkLocalMatrixShader. // Note: If the picture version needs to be increased then please follow the // steps to generate new SKPs in (only accessible to Googlers): http://goo.gl/qATVcw // Only SKPs within the min/current picture version range (inclusive) can be read. static const uint32_t MIN_PICTURE_VERSION = 19; - static const uint32_t CURRENT_PICTURE_VERSION = 29; + static const uint32_t CURRENT_PICTURE_VERSION = 30; mutable uint32_t fUniqueID; |