Commit graph

4 commits

Author SHA1 Message Date
Hermet Park
25c0f32e8a lottie/expressions: enhance stability
When the system fails to interpret the expression code,
it forcibly disables the feature per property.

This improvement enhances stability and performance
by avoiding reckless attempts to interpret JavaScript code.

When we confirm the full stability with expressions,
we can revert this code.
2024-05-10 11:12:12 +09:00
Hermet Park
7bb8d60097 lottie/expressions: ++exceptional handling.
Add an exceptional handling if interpreting code is failed.
2024-05-10 11:12:12 +09:00
Hermet Park
6959523ee7 lottie/expressions: make it up the insufficient content() behavior
this is a follow-up fix for the initial expressions feature.
2024-05-10 11:12:12 +09:00
Hermet Park
289aada0fd lottie: support the expression feature
The current development of the expression engine is experimental.
It does not support multi-threading.

Therefore, when tvg::Initializer::init() is configured
with more than one thread, expressions will be automatically disabled.

issue: https://github.com/thorvg/thorvg/issues/1640
2024-05-10 10:46:21 +09:00