platform/core/uifw/dali-core.git
3 weeks agoMerge branch 'devel/master' into tizen
jmm [Tue, 2 Jul 2024 06:04:39 +0000 (15:04 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I8f97fb8e543ba80588b92b310b5f1007443c8822

3 weeks agoRevert "[Tizen] Not execute the remove callback"
jmm [Tue, 2 Jul 2024 06:04:19 +0000 (15:04 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit a3ff3117bdbecea900281c5e7f77aee69b495deb.

3 weeks agoRevert "[Tizen] Support asan build option"
jmm [Tue, 2 Jul 2024 06:04:10 +0000 (15:04 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit d5c5f5fd58135117de04effb9fc2a63793468b24.

3 weeks agoRevert "[Tizen] Revert "Support for recognizing legacy shaders."
jmm [Tue, 2 Jul 2024 06:04:05 +0000 (15:04 +0900)]
Revert "[Tizen] Revert "Support for recognizing legacy shaders."

This reverts commit 811b56d358f5c0fee0dfc4e397245a22ac0d9e05.

3 weeks agoRevert "[Tizen] Support for recognizing legacy shaders."
jmm [Tue, 2 Jul 2024 06:04:01 +0000 (15:04 +0900)]
Revert "[Tizen] Support for recognizing legacy shaders."

This reverts commit 189080ee44286147cc50bf32e5b648329a01c8ee.

3 weeks agoFix coverity issue : Uninitialized value at HitTestResult + PanGestureDetector SG... 87/313787/3
Eunki, Hong [Tue, 2 Jul 2024 03:35:07 +0000 (12:35 +0900)]
Fix coverity issue : Uninitialized value at HitTestResult + PanGestureDetector SG delete

Since PanGestureDetector use SG::PanGesture, which the memory ownership is on UpdateManager,
we need to take carefully to control the memory usage.

Change-Id: I7c2929c97b57e6e14072e0598bcd1788aa43af98
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 weeks agoMerge "Added element stride to the UniformInfo" into devel/master
David Steele [Fri, 28 Jun 2024 14:36:30 +0000 (14:36 +0000)]
Merge "Added element stride to the UniformInfo" into devel/master

4 weeks agoDALi Version 2.3.30 24/313624/1 dali_2.3.30
Richard Huang [Fri, 28 Jun 2024 10:10:21 +0000 (11:10 +0100)]
DALi Version 2.3.30

Change-Id: I4ac6554c928cb7a90cea3574308c40634476147d

4 weeks agoAdded element stride to the UniformInfo 03/313403/5
Adam Bialogonski [Tue, 25 Jun 2024 11:27:33 +0000 (12:27 +0100)]
Added element stride to the UniformInfo

Added element stride to the UniformInfo when uniform is an array.

Change-Id: Ib006d0ce50589b2ef5cf1a5bd1e6b3ab7fe9ec45

4 weeks ago[Tizen] Support for recognizing legacy shaders. accepted/tizen/unified/20240627.103705 accepted/tizen/unified/dev/20240701.072922 accepted/tizen/unified/x/20240628.014028
Wonsik Jung [Wed, 26 Jun 2024 07:33:29 +0000 (16:33 +0900)]
[Tizen] Support for recognizing legacy shaders.

This reverts commit f5f078a65f0774b37ddc4016b8346e938da147e6.

4 weeks ago[Tizen] Revert "Support for recognizing legacy shaders.
Wonsik Jung [Wed, 26 Jun 2024 07:32:53 +0000 (16:32 +0900)]
[Tizen] Revert "Support for recognizing legacy shaders.

This reverts commit 214b4585828de1407338120f9092ab2eeba7127a.

4 weeks ago[Tizen] Support asan build option
Wonsik Jung [Wed, 26 Jun 2024 07:32:26 +0000 (16:32 +0900)]
[Tizen] Support asan build option

This reverts commit 2125a3222d85de54e886c3af4e58240ab7637cb5.

4 weeks ago[Tizen] Not execute the remove callback
Wonsik Jung [Wed, 26 Jun 2024 07:31:57 +0000 (16:31 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 77e6246ceb65060ed78826ad1911f511a912e680.

4 weeks agoMerge branch 'devel/master' into tizen
Wonsik Jung [Wed, 26 Jun 2024 07:31:40 +0000 (16:31 +0900)]
Merge branch 'devel/master' into tizen

4 weeks agoRevert "[Tizen] Not execute the remove callback"
Wonsik Jung [Wed, 26 Jun 2024 07:31:27 +0000 (16:31 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit d9ae6b8937309617361a08e54b57bcad3f45dcae.

4 weeks agoRevert "[Tizen] Support asan build option"
Wonsik Jung [Wed, 26 Jun 2024 07:31:25 +0000 (16:31 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit ede0132cd8b6afa31ea5c5cc834ed509c30184cc.

4 weeks agoRevert "[Tizen] Revert "Support for recognizing legacy shaders."
Wonsik Jung [Wed, 26 Jun 2024 07:31:21 +0000 (16:31 +0900)]
Revert "[Tizen] Revert "Support for recognizing legacy shaders."

This reverts commit 85c6d4287e77b74228339d8aa35926822a898b06.

4 weeks agoRevert "[Tizen] Support for recognizing legacy shaders."
Wonsik Jung [Wed, 26 Jun 2024 07:31:17 +0000 (16:31 +0900)]
Revert "[Tizen] Support for recognizing legacy shaders."

This reverts commit 8bbbc1944fe973408d0accacec9a571e6bb7cbf5.

4 weeks agoMerge "Add TouchPropagationType enum. PARENT events are propagated to parents in...
joogab yun [Tue, 25 Jun 2024 07:15:28 +0000 (07:15 +0000)]
Merge "Add TouchPropagationType enum. PARENT events are propagated to parents in the traditional way. GEOMETRY is a new way in which events are propagated based on geometry." into devel/master

4 weeks agoAdd TouchPropagationType enum. 65/313365/3
joogab.yun [Tue, 25 Jun 2024 01:24:26 +0000 (10:24 +0900)]
Add TouchPropagationType enum.
PARENT events are propagated to parents in the traditional way.
GEOMETRY is a new way in which events are propagated based on geometry.

Change-Id: I3a717d5433e73f22e835ed3e6cd384a337160688

4 weeks agoMerge changes I576e6929,Ib8bae68c into devel/master
Eunki Hong [Mon, 24 Jun 2024 02:09:50 +0000 (02:09 +0000)]
Merge changes I576e6929,Ib8bae68c into devel/master

* changes:
  Mark dirty flag into SG::Renderer directly if visual property changed
  Remove static_cast when we try to get decorated visual properties

5 weeks agoDALi Version 2.3.29 84/313284/1 dali_2.3.29
David Steele [Fri, 21 Jun 2024 11:28:01 +0000 (12:28 +0100)]
DALi Version 2.3.29

Change-Id: I130c77353c8488d8d62b02bbbff076bd016acdb5

5 weeks agoMark dirty flag into SG::Renderer directly if visual property changed 05/313205/4
Eunki, Hong [Thu, 20 Jun 2024 05:29:47 +0000 (14:29 +0900)]
Mark dirty flag into SG::Renderer directly if visual property changed

Since age-down the visual property every frames make performance down,
let we update VisualRenderer's property send updated flag into SG::Renderer directly.

Now it will reduce some useless call of PrepareProperties of visual renderer.

Change-Id: I576e6929fca6945379b72988b4f3633e2ad70e22
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 weeks agoRemove static_cast when we try to get decorated visual properties 94/313194/3
Eunki, Hong [Thu, 20 Jun 2024 04:35:07 +0000 (13:35 +0900)]
Remove static_cast when we try to get decorated visual properties

Since we don't have any plan to add extra data for VisualRenderer now,
let we specify the class of Extension of VisualRenderer, instead of void*

Change-Id: Ib8bae68c58082c93fb9a7dbe673c589f3b523766
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 weeks agoMerge "If Hittable is false, actor should not receive events except INTERRUPTED"...
joogab yun [Thu, 20 Jun 2024 05:02:42 +0000 (05:02 +0000)]
Merge "If Hittable is false, actor should not receive events except INTERRUPTED" into devel/master

5 weeks agoMerge "For Frame Event" into devel/master
joogab yun [Thu, 20 Jun 2024 01:52:41 +0000 (01:52 +0000)]
Merge "For Frame Event" into devel/master

5 weeks agoIf Hittable is false, actor should not receive events except INTERRUPTED 75/313175/2
joogab.yun [Thu, 20 Jun 2024 01:02:48 +0000 (10:02 +0900)]
If Hittable is false, actor should not receive events except INTERRUPTED

Change-Id: I6f782f0e3021ea1d3bcc8a9ce630956bd2128fda

5 weeks agoCall OnBake(), OnSet only if the value is really changed 49/313149/1
Eunki, Hong [Wed, 19 Jun 2024 09:57:05 +0000 (18:57 +0900)]
Call OnBake(), OnSet only if the value is really changed

Let we check the current value and inputed value, so if they are same, ignore.

It will be useful when we don't want to mark dirty for animatable property doesn't changed.

For performance issue, let we just check only for bool / int / float.

TODO : Chould we check them also at Vector2,3,4?

Change-Id: I70b36eab97585a09c2c021da4f37a1d983a771af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 weeks ago[Tizen] Support for recognizing legacy shaders. accepted/tizen_unified_toolchain accepted/tizen_unified_x_asan accepted/tizen/unified/20240619.151925 accepted/tizen/unified/toolchain/20240624.121629 accepted/tizen/unified/x/20240620.061559 accepted/tizen/unified/x/asan/20240625.092800
jykeon [Tue, 18 Jun 2024 07:50:06 +0000 (16:50 +0900)]
[Tizen] Support for recognizing legacy shaders.

This reverts commit 2c7991716b7f84bd8131ff17168f9899878cde70.

5 weeks agoMerge "If USER_INTERACTION_ENABLED is false, actor should not receive events." into...
joogab yun [Tue, 18 Jun 2024 07:47:36 +0000 (07:47 +0000)]
Merge "If USER_INTERACTION_ENABLED is false, actor should not receive events." into devel/master

5 weeks agoMerge "A new gesture recognition method. 1. Add HandleEvent(actor, touch) api at...
joogab yun [Tue, 18 Jun 2024 07:33:01 +0000 (07:33 +0000)]
Merge "A new gesture recognition method. 1. Add HandleEvent(actor, touch) api at GestureDetector    This is an API that recognizes gestures by passing the actor for which the gesture should be recognized and the touch event to GestureDetector.    You can use it in the touch event callback. This should be used with SetGeometryHittestEnabled(true). 2. To support multi-gesture, we hit-test each multi-touch" into devel/master

5 weeks agoMerge "Reverts the previously implemented FeedTouch. The new Logic FeedTouch is comin...
joogab yun [Tue, 18 Jun 2024 07:32:41 +0000 (07:32 +0000)]
Merge "Reverts the previously implemented FeedTouch. The new Logic FeedTouch is coming soon." into devel/master

5 weeks ago[Tizen] Revert "Support for recognizing legacy shaders.
jykeon [Tue, 18 Jun 2024 06:59:10 +0000 (15:59 +0900)]
[Tizen] Revert "Support for recognizing legacy shaders.

This reverts commit b7d8a62f303186e5737267832b561dd1de20c298.

5 weeks ago[Tizen] Support asan build option
jykeon [Tue, 18 Jun 2024 06:57:30 +0000 (15:57 +0900)]
[Tizen] Support asan build option

This reverts commit 93a2618af3259604293124f72db76781f655c2ca.

5 weeks ago[Tizen] Not execute the remove callback
jykeon [Tue, 18 Jun 2024 06:56:27 +0000 (15:56 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 1072d412d5d313412809e853f221ad0a5a122ebf.

5 weeks agoMerge branch 'devel/master' into tizen
jykeon [Tue, 18 Jun 2024 06:51:58 +0000 (15:51 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I367ef4ec12d35030aaedbf0550ac97bf44b8e057

5 weeks agoRevert "[Tizen] Not execute the remove callback"
jykeon [Tue, 18 Jun 2024 06:51:38 +0000 (15:51 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit ddc64ee374268c04f314189d5c45b1feee97a92c.

5 weeks agoRevert "[Tizen] Support asan build option"
jykeon [Tue, 18 Jun 2024 06:51:31 +0000 (15:51 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit 5410a6ac04c014f1676c62fd2ca05dd7d0d570e0.

5 weeks agoRevert "[Tizen] Revert "Support for recognizing legacy shaders.""
jykeon [Tue, 18 Jun 2024 06:51:27 +0000 (15:51 +0900)]
Revert "[Tizen] Revert "Support for recognizing legacy shaders.""

This reverts commit a6078655a74f289dd2497bec6b0dfc582cb5130e.

5 weeks agoRevert "[Tizen] Fix for GCC14"
jykeon [Tue, 18 Jun 2024 06:51:03 +0000 (15:51 +0900)]
Revert "[Tizen] Fix for GCC14"

This reverts commit 61ff81a0eeb34fdf0d6740271f17d0603858786f.

5 weeks agoRevert "[Tizen] Support for recognizing legacy shaders."
jykeon [Tue, 18 Jun 2024 06:50:57 +0000 (15:50 +0900)]
Revert "[Tizen] Support for recognizing legacy shaders."

This reverts commit 41f3d5f5f98ba14d05623ca27aa90af06cee3356.

5 weeks agoRevert "[Tizen] Fix Animation with EndAction::DISCARD dont reset properties."
jykeon [Tue, 18 Jun 2024 06:50:48 +0000 (15:50 +0900)]
Revert "[Tizen] Fix Animation with EndAction::DISCARD dont reset properties."

This reverts commit 996004bad5ddd1e4454a8066e7286a6b8f25a7a9.

5 weeks agoRevert "[Tizen] Fix partial update issue after VisualRenderer patch applied"
jykeon [Tue, 18 Jun 2024 06:50:24 +0000 (15:50 +0900)]
Revert "[Tizen] Fix partial update issue after VisualRenderer patch applied"

This reverts commit cbb873b5bc7a844d7448f4e9b563e52afa64b4c5.

5 weeks agoFor Frame Event 04/311804/9
joogab.yun [Tue, 28 May 2024 07:12:24 +0000 (16:12 +0900)]
For Frame Event

When processing multiple multi-touches, they are grouped and processed. Add handledMultiTouch condition for grouping.

Change-Id: I9870485f03c0ef16f7ba7231f47d5bd3e8bc1f84

5 weeks agoMerge "Make Transform Component dirty as 2 frames, not for true/false" into devel...
Eunki Hong [Mon, 17 Jun 2024 05:52:25 +0000 (05:52 +0000)]
Merge "Make Transform Component dirty as 2 frames, not for true/false" into devel/master

6 weeks agoDALi Version 2.3.28 01/312801/1 dali_2.3.28
Adam Bialogonski [Fri, 14 Jun 2024 08:32:14 +0000 (09:32 +0100)]
DALi Version 2.3.28

Change-Id: I6208c856efbdcce2f56dc53d8745062c3c012f94

6 weeks agoIf USER_INTERACTION_ENABLED is false, actor should not receive events. 18/312718/1
joogab.yun [Thu, 13 Jun 2024 09:07:11 +0000 (18:07 +0900)]
If USER_INTERACTION_ENABLED is false, actor should not receive events.

Change-Id: I21ca9b8587dfecf7412d6dff736f0bbcbc9b8bed

6 weeks agoRemove old pan gesture history when guesture started. 89/312689/1
Eunki, Hong [Thu, 13 Jun 2024 05:02:29 +0000 (14:02 +0900)]
Remove old pan gesture history when guesture started.

Change-Id: I2cec5ea23b801c5dc6e7ac2e0fd0da0c780c42c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks agoA new gesture recognition method. 69/309669/84
joogab.yun [Mon, 15 Apr 2024 07:02:41 +0000 (16:02 +0900)]
A new gesture recognition method.
1. Add HandleEvent(actor, touch) api at GestureDetector
   This is an API that recognizes gestures by passing the actor for which the gesture should be recognized and the touch event to GestureDetector.
   You can use it in the touch event callback. This should be used with SetGeometryHittestEnabled(true).
2. To support multi-gesture, we hit-test each multi-touch

Change-Id: I6ea2d42fe54d1ebd7ce8a1844f91434765f9b478

6 weeks ago[Tizen] Fix partial update issue after VisualRenderer patch applied 51/312651/1 accepted/tizen/unified/20240614.010828 accepted/tizen/unified/dev/20240620.005934 accepted/tizen/unified/x/20240614.080600
Eunki, Hong [Wed, 12 Jun 2024 13:18:42 +0000 (22:18 +0900)]
[Tizen] Fix partial update issue after VisualRenderer patch applied

Change-Id: I0df716d6a4607ada01119c67f77f127a70566ab2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks agoFix partial update issue after VisualRenderer patch applied 47/312647/1
Eunki, Hong [Wed, 12 Jun 2024 13:18:42 +0000 (22:18 +0900)]
Fix partial update issue after VisualRenderer patch applied

Change-Id: I0df716d6a4607ada01119c67f77f127a70566ab2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks agoMake Transform Component dirty as 2 frames, not for true/false 15/312615/4
Eunki, Hong [Wed, 12 Jun 2024 09:11:58 +0000 (18:11 +0900)]
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>
6 weeks agoReverts the previously implemented FeedTouch. The new Logic FeedTouch is coming soon. 63/309663/16
joogab.yun [Mon, 15 Apr 2024 05:52:37 +0000 (14:52 +0900)]
Reverts the previously implemented FeedTouch. The new Logic FeedTouch is coming soon.

Revert "1. Fixes a bug where events do not occur when longPressGestures overlap. This is when using gestures with FeedTouch."

This reverts commit b0516efeefaff68139bee29a7317eccd3729adbb.

Revert "actorCoordinates were missing from TapGesture when FeedTouch was used"

This reverts commit 9e32a10a253c53d66ec41fe915d6d378bf2d8aa4.

Revert "Touch and Hover event propagrated by geometry way.(5)"

This reverts commit c1ead670ee0d10718449be889b6bdacf98d93a60.

Revert "Add FeedTouch api to GestureDetector."

This reverts commit 54e52fd9d4556e19b2e97082b057ad886952e55e.

Change-Id: Iffe838047df670006ad23f7c5d46eb7f938cd16c

6 weeks agoMerge "Fix for GCC14" into devel/master
Seungho BAEK [Wed, 12 Jun 2024 04:56:04 +0000 (04:56 +0000)]
Merge "Fix for GCC14" into devel/master

6 weeks agoCall ResetToBaseValue only 1 times per PropertyBase 60/312360/4
Eunki Hong [Fri, 7 Jun 2024 08:26:06 +0000 (17:26 +0900)]
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>
6 weeks ago[Tizen] Fix Animation with EndAction::DISCARD dont reset properties. 31/312531/1
Eunki, Hong [Tue, 4 Jun 2024 12:38:38 +0000 (21:38 +0900)]
[Tizen] Fix Animation with EndAction::DISCARD dont reset properties.

If Animation::EndAction::DISCARD finisehd normally cases,
The mDirtyFlag was not matched with real world

For example

ResetToBaseValue[0](mDirtyFlag become 1)
Animate and finished (mValue[0] changed.)
(update)
ResetToBaseValue[1](mDirtyFlag become 0)
(update)
(ResetToBaseValue did not called. So mValue[0] is last frame value)
(update)
(ResetToBaseValue did not called. So mValue[1] is BaseValue)

Now, mValue become flickering.

To avoid this problem, let we call ResetToBaseValue at least 2 frames
if finished animation's EndAction is DISCARD.
(Note that we don't consider Stop() call cases, since Stop() will not Animate
Animator, so mValue[0] is BaseValue)

And also, There was some issue that visual renderer property changeness not updated to
the dirty rect infomation.
(Since SG::Renderer don't be mark as updated)

To fix this issue, let we ensure to check the visual renderer property dirty.

And also, for apply Animation::EndAction::DISCARD case,
Let we make visual renderer coefficient use double buffered flags,
and age down every frames.

TODO : UpdateManager need to ResetBaseValue at least 2 frames
if Finished animation is EndAction::DISCARD.

This will need update manager side fix. So just keep this bug and fix as another patch.

Change-Id: Ibf654f723e1f986843cda620bc741b1121ee95d7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks ago[Tizen] Support for recognizing legacy shaders.
Eunki, Hong [Tue, 11 Jun 2024 07:55:55 +0000 (16:55 +0900)]
[Tizen] Support for recognizing legacy shaders.

This reverts commit a6078655a74f289dd2497bec6b0dfc582cb5130e.

Change-Id: I6f67507c22224fb86b087c2cabed664b693bf733

6 weeks ago[Tizen] Fix for GCC14
Hosang Kim [Tue, 11 Jun 2024 07:45:35 +0000 (16:45 +0900)]
[Tizen] Fix for GCC14

This reverts commit 578445a33e3a6e97bbebc666accf69b84bf3bfae.

6 weeks ago[Tizen] Revert "Support for recognizing legacy shaders."
Hosang Kim [Tue, 11 Jun 2024 07:45:20 +0000 (16:45 +0900)]
[Tizen] Revert "Support for recognizing legacy shaders."

This reverts commit 0b57c9a8192c9d31fe28a25bb577ff9ba9761424.

6 weeks ago[Tizen] Support asan build option
Hosang Kim [Tue, 11 Jun 2024 07:43:23 +0000 (16:43 +0900)]
[Tizen] Support asan build option

This reverts commit 1aaeea4580ef4cdde0fa755cc5ca4b6b7a2eaa19.

6 weeks ago[Tizen] Not execute the remove callback
Hosang Kim [Tue, 11 Jun 2024 07:43:07 +0000 (16:43 +0900)]
[Tizen] Not execute the remove callback

This reverts commit e17af4d1ca59c0822b4a6dbe63a7f5200a69b74c.

6 weeks agoMerge branch 'devel/master' into tizen
Hosang Kim [Tue, 11 Jun 2024 06:47:44 +0000 (15:47 +0900)]
Merge branch 'devel/master' into tizen

6 weeks agoRevert "[Tizen] Not execute the remove callback"
Hosang Kim [Tue, 11 Jun 2024 06:47:41 +0000 (15:47 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit befd495189e7037e9dad52053333db39596a6006.

6 weeks agoRevert "[Tizen] Support asan build option"
Hosang Kim [Tue, 11 Jun 2024 06:47:33 +0000 (15:47 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit 5eb75d25e2620ff9efbb8ed5af3d7a45da0f0fd5.

6 weeks agoRevert "[Tizen] Add initialization of StopperNode"
Hosang Kim [Tue, 11 Jun 2024 06:47:23 +0000 (15:47 +0900)]
Revert "[Tizen] Add initialization of StopperNode"

This reverts commit 1df1b6906169f5d72b78142c976170362827b3b3.

6 weeks agoRevert "[Tizen] Revert "Support for recognizing legacy shaders.""
Hosang Kim [Tue, 11 Jun 2024 06:47:07 +0000 (15:47 +0900)]
Revert "[Tizen] Revert "Support for recognizing legacy shaders.""

This reverts commit 9441e0d2ff14f0c89b91340304166a73f6087465.

6 weeks agoRevert "[Tizen] Fix for GCC14"
Hosang Kim [Tue, 11 Jun 2024 06:46:59 +0000 (15:46 +0900)]
Revert "[Tizen] Fix for GCC14"

This reverts commit 12c0494f08b4b53807ec1a7e3b7ffc85ecb33600.

6 weeks agoFix for GCC14 62/312462/2
Seungho Baek [Mon, 10 Jun 2024 09:06:51 +0000 (18:06 +0900)]
Fix for GCC14

Change-Id: I3a0528f8c6752e2f042a5cf6bfa11b66d875b22a
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
6 weeks ago[Tizen] Fix for GCC14 56/312456/1 accepted/tizen/unified/20240611.123654 accepted/tizen/unified/toolchain/20240610.173311 accepted/tizen/unified/x/20240610.223842
Seungho Baek [Mon, 10 Jun 2024 09:06:51 +0000 (18:06 +0900)]
[Tizen] Fix for GCC14

Change-Id: I3a0528f8c6752e2f042a5cf6bfa11b66d875b22a
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
6 weeks agoFix Animation with EndAction::DISCARD dont reset properties. 43/312143/7
Eunki, Hong [Tue, 4 Jun 2024 12:38:38 +0000 (21:38 +0900)]
Fix Animation with EndAction::DISCARD dont reset properties.

If Animation::EndAction::DISCARD finisehd normally cases,
The mDirtyFlag was not matched with real world

For example

ResetToBaseValue[0](mDirtyFlag become 1)
Animate and finished (mValue[0] changed.)
(update)
ResetToBaseValue[1](mDirtyFlag become 0)
(update)
(ResetToBaseValue did not called. So mValue[0] is last frame value)
(update)
(ResetToBaseValue did not called. So mValue[1] is BaseValue)

Now, mValue become flickering.

To avoid this problem, let we call ResetToBaseValue at least 2 frames
if finished animation's EndAction is DISCARD.
(Note that we don't consider Stop() call cases, since Stop() will not Animate
Animator, so mValue[0] is BaseValue)

And also, There was some issue that visual renderer property changeness not updated to
the dirty rect infomation.
(Since SG::Renderer don't be mark as updated)

To fix this issue, let we ensure to check the visual renderer property dirty.

And also, for apply Animation::EndAction::DISCARD case,
Let we make visual renderer coefficient use double buffered flags,
and age down every frames.

TODO : UpdateManager need to ResetBaseValue at least 2 frames
if Finished animation is EndAction::DISCARD.

This will need update manager side fix. So just keep this bug and fix as another patch.

Change-Id: Ibf654f723e1f986843cda620bc741b1121ee95d7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks agoMake InternalState for animation. So ensure Stop() Play() make the playstate is Playing 79/312079/4
Eunki, Hong [Tue, 4 Jun 2024 02:26:51 +0000 (11:26 +0900)]
Make InternalState for animation. So ensure Stop() Play() make the playstate is Playing

Since there is no way to determine that Animation::HasFinished() function called
due to we call Stop() API, or Animation finished normally.

To seperate the state, let we make new internal state
: STOPPING, PLAYING_DURING_STOPPING, PAUSED_DURING_STOPPING

STOPPING will be changed as STOPPED after Animation::HasFinished() function called.

And also, make CLEARED state so we can easly control Clear() function call.

Change-Id: I2acccfaaa034dd1edc956e4a23b0726b5d1b65e7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 weeks agoDALi Version 2.3.27 79/312379/1 dali_2.3.27
Adeel Kazmi [Fri, 7 Jun 2024 17:25:58 +0000 (18:25 +0100)]
DALi Version 2.3.27

Change-Id: Icdbaecd822027f41547003ee98b716227d07306d

7 weeks agoEnsure cleared animation not emit finished signal during finished signal emit 21/312021/1
Eunki, Hong [Mon, 3 Jun 2024 01:51:16 +0000 (10:51 +0900)]
Ensure cleared animation not emit finished signal during finished signal emit

Since we collect all finished animations and emit after,
It is possible that finisehd signal emitted what we should not
(e.g. Animation::Clear() called during another animation's finished signal)

To avoid it, let we ensure to check whether given animation is ignored or not.

Change-Id: I681c2c8e0f1624e0846409eb862862e5392ab7ec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 weeks agoMerge "Ignore AnimationFinishedCallback when we call Animation::Clear() hard + Resolv...
Eunki Hong [Mon, 3 Jun 2024 01:35:17 +0000 (01:35 +0000)]
Merge "Ignore AnimationFinishedCallback when we call Animation::Clear() hard + Resolve bug when we call Play multiple times" into devel/master

8 weeks agoDALi Version 2.3.26 86/311986/1 dali_2.3.26
Adeel Kazmi [Fri, 31 May 2024 10:45:04 +0000 (11:45 +0100)]
DALi Version 2.3.26

Change-Id: I8aa7325ed7b1a0ea7980c47e6c9f062db0c3060b

8 weeks agoIgnore AnimationFinishedCallback when we call Animation::Clear() hard + Resolve bug... 25/311925/3
Eunki, Hong [Thu, 30 May 2024 11:18:50 +0000 (20:18 +0900)]
Ignore AnimationFinishedCallback when we call Animation::Clear() hard + Resolve bug when we call Play multiple times

There was several bugs at AnimationPlayList.

1. Core::ProcessCoreEvents sequence is like this :
     SceneEvent -> NotificationManager -> Relayout -> Flush.
   If we call Animation::Clear() at SceneEvent timing, Notfication will send animation finished signal
   what we must not send.

   To avoid this system, let we store the cleared animations at AnimationPlayList.

   Since AnimationFinished callback required at least 1 frame times after flush,
   we can ignore whole notify events before Flush done.

2. Scene mPlayList keep the reference of Animation whenever we call Play, there
   were several problems. For example, If we call Play() 2 times and Clear(),
   that Dali::Animation never be removed.

Change-Id: Ie9d5298311b9e5318fecad21b1124c896fcf3a8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks agoRemove render once trace log 91/311891/1
Eunki, Hong [Thu, 30 May 2024 04:18:09 +0000 (13:18 +0900)]
Remove render once trace log

Since it print too much logs, let we remove it

Change-Id: I8987d8fe6b184938780f268f0349702456dd0433
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks agoMerge "Add FittingMode for visual fittingMode" into devel/master
sunghyun kim [Wed, 29 May 2024 03:59:11 +0000 (03:59 +0000)]
Merge "Add FittingMode for visual fittingMode" into devel/master

8 weeks agoMerge "Apply RenderUntil() on sorted RenderList" into devel/master
Jeongmin Lee [Tue, 28 May 2024 14:32:29 +0000 (14:32 +0000)]
Merge "Apply RenderUntil() on sorted RenderList" into devel/master

8 weeks agoApply RenderUntil() on sorted RenderList 66/311366/14
jmm [Fri, 19 Apr 2024 11:55:52 +0000 (20:55 +0900)]
Apply RenderUntil() on sorted RenderList

Change-Id: I64a3b567984494d1f284095d68e44b7e318a04d5

8 weeks agoImplement ProcessorOnce 95/311795/2
Eunki, Hong [Tue, 28 May 2024 04:06:18 +0000 (13:06 +0900)]
Implement ProcessorOnce

Since unregister processor during Process will give overhead,
we'd better make another container to process only once time
during ProcessCoreEvent.

Change-Id: I0b38490ccdbd7da4f7ec1acf80253a1aee8c42ad
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks agoOptimize Add/Remove SG::RenderTask from SG::RenderTaskList 04/308204/3
Eunki Hong [Tue, 19 Mar 2024 14:28:22 +0000 (23:28 +0900)]
Optimize Add/Remove SG::RenderTask from SG::RenderTaskList

Let we make render task list use OrderedSet instead of vector container.

Vector container is slow if we call RemoveRenderTask.

TODO : Optimize event side render task list too.
But since it is quite complex, we'd better optimize that points
in another patch

Change-Id: Icd6f2e7a24964eb05c92fa9a5ce0e306814445ee
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months agoDALi Version 2.3.25 18/311718/1 dali_2.3.25
Richard Huang [Fri, 24 May 2024 11:32:58 +0000 (12:32 +0100)]
DALi Version 2.3.25

Change-Id: Ib32a2c7cb1d61bff3955047cb03be7142d14693f

2 months agoControl core policy as one flag 71/311671/1
Eunki, Hong [Thu, 23 May 2024 08:27:59 +0000 (17:27 +0900)]
Control core policy as one flag

Let we collect core creation status, instead of parameter increasement.

It will be useful when we add more features of Core.

Change-Id: I746bdb714eac5dcbd792a1a33a93abd2b96fe4cb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoPerformance trace for some bottleneck of update/render manager 48/311648/3
Eunki, Hong [Thu, 23 May 2024 05:13:06 +0000 (14:13 +0900)]
Performance trace for some bottleneck of update/render manager

Let we check trace the top 5 area of update : update itself / animation /
frame update callback / update renderer / transform
and top 2 area of render : render instruction process / flush

TODO : Since the name of environment need to be sync with peformance
trace tool, we'd better change it after the system prepared.

Change-Id: I4a9e38b6b957508138737ee225c0cfa9ad94a8f9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoMerge changes Ib3f51bd8,Ibfbeca64 into devel/master
Eunki Hong [Thu, 23 May 2024 06:20:51 +0000 (06:20 +0000)]
Merge changes Ib3f51bd8,Ibfbeca64 into devel/master

* changes:
  Pint log if animation play / stop / pause / clear / destroy
  Print top5 longest time spend AnimationFinished & FrameUpdate callbacks

2 months agoPint log if animation play / stop / pause / clear / destroy 46/311646/1
Eunki, Hong [Thu, 23 May 2024 04:53:40 +0000 (13:53 +0900)]
Pint log if animation play / stop / pause / clear / destroy

Let we know the animation's state by id, if user want to know.

Change-Id: Ib3f51bd8035ae6958f37f2340b1dbbe10cfaf029
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoPrint top5 longest time spend AnimationFinished & FrameUpdate callbacks 43/311643/1
Eunki, Hong [Tue, 20 Feb 2024 04:55:34 +0000 (13:55 +0900)]
Print top5 longest time spend AnimationFinished & FrameUpdate callbacks

Very rarely, we got some report from performance team that
"DALI_NOTIFICATION_NOTIFY_COMPLETED" and "DALI_FRAME_CALLBACK_UPDATE" is bottleneck.

To escape the false accusation, let we collect the App side callback
execute time and print it.

This time checker already merged at tizen_8.0 branch.

Change-Id: Ibfbeca6440f1b9c46ebb2f71200139de611a2b4a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoEven when multi-touching, the captured actor is used without a hittest every time. 87/311487/5
joogab.yun [Wed, 22 May 2024 05:07:38 +0000 (14:07 +0900)]
Even when multi-touching, the captured actor is used without a hittest every time.

Change-Id: Ib934b4b5626747a9ed7036d7489f82c94e7b4b16

2 months agoMerge "Remove an unneccessary argument at Process()" into devel/master
Jeongmin Lee [Tue, 21 May 2024 04:49:53 +0000 (04:49 +0000)]
Merge "Remove an unneccessary argument at Process()" into devel/master

2 months agoRemove an unneccessary argument at Process() 70/311370/1
jmm [Mon, 20 May 2024 07:05:36 +0000 (16:05 +0900)]
Remove an unneccessary argument at Process()

Change-Id: I62c8ab7fe11b28c67fa3fe5e277142d969af8698

2 months agoAdd FittingMode for visual fittingMode 29/311429/1
sunghyun kim [Mon, 20 May 2024 06:15:05 +0000 (15:15 +0900)]
Add FittingMode for visual fittingMode

Add new type for visual fittingMode

Change-Id: I17cb51564117a1c0426052dac547d0beb944e1c2

2 months ago[Tizen] Revert "Support for recognizing legacy shaders." 64/311364/1 accepted/tizen/unified/20240520.131902 accepted/tizen/unified/x/20240521.022232
Eunki, Hong [Mon, 20 May 2024 05:31:59 +0000 (14:31 +0900)]
[Tizen] Revert "Support for recognizing legacy shaders."

This reverts commit 45d64aa2c47f7c9a0a8a9a411ddf2924f7404e85.

Change-Id: I5a712a32733f010e31538886534b019872089fa3

2 months ago[Tizen] Add initialization of StopperNode
Eunki, Hong [Mon, 20 May 2024 05:14:52 +0000 (14:14 +0900)]
[Tizen] Add initialization of StopperNode

This reverts commit a69a590ff85a34d4926c1561b8848751796e4b98.

Change-Id: I2af83a4f140c88db493088503b3bb56876e6ecf1

2 months ago[Tizen] Support asan build option
Eunki, Hong [Mon, 20 May 2024 05:14:18 +0000 (14:14 +0900)]
[Tizen] Support asan build option

This reverts commit eb2a251d85c5af62e42e5a326a9ecf43a9cefe79.

Change-Id: I390c0bb63edd12c2c4a19a1923345ea010d65412

2 months ago[Tizen] Not execute the remove callback
Eunki, Hong [Mon, 20 May 2024 05:13:59 +0000 (14:13 +0900)]
[Tizen] Not execute the remove callback

This reverts commit b1166d00bd44d06cfe38f1595cadde741d254ba8.

Change-Id: Ib945c874c0878c148b9678aefb938acab4fb3e54

2 months agoMerge branch 'devel/master' into tizen
Eunki, Hong [Mon, 20 May 2024 05:13:50 +0000 (14:13 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I985a9d8a6047962b641428f15fa8e5a17dace34b

2 months agoRevert "[Tizen] Not execute the remove callback"
Eunki, Hong [Mon, 20 May 2024 05:13:42 +0000 (14:13 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 85a1851a73b4faf2c84fb3ba4915dbfbd9815897.

2 months agoRevert "[Tizen] Support asan build option"
Eunki, Hong [Mon, 20 May 2024 05:13:38 +0000 (14:13 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit 9433ec3b3bd3f094da85916c3334ed9af1034f31.

2 months agoRevert "[Tizen] Add initialization of StopperNode"
Eunki, Hong [Mon, 20 May 2024 05:13:36 +0000 (14:13 +0900)]
Revert "[Tizen] Add initialization of StopperNode"

This reverts commit e752fbcd0de4345412de1be9d31e478330d3dd3b.