[Tizen] Make Transform Component dirty as 2 frames, not for true/false 72/313172/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 09:11:58 +0000 (18:11 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 20 Jun 2024 00:08:38 +0000 (09:08 +0900)
commitefbe662ae855aaa73704fcf04c5e10593e4fc5ea
treea1e02f9d0ad9504144025f949a722da6df8512c2
parent8489e237e43abdd68ef4ac4518f70a2f6969ec91
[Tizen] 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