thorvg/src/loaders/lottie
Hermet Park aa4c186cd2 lottie: introduced static layer cache.
lottie builder doesn't need to rebuild the layer object
if it has no any animation frame data.

That case, we can cache the layer scene in order to reuse it.

Tested on local machine (single thread):
- Lottie: appx. 2ms enhanced.
- Binary: +204
2023-12-26 18:01:30 +09:00
..
rapidjson loader lottie: +rapidjson for lottie json parser. 2023-07-27 00:31:27 +09:00
meson.build loader/lottie: fix a missing layer timeremap. 2023-08-09 21:30:25 +09:00
tvgLottieBuilder.cpp lottie: introduced static layer cache. 2023-12-26 18:01:30 +09:00
tvgLottieBuilder.h animation/lottie: updated the frame count unit. 2023-12-26 17:51:53 +09:00
tvgLottieInterpolator.cpp loader lottie: add a lottie specific interpolator. 2023-07-27 00:31:27 +09:00
tvgLottieInterpolator.h loader lottie: add a lottie specific interpolator. 2023-07-27 00:31:27 +09:00
tvgLottieLoader.cpp animation/lottie: updated the frame count unit. 2023-12-26 17:51:53 +09:00
tvgLottieLoader.h animation/lottie: updated the frame count unit. 2023-12-26 17:51:53 +09:00
tvgLottieModel.cpp lottie: introduced static layer cache. 2023-12-26 18:01:30 +09:00
tvgLottieModel.h lottie: introduced static layer cache. 2023-12-26 18:01:30 +09:00
tvgLottieParser.cpp lottie: introduced static layer cache. 2023-12-26 18:01:30 +09:00
tvgLottieParser.h loader/lottie: support the repeater property 2023-09-07 12:17:16 +09:00
tvgLottieParserHandler.cpp lottie/loader: support the masking features. 2023-08-17 23:03:37 +09:00
tvgLottieParserHandler.h loader lottie: adds the lottie property, model and parser. 2023-07-27 00:31:27 +09:00
tvgLottieProperty.h animation/lottie: updated the frame count unit. 2023-12-26 17:51:53 +09:00