[Tizen] Fix rendering occured unlimited if window size changed multiple 13/305213/1 accepted/tizen/7.0/unified/20240130.230250 accepted/tizen/7.0/unified/20240130.230331
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 12 Dec 2023 04:13:19 +0000 (13:13 +0900)
committersunghyun kim <scholb.kim@samsung.com>
Tue, 30 Jan 2024 05:45:06 +0000 (14:45 +0900)
commit1e1e7f8cfd444b96ee5605daa2625a6f9212f76f
treea6fbd64e6c5869715b13316ff50399a37d459236
parent81749feb1f45ac925d89ef7935d41116651d37ee
[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: I35d0bcef3ff33c67f106b276848a2b5a26ccc67c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-Scene.cpp
dali/integration-api/scene.cpp
dali/integration-api/scene.h
dali/internal/event/common/scene-impl.cpp
dali/internal/event/common/scene-impl.h
dali/internal/update/common/scene-graph-scene.cpp
dali/internal/update/common/scene-graph-scene.h