Store VisualUrl's hash result, and reuse it 71/275071/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 16 May 2022 08:48:14 +0000 (17:48 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 18 May 2022 09:19:07 +0000 (18:19 +0900)
commitef8b89d5125aa02182a080bb3806ec87a64a2f97
tree766408929bbbe0f25f2bbf543790d6d0750a103f
parent4764ce1dc9edc7c08766e356c839278204369d73
Store VisualUrl's hash result, and reuse it

When we request load of animated image visual,
It will generate the image url's hash for every frame.

This patch cache the VisualUrl's hash result so
We don't need to re-calculate hash for the same image url.

Change-Id: I637e7d2dc141f25164fb96337d76031f44c2152f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 files changed:
automated-tests/src/dali-toolkit-internal/utc-Dali-VisualUrl.cpp
dali-toolkit/internal/texture-manager/texture-cache-manager.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.h
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
dali-toolkit/internal/visuals/animated-image/fixed-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-animated-image-cache.h
dali-toolkit/internal/visuals/animated-image/rolling-image-cache.cpp
dali-toolkit/internal/visuals/visual-url.cpp
dali-toolkit/internal/visuals/visual-url.h