aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/third_party.gni
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-04-30 21:49:41 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-01 02:27:34 +0000
commitc353ee211fc99c0bf2035f9e77f87fd67b3c19c5 (patch)
treed24124815de77799c3efe0f8fff4427c96b21bec /third_party/third_party.gni
parentd5750b6b33bfe9c6ced5a98d2782099ff620b07a (diff)
[skottie] Power-reduce paths (cubicTo -> lineTo)
For straight lines, Lottie exports control points conincident with the vertices. We can detect this case and emit more efficient lineTo's. One wrinkle: we can only apply this power-reduction post-interpolation (otherwise the path verbs and point count would not be guaranteed to match). Hence we store explicit shape data and defer the SkPath conversion. TBR= Change-Id: I7818be464eabee6096d2078440843243a55c6e98 Reviewed-on: https://skia-review.googlesource.com/124800 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'third_party/third_party.gni')
0 files changed, 0 insertions, 0 deletions