aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-11-29 15:12:45 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-29 20:38:56 +0000
commit7072e226ab03ca2a2a7981294639fa8b878a1970 (patch)
tree387c23147c6ff579f8e34a1d78b706cec437a199 /include
parent814b149ce3922edf6ae9b168516e397bcf21c792 (diff)
Ignore deserialized path convexity and first direction.
Change-Id: Ib7bfff6225774b83d9b6e9c5baae254aab17353b Reviewed-on: https://skia-review.googlesource.com/77680 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 25aa7fcc1d..2c05d64f74 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -1665,16 +1665,16 @@ public:
private:
enum SerializationOffsets {
kType_SerializationShift = 28, // requires 4 bits
- kDirection_SerializationShift = 26, // requires 2 bits
+ kDirection_SerializationShift = 26, // requires 2 bits, could be reused - ignored on read.
kIsVolatile_SerializationShift = 25, // requires 1 bit
// 1 free bit at 24
- kConvexity_SerializationShift = 16, // requires 8 bits
+ kConvexity_SerializationShift = 16, // requires 8 bits, could be reused - ignored on read.
kFillType_SerializationShift = 8, // requires 8 bits
// low-8-bits are version
};
enum SerializationVersions {
- kPathPrivFirstDirection_Version = 1,
+ // kPathPrivFirstDirection_Version = 1,
kPathPrivLastMoveToIndex_Version = 2,
kPathPrivTypeEnumVersion = 3,
kCurrent_Version = 3