[Tizen] Fix rendering occured unlimited if window size changed multiple 14/305214/1 accepted/tizen/7.0/unified/20240130.230253 accepted/tizen/7.0/unified/20240130.230333
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 12 Dec 2023 04:20:11 +0000 (13:20 +0900)
committersunghyun kim <scholb.kim@samsung.com>
Tue, 30 Jan 2024 06:00:42 +0000 (15:00 +0900)
commit3b94b19dce5604b0511f6d57cc3843523fac3060
treee5eecf00dbd9f39a4ac6f4c1926f05a89d045b94
parent318f58f073b2c5712c5c31cbe0313ec13350bca9
[Tizen] Fix rendering occured unlimited if window size changed multiple

To support multi window cases, dali-adaptor count how many times
the window resize event occured.

But in dali-core scene has only bool flag.

So if scene changed multiple times during 1 render time,
surface resized count never be reduced as zero.
So it will keep rendering unlimited.

This patch make we return the number of surface rect changed,
so dali-adaptor can control the scene changed count well.

Change-Id: Ic19ede6ba5095af74ae2db33d37403285cf28a19
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/integration-api/adaptor-framework/scene-holder-impl.cpp
dali/internal/adaptor/common/adaptor-impl.cpp
dali/internal/adaptor/common/adaptor-impl.h
dali/internal/adaptor/common/combined-update-render-controller.cpp
dali/internal/adaptor/common/combined-update-render-controller.h