(AnimatedVector) Cache lottie file's layer / marker info 01/301101/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 8 Nov 2023 11:22:15 +0000 (20:22 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Fri, 10 Nov 2023 02:19:23 +0000 (02:19 +0000)
commit9555fd0add30a9ba1fd0bf1bf8f18f4b07f93e38
tree5d0ffa8d4ed87ce65f9bd7cb8336139a87679e54
parentbc0c51819434f2d255e5e730388a1e7cec116613
(AnimatedVector) Cache lottie file's layer / marker info

GetLayerInfo and GetMarkerInfo can be called usually if we use NUI system.
(Since we call Visual::Base::CreatePropertyMap() every times we change some
properties.)

But the LayerInfo / MarkerInfo never be changed if the file is fixed.
So let we cache that information, and use cached value.

It can also reduce mutex block at plugin system internally.

Change-Id: I767bd581dc5e2a41715263d03c1ace15d2476df3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-AnimatedVectorImageVisual.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-task.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-task.h