aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkReadBuffer.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-04-08 12:19:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-08 12:19:50 -0700
commit0576aa9c0722bba358a27f80cc134ea2cd4ca2c9 (patch)
tree8df570c46afb32ee9a4550409a34b901e472d389 /src/core/SkReadBuffer.h
parent646125114b42b24e5ada3c9f8fac53a85f9ad2a0 (diff)
Serialize invNormRotation in SkLightingShader.
This fixes a serialize-8888 / 8888 GM mismatch. This requires a picture bump so we know not to bother trying to read the invNormRotation vector from older .SKPs. Any chance no one's ever made one? BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870443002 Just bumping the picture version. TBR=reed@google.com Review URL: https://codereview.chromium.org/1870443002
Diffstat (limited to 'src/core/SkReadBuffer.h')
-rw-r--r--src/core/SkReadBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h
index e77d1adfe3..faf853aef5 100644
--- a/src/core/SkReadBuffer.h
+++ b/src/core/SkReadBuffer.h
@@ -61,6 +61,7 @@ public:
kPictureShaderHasPictureBool_Version = 42,
kHasDrawImageOpCodes_Version = 43,
kAnnotationsMovedToCanvas_Version = 44,
+ kLightingShaderWritesInvNormRotation = 45,
};
/**