Remove TextureManager / VectorAnimationManaver lifecycle observing 23/310023/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 19 Apr 2024 07:43:38 +0000 (16:43 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 19 Apr 2024 08:03:55 +0000 (17:03 +0900)
commit0077f7af2d37f8c77449865265822f78f570c7ef
tree68e065ab96b8d5b7cd24b91eaa1387c68f25bae4
parent8187509a18020947f79841feaf21d65d8387a61b
Remove TextureManager / VectorAnimationManaver lifecycle observing

Since we can use Dali::Adaptor::IsAvailable(), we don't need to check
whether manager itself is alive or not.

Since both of them are member value of VisualFactoryCache, and VisualFactory
is singletone class what will be destructed at Adaptor stop timing,
Dali::Adaptor::IsAvailabe() is enough.

Add/Remove observer will give some overhead for usual cases.
So just remove it, and check adaptor vailables intead.

Change-Id: Ib26df2d607d2871626cda956d86524f74afd424b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/texture-manager/texture-manager-impl.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.h
dali-toolkit/internal/visuals/animated-image/fixed-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/image-cache.cpp
dali-toolkit/internal/visuals/animated-image/image-cache.h
dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/rolling-image-cache.cpp
dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.cpp
dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.h
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-manager.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-manager.h