Fix several bugs for synchronous sizing + Print more debug logs for it 95/315295/3
authorEunki Hong <eunkiki.hong@samsung.com>
Mon, 29 Jul 2024 15:24:14 +0000 (00:24 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 30 Jul 2024 10:27:14 +0000 (19:27 +0900)
commit3f8b364fce74cf5b6a8b756d8606d2de4a207900
tree272d8ce0dffee27baf59934093d4ce9f88ca87ae
parentc89821e2838bdbb35bd287350bc91f42fa22758e
Fix several bugs for synchronous sizing + Print more debug logs for it

- We don't need to 'ignore' the cached size.
- We don't know last rasterized size at immediate loading time
- We don't need to re-load as desired size when visual is scene-on again.
 -> Actually, It will re-load after OnSetTransform(). But anyway,
    it will return cached texture and don't re-load any images.
- Bug fix if mLoadState become NOT_START but mTextures exist.

TODO : Send ResourceReady at OnRelayout callback is not a good idea.
Shouldn't we re-load at Idle, or PostProcess time?

Change-Id: Ia13a03feaf0f3909c75196472cc865b15a6fca2d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/internal/image-loader/loading-task.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.cpp
dali-toolkit/internal/visuals/image/image-visual.cpp