Less call mAnimatedImageLoading.GetImageCount() who might load file synchronously 93/309993/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 19 Apr 2024 04:14:36 +0000 (13:14 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 19 Apr 2024 06:41:42 +0000 (15:41 +0900)
commit5840986c9915193333e5c823d101d4881e9905bf
tree9f346a2cf8cf1e44cab0ca7e4f4adc636be1ba9b
parent8187509a18020947f79841feaf21d65d8387a61b
Less call mAnimatedImageLoading.GetImageCount() who might load file synchronously

Since AnimatedImageLoading might not load imagefile if we use
cached texture.

In this case, If we try to call 'GetImageCount()' or similar API, it will
try to load file synchronously, what user never notify.

For example, when we call DoCreatePropertyMap, it will call that API
what we can use some other cached value.

Change-Id: I77d30b985efd86d09663dfd51e885ba6227adbc9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.h