Optimized size negotiation 62/24162/1
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Fri, 13 Jun 2014 10:08:48 +0000 (11:08 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:47:03 +0000 (18:47 +0100)
commit4870ce3c93eb1c86cf19f216195e003f3b578d27
treee91c11612a96a593919a1d15a3b53de846799b98
parentabfd989dd30ab045376e0fbb35f61d7c9bba450c
Optimized size negotiation

1. Remove size negotiation from scrollable things as they are not layout containers (yes, ItemView does not do size negotiations)

2. Make size negotiation containers members of relayout controller so we avoid hundreds of memory allocations per frame

3. Reduce the overhead of size negotiation request by having a static flag instead of hundreds of handle creations and dynamic casts etc

Change-Id: I9f11a45a70b262c0c6a07358350a8203c21fc2ce
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
base/dali-toolkit/internal/controls/relayout-controller-impl.cpp
base/dali-toolkit/internal/controls/relayout-controller-impl.h
base/dali-toolkit/internal/controls/relayout-controller.cpp
base/dali-toolkit/internal/controls/relayout-controller.h
base/dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
base/dali-toolkit/public-api/controls/control-impl.cpp
capi/dali-toolkit/public-api/controls/control-impl.h