Call ResetToBaseValue only 1 times per PropertyBase 60/312360/4
authorEunki Hong <eunkiki.hong@samsung.com>
Fri, 7 Jun 2024 08:26:06 +0000 (17:26 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 01:30:26 +0000 (10:30 +0900)
commit334de97ccfba0df3862f482577260aaba1a74772
tree60071f759268eeea00e622255ca47f82096c2795
parent081d1066533a63bbeb509fd529969d55bc99fb48
Call ResetToBaseValue only 1 times per PropertyBase

If multiple animation try to change single property, the dirty flag
of PropertyBase would not be works well.

To ensure the dirty flag, let we collect resetter required properties
into single container, and call ResetToBaseValue only one times.

It will ensure that we call the resetter only 1 times per 1 frame.

Change-Id: I1a3792993f2ef681399f72f6f1718731408f2128
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 files changed:
dali/internal/update/common/node-resetter.h
dali/internal/update/common/property-base.cpp
dali/internal/update/common/property-base.h
dali/internal/update/common/property-resetter.h
dali/internal/update/common/renderer-resetter.h
dali/internal/update/common/resetter-manager.h
dali/internal/update/manager/resetter-container.h
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h
dali/internal/update/rendering/scene-graph-renderer.cpp
dali/internal/update/rendering/scene-graph-renderer.h
dali/internal/update/rendering/scene-graph-visual-renderer.cpp
dali/internal/update/rendering/scene-graph-visual-renderer.h