Implement some cases for ExternalTexture usage 35/315535/12
authorEunki Hong <eunkiki.hong@samsung.com>
Mon, 11 Dec 2023 11:54:50 +0000 (20:54 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 19 Dec 2024 02:16:04 +0000 (11:16 +0900)
commitcd906456cf8fa519128165848b73aaa732420756
treec692c4c7afe93cdb6bc0c3482a22566f3eb8d34d
parent3fa623dd49290dfadd70f2c0564adc729e4d3a43
Implement some cases for ExternalTexture usage

 - Support external texture as input of masking
 - Make already cached masking input for external texture works well
 - Make fail to load masking input for external texture works well
 - Ignore RELOAD action for external texture
 - Allow to support AnimatedImageVisual with ExternalTexture and Buffer
 - Load with external texture create another texture id
 - (Extra) Cache masking image and for AnimatedImageVisual case
 - (Extra) Move external resource reference control codes to VisualUrl

Furthermore, let we make good utility to convert from location to
TextureId at VisualUrl.

TODO : Some UTC crashed after cache sync loaded AnimatedImageVisual result.
We should fix it soon.

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