Add more condition to avoid recomputations for async text
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 11 Jul 2024 10:38:31 +0000 (19:38 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 11 Jul 2024 10:38:31 +0000 (19:38 +0900)
commit7ec1ce2cc1adc56ee964a72b57ce0cbe6afb268b
tree500f4af7553f8f43bc08b70cc43549cd2a2d4d08
parent9ef0da889dfa52f8e4152cd0cb4c809e76d3e9dd
Add more condition to avoid recomputations for async text

Do not request async render if only the size has changed when manual render is completed.
Users may attempt to change the size inside the completed callback post manual render.
In case of ASYNC_AUTO, this could potentially trigger relayout and engender further computation.
This is needed to avoid recomputations, but it may have some limitations.

Change-Id: I6a54b6c47866f65faaa38ba4280b4f4ced4c637e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp
dali-toolkit/internal/controls/text-controls/text-label-impl.h