aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-01-08 15:14:55 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-08 22:06:41 +0000
commitc59b03071f5b255b5ce42749ff5d8238adca13e2 (patch)
tree16cf411f6574f3f3745d4b42dbc97f4d68d375ec /experimental
parent0c95aab176558ab1a050e69d361fde2b54226360 (diff)
[skotty] Tag animating paths as volatile
Change-Id: Ib90634ef682dba49b99594b008a0615d04c61a49 Reviewed-on: https://skia-review.googlesource.com/92140 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'experimental')
-rw-r--r--experimental/skotty/SkottyAnimator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/experimental/skotty/SkottyAnimator.cpp b/experimental/skotty/SkottyAnimator.cpp
index 7c4c16e780..d9f9b39ff1 100644
--- a/experimental/skotty/SkottyAnimator.cpp
+++ b/experimental/skotty/SkottyAnimator.cpp
@@ -40,6 +40,7 @@ void KeyframeInterval<ShapeValue>::lerp(float t, ShapeValue* v) const {
SkASSERT(v->cardinality() == 0);
SkAssertResult(fV1.fPath.interpolate(fV0.fPath, t, &v->fPath));
+ v->fPath.setIsVolatile(true);
}
float AnimatorBase::ComputeLocalT(float t, float t0, float t1,