Reduce convert from std::string to VisualUrl 80/315080/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 24 Jul 2024 12:29:06 +0000 (21:29 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Fri, 26 Jul 2024 00:56:53 +0000 (00:56 +0000)
commit5b9a2f36597557cfc2616a135ca14b0f49e1e16d
treee2402ccf61bb9a28f0b378ac77365e59cc74bb2e
parent1b60d1a8c55e719237cf6880f3cb3aabaaf8ea2f
Reduce convert from std::string to VisualUrl

Whenever we create new VisualUrl from raw-string, it might calculate
the hash, or protocol check one more time.

To avoid this thing, let's make we use VisualUrl where we can use it.

Note : Since ImageUrl can only use std::string itself instead of VisualUrl,
we should make some API to remove external textures by std::string.

Change-Id: I6888f60e6060aae79d7d11dbc7cf0aa4004d4266
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/devel-api/image-loader/texture-manager.cpp
dali-toolkit/internal/image-loader/image-url-impl.cpp
dali-toolkit/internal/texture-manager/texture-async-loading-helper.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.h
dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.cpp
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/svg/svg-loader.cpp
dali-toolkit/internal/visuals/svg/svg-visual.cpp