Fix rendering occured unlimited if window size changed multiple 81/302681/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 12 Dec 2023 04:13:19 +0000 (13:13 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Thu, 14 Dec 2023 03:52:46 +0000 (03:52 +0000)
commitf47591e8f537b953c5c2de08d100633d22ef5faa
treec99f28f34503efa55cf39fae6aff3db63fbbf419
parentfbb38b38dab6fab332cdd27297bdca505605207d
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