[NUI] Layout Performance improvement (#3522)
authorhuiyu <35286162+huiyueun@users.noreply.github.com>
Tue, 14 Sep 2021 06:44:52 +0000 (15:44 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 27 Sep 2021 08:27:23 +0000 (17:27 +0900)
commit372cf4e1bb674e9cfdc0baff216e20c967516884
tree090fbcb57340a88bd9bb59519424c4be23e8b015
parentef7037ae5b253b4c3a6a9ef68012aacbe9a6d16a
[NUI] Layout Performance improvement (#3522)

* [NUI] Layout Performance improvement

- Change ItereLayoutChildren()
- Get stored window size

View 1000 items (ms)
 - AbsoluteLayout : 71  -> 32
 - LinearLayout   : 88  -> 71
 - GridLayout     : 73  -> 46
 - FlexLayout     : 90  -> 56
 - RelativeLayout : 103 -> 73

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Update View.cs
src/Tizen.NUI/src/internal/Layouting/GridLocations.cs
src/Tizen.NUI/src/internal/Layouting/LayoutController.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/Layouting/AbsoluteLayout.cs
src/Tizen.NUI/src/public/Layouting/LayoutGroup.cs
src/Tizen.NUI/src/public/Layouting/LinearLayout.cs