Make Transform Component dirty as 2 frames, not for true/false 15/312615/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 09:11:58 +0000 (18:11 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 11:54:50 +0000 (20:54 +0900)
commit616b896b696a77b7c0dc544b812959df14c93ab0
treedfc7d135a3d5819dd29255ee942568c28c240fcb
parentdfeb177b66f8179cbe91f371e7fb3cf4c5923447
Make Transform Component dirty as 2 frames, not for true/false

Since ResetToBaseValue for TransfromProperty doesn't use basic
AnimatableProperty logic, the dirty flag is not match with common sence.

To match it as frame-by-frame, let we make component dirty as 2 bit,
and age-down every frame.

And after we allow to use dirty flag feature for transform,
we can determine whether we need to re-calculate matrix or not.

If that flag be used, we can 'skip' heavy matrix multiply operation.

Change-Id: Icf51e0be37962bee5147c08bb0cd3302bf203f89
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/update/common/animatable-property.h
dali/internal/update/manager/transform-manager.cpp
dali/internal/update/manager/transform-manager.h