vdasher: refactor dash property parsing and handling.
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 31 Jul 2019 08:06:17 +0000 (17:06 +0900)
committerHermet Park <hermetpark@gmail.com>
Mon, 12 Aug 2019 08:30:34 +0000 (17:30 +0900)
commit7c6651d617ec5e46021fb8f2adb2389d6709eb22
tree3b76a8b7f3da2fea0602532fc81075dd724bca76
parentcaac1ced2e5633694e65b0989849945b6f4f80b5
vdasher: refactor dash property parsing and handling.

- reduce Stroke and GStroke model object size by keeping a vector instead of fixed array property.
- keep a vector instead of fixed size array in model.
- keep a vector instead of fix size array in shadow tree.
- refactor getDashInfo() to DashProperty class and reuse by both Stroke and GradientStroke model object.
- enable move constructor in LOTAnimatable class to support creation vector of objects.
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h
src/lottie/lottiemodel.cpp
src/lottie/lottiemodel.h
src/lottie/lottieparser.cpp
src/lottie/lottieproxymodel.h
src/vector/vdasher.cpp
src/vector/vdrawable.cpp
src/vector/vdrawable.h