platform/core/uifw/dali-core.git
2 years agoMerge branch 'devel/master' into tizen
joogab.yun [Tue, 22 Feb 2022 05:17:31 +0000 (14:17 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Icbe53d117677a4c2d4e47939bb3fb9362b2e589e

2 years agoRevert "[Tizen] Not execute the remove callback"
joogab.yun [Tue, 22 Feb 2022 05:17:17 +0000 (14:17 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 8a70172996a59e3d50af5bcc62d818b98598e300.

2 years agoMerge "DALi Version 2.1.10" into devel/master
Adeel Kazmi [Fri, 18 Feb 2022 11:13:24 +0000 (11:13 +0000)]
Merge "DALi Version 2.1.10" into devel/master

2 years agoDALi Version 2.1.10 66/271366/1 dali_2.1.10
Richard Huang [Fri, 18 Feb 2022 11:01:05 +0000 (11:01 +0000)]
DALi Version 2.1.10

Change-Id: I255826e810ab53dc5f41a77c1e2416bfbaf4a517

2 years agoMerge "(Partial Update) Set the updated flag when the Renderer is added/removed"...
Heeyong Song [Fri, 18 Feb 2022 01:56:11 +0000 (01:56 +0000)]
Merge "(Partial Update) Set the updated flag when the Renderer is added/removed" into devel/master

2 years agoAdd EmitWheelEventGeneratedSignal for custom wheel event 62/270162/12
joogab.yun [Thu, 27 Jan 2022 01:11:37 +0000 (10:11 +0900)]
Add EmitWheelEventGeneratedSignal for custom wheel event

For custom wheel events,
we first send the event to the focus manager by WheelEventGeneratedSignal.

Previously, RotaryEvents(CustomWheel type) could always be received only by window.
Now, User can receive Rotary Events in focused View as well.
It is also possible to propagate events to the parent view.

If there is no focused View, the window will receive the event.

This only applies to Rotary Event(CustomWheel type).

Change-Id: I13e2c9b725ee5a65c7408df2f4293c7b61c56035

2 years ago(Partial Update) Set the updated flag when the Renderer is added/removed 72/271172/1
Heeyong Song [Tue, 15 Feb 2022 10:23:23 +0000 (19:23 +0900)]
(Partial Update) Set the updated flag when the Renderer is added/removed

Change-Id: I586777f0bda8dde74ee04d461b54e7165e74b35c

2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220217.153353 submit/tizen/20220216.084409
Woochanlee [Wed, 16 Feb 2022 06:22:13 +0000 (15:22 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 63a02032b00033cacc6834507c594f43322e8c7b.

2 years agoMerge branch 'devel/master' into tizen
Woochanlee [Wed, 16 Feb 2022 06:21:40 +0000 (15:21 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Woochanlee [Wed, 16 Feb 2022 06:21:26 +0000 (15:21 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 187dc40447c6095e257f76730c78c7f62fb7d1ca.

2 years agoMerge "Add stride to PixelData" into devel/master
Heeyong Song [Wed, 16 Feb 2022 05:26:45 +0000 (05:26 +0000)]
Merge "Add stride to PixelData" into devel/master

2 years agoAdded prefix matching to test case execution 44/271044/1
David Steele [Mon, 14 Feb 2022 16:29:32 +0000 (16:29 +0000)]
Added prefix matching to test case execution

Change-Id: I5a836aca4c788a347b383a0b3d23771e22ff8f2b

2 years agoMerge "If MaximumTapsRequired is 1, it is not waiting for a multi-tap, so a Tap gestu...
joogab yun [Sat, 12 Feb 2022 00:22:42 +0000 (00:22 +0000)]
Merge "If MaximumTapsRequired is 1, it is not waiting for a multi-tap, so a Tap gesture send a single tap." into devel/master

2 years agoDALi Version 2.1.9 54/270954/1 dali_2.1.9
David Steele [Fri, 11 Feb 2022 12:01:40 +0000 (12:01 +0000)]
DALi Version 2.1.9

Change-Id: I7e8ba8a3683ccd489e8c6afcdcb0072fe8db2b29

2 years agoAdd stride to PixelData 54/270454/5
Heeyong Song [Thu, 3 Feb 2022 05:18:10 +0000 (14:18 +0900)]
Add stride to PixelData

Change-Id: Ida564386962e1afed91d3f6805b5a14f446a6937

2 years agoIf MaximumTapsRequired is 1, it is not waiting for a multi-tap, so a Tap gesture... 43/270843/1
joogab.yun [Thu, 10 Feb 2022 05:00:00 +0000 (14:00 +0900)]
If MaximumTapsRequired is 1, it is not waiting for a multi-tap, so a Tap gesture send a single tap.

Even if set to tapGestureDetector.SetMaximumTapsRequired(1);
When user tap multiple times quickly, the tap gesture event now fires only once every maximum Allowed Time (500ms).

If MaximumTapsRequired is 1, user want to receive tap gesture events immediately because we are not waiting for a multi-tap.

Change-Id: I9651facb9650982e2e0dc414974677c531481bf8

2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220212.064849 submit/tizen/20220208.044604 submit/tizen/20220211.104100
Wonsik Jung [Mon, 7 Feb 2022 05:31:46 +0000 (14:31 +0900)]
[Tizen] Not execute the remove callback

This reverts commit e56c5650f0f350a721c60bed4701e6b20b1e1236.

2 years agoMerge branch 'devel/master' into tizen
Wonsik Jung [Mon, 7 Feb 2022 05:31:23 +0000 (14:31 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Wonsik Jung [Mon, 7 Feb 2022 05:22:39 +0000 (14:22 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 433b4a4e79ff9171e54b92c3cd8036bed8adde34.

2 years agoDALi Version 2.1.8 75/270575/1 dali_2.1.8
Adeel Kazmi [Fri, 4 Feb 2022 13:14:39 +0000 (13:14 +0000)]
DALi Version 2.1.8

Change-Id: If05e41c6141e9e20dd655418b04843b9e7b72225

2 years agoMerge "Adding Handle::ReserveCustomProperties method" into devel/master
Adeel Kazmi [Fri, 28 Jan 2022 17:06:43 +0000 (17:06 +0000)]
Merge "Adding Handle::ReserveCustomProperties method" into devel/master

2 years agoDALi Version 2.1.7 53/270353/1 dali_2.1.7
Adam Bialogonski [Fri, 28 Jan 2022 12:10:16 +0000 (12:10 +0000)]
DALi Version 2.1.7

Change-Id: Iccbe522c45fd61d039458b809fa4f86f2423eb78

2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220126.232954 submit/tizen/20220126.073614
Eunki, Hong [Wed, 26 Jan 2022 04:05:02 +0000 (13:05 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 158d381240f8ed85ae9eb30feda650e883a3409b.

2 years agoMerge branch 'devel/master' into tizen
Eunki, Hong [Wed, 26 Jan 2022 04:04:31 +0000 (13:04 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I31e4cd9f6dc8ea2e3f40345573c0793ff23322f0

2 years agoRevert "[Tizen] Not execute the remove callback"
Eunki, Hong [Wed, 26 Jan 2022 04:04:03 +0000 (13:04 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit e836be5c957a0a7285bfe26b466e69aa840ac9b8.

2 years agoAdding Handle::ReserveCustomProperties method 97/270097/1
David Steele [Tue, 25 Jan 2022 11:00:59 +0000 (11:00 +0000)]
Adding Handle::ReserveCustomProperties method

Change-Id: I2baa3a77e2db557a6a755e66105530cbe72ac442

2 years ago(Partial Update) Use world color to check if the item is updated 16/270016/2
Heeyong Song [Mon, 24 Jan 2022 07:56:47 +0000 (16:56 +0900)]
(Partial Update) Use world color to check if the item is updated

Change-Id: I2d1ca5df07cd1c0456f77c178d60e2bf463448ed

2 years agoMerge "(Partial update) Change resetting the updated flag" into devel/master
Heeyong Song [Tue, 25 Jan 2022 04:54:45 +0000 (04:54 +0000)]
Merge "(Partial update) Change resetting the updated flag" into devel/master

2 years ago(Partial update) Change resetting the updated flag 83/267183/4
Heeyong Song [Fri, 26 Nov 2021 08:23:41 +0000 (17:23 +0900)]
(Partial update) Change resetting the updated flag

Reset the updated flag after calculating all damaged area of the scene

Change-Id: I6abf26012f3053689abb461d42c2960b09886895

2 years agoInitialized SG::Scene::mGraphicsController in constructor 33/270033/2
David Steele [Mon, 24 Jan 2022 12:05:04 +0000 (12:05 +0000)]
Initialized SG::Scene::mGraphicsController in constructor

Change-Id: I813f9643c1e4e92a6e2f01a342a2c6981b479f7a

2 years agoMerge "Changed SceneHolder's RenderTarget initialization" into devel/master
Adeel Kazmi [Fri, 21 Jan 2022 16:14:58 +0000 (16:14 +0000)]
Merge "Changed SceneHolder's RenderTarget initialization" into devel/master

2 years agoChanged SceneHolder's RenderTarget initialization 71/268271/5
David Steele [Fri, 17 Dec 2021 17:24:15 +0000 (17:24 +0000)]
Changed SceneHolder's RenderTarget initialization

SceneHolder currently generates Graphics::RenderTarget in the wrong
thread (Event thread) which can cause crashes in EglController if
there is a heavy load, as Surface/Context pair vector can be modified
in one thread whilst being read in another.

Instead, set up the RenderTarget create info struct, and pass that
through the existing messages instead of RenderTarget. When the
SceneGraph::Scene gets it's second stage Initialize() method
called (by RenderManager), then use that CreateInfo struct to create
the RenderTarget. All modifications to the queues/vectors are now done
in the same thread, and should prevent crashes.

Change-Id: I6d33590ed85085f26c84c5d798abca48dd8affba
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoDALi Version 2.1.6 20/269920/1 dali_2.1.6
Richard Huang [Fri, 21 Jan 2022 11:44:20 +0000 (11:44 +0000)]
DALi Version 2.1.6

Change-Id: I666c7a31240d367c229ad8516407091e1131c802

2 years agoMerge "Decrease property registration time" into devel/master
David Steele [Thu, 20 Jan 2022 15:59:29 +0000 (15:59 +0000)]
Merge "Decrease property registration time" into devel/master

2 years agoDecrease property registration time 36/269636/3
David Steele [Wed, 19 Jan 2022 10:17:37 +0000 (10:17 +0000)]
Decrease property registration time

For animated custom properties attached to objects, such as uniforms
attached to visual renderers, the registration time is too long.

One of the culprits is the Object::RegisterProperty() method iterating
over all the preceding property names to ensure the uniqueness of the
property name.

In the visual case, we can remove this check, as we can ensure that
each call to RegisterProperty is only done once per uniform.

Added a method RegisterUniqueProperty (which should really be called
RegisterPropertyWithoutUniquenessCheck, but hey!) to perform the same
registration without the name lookup checks.

Change-Id: Id3b78e342415aef65f0ff121ae2c8ec4a9ec80a6
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoMerge "(Partial Update) Mark as not rendered if the node is transparent or culled...
Heeyong Song [Thu, 20 Jan 2022 04:59:42 +0000 (04:59 +0000)]
Merge "(Partial Update) Mark as not rendered if the node is transparent or culled" into devel/master

2 years agoMerge "Even if only InterceptTouchEvent is registered, it is hittable" into devel...
joogab yun [Wed, 19 Jan 2022 06:40:56 +0000 (06:40 +0000)]
Merge "Even if only InterceptTouchEvent is registered, it is hittable" into devel/master

2 years ago[Tizen] Not execute the remove callback submit/tizen/20220119.054331 submit/tizen/20220119.152241 submit/tizen/20220120.072320
tscholb [Wed, 19 Jan 2022 01:59:16 +0000 (10:59 +0900)]
[Tizen] Not execute the remove callback

This reverts commit e8ea79c5eaa2fa50dd661c0cea119d14e42e1bee.

2 years agoMerge branch 'devel/master' into tizen
tscholb [Wed, 19 Jan 2022 01:59:04 +0000 (10:59 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
tscholb [Wed, 19 Jan 2022 01:58:49 +0000 (10:58 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 5247a924873aca7fc58798e409edd5614d5af775.

2 years agoEven if only InterceptTouchEvent is registered, it is hittable 21/268721/6
joogab.yun [Thu, 30 Dec 2021 08:21:49 +0000 (17:21 +0900)]
Even if only InterceptTouchEvent is registered, it is hittable

Change-Id: I724c3bae0741a3ca8537e48474254c3f460deab1

2 years ago(Partial Update) Mark as not rendered if the node is transparent or culled 95/268095/4
Heeyong Song [Tue, 30 Nov 2021 09:15:40 +0000 (18:15 +0900)]
(Partial Update) Mark as not rendered if the node is transparent or culled

Change-Id: I0a6aeaa90e9da1ddb6b61d8ff8397e84a43ac668

2 years agoReplace obsolete safe bool idiom with explicit operator bool 00/269400/2
Artur Świgoń [Thu, 13 Jan 2022 14:23:16 +0000 (15:23 +0100)]
Replace obsolete safe bool idiom with explicit operator bool

C++11 introduces 'explicit operator bool' to prevent unintended implicit
conversions to 'bool', thus making the trick with converting to a
pointer-to-member (a.k.a. "safe bool idiom") obsolete.

The explicit operator is more restrictive than 'safe bool', and it
helped uncover a bug in the test suite where object handles were
implicitly converted to bool before being sent to an std::ostream.

Change-Id: I8c9d33812bc022570f5c286d925914dba508185c

2 years agoDALi Version 2.1.5 64/269464/1 dali_2.1.5
David Steele [Fri, 14 Jan 2022 15:40:23 +0000 (15:40 +0000)]
DALi Version 2.1.5

Change-Id: I4174771a77f5df2693b60fc09e585ee4af03d812

2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220114.130146 submit/tizen/20220112.152415 submit/tizen/20220113.015050
Heeyong Song [Wed, 12 Jan 2022 04:47:04 +0000 (13:47 +0900)]
[Tizen] Not execute the remove callback

2 years agoMerge branch 'devel/master' into tizen
Heeyong Song [Wed, 12 Jan 2022 04:46:41 +0000 (13:46 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Heeyong Song [Wed, 12 Jan 2022 04:45:08 +0000 (13:45 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit b2824eb4b14d16c540502b2b976d327a83ba2911.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
Heeyong Song [Wed, 12 Jan 2022 04:44:57 +0000 (13:44 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit c4471f68c5a18cab9dc3ca09a0cdd5f177d010d6.

2 years agoRevert "[Tizen] Prevent accessing invalid index"
Heeyong Song [Wed, 12 Jan 2022 04:44:39 +0000 (13:44 +0900)]
Revert "[Tizen] Prevent accessing invalid index"

This reverts commit d805ad413cd1a3245287d82d961455999b09374d.

2 years agoDALi Version 2.1.4 87/269087/1 dali_2.1.4
Adam Bialogonski [Fri, 7 Jan 2022 10:05:24 +0000 (10:05 +0000)]
DALi Version 2.1.4

Change-Id: Id10b0af4d5b296d014947b2386ece3488caf6e5d

2 years agoDali::Vector release memory later during Copy 54/268354/2
Eunki, Hong [Tue, 21 Dec 2021 12:07:19 +0000 (21:07 +0900)]
Dali::Vector release memory later during Copy

Change-Id: I1df4a486426d00a2914d73b46cbb3905e1b2b7ef
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Prevent accessing invalid index accepted/tizen/unified/20211222.230343 submit/tizen/20211221.101644
Jaehyun Cho [Mon, 20 Dec 2021 09:36:36 +0000 (18:36 +0900)]
[Tizen] Prevent accessing invalid index

This reverts commit 9cfaf269db610b0e0a73d75c41281f83747e04fe.

2 years ago[Tizen] Update RenderState in PreRender
Jaehyun Cho [Mon, 20 Dec 2021 09:36:27 +0000 (18:36 +0900)]
[Tizen] Update RenderState in PreRender

This reverts commit 2bc15ea4f730faa946501a98cb6572b1f38fc7e7.

2 years ago[Tizen] Not execute the remove callback
Jaehyun Cho [Mon, 20 Dec 2021 09:36:14 +0000 (18:36 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 0db9bb9e1353273f98444ccf30e2f8549256422b.

2 years agoMerge branch 'devel/master' into tizen
Jaehyun Cho [Mon, 20 Dec 2021 09:35:53 +0000 (18:35 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Jaehyun Cho [Mon, 20 Dec 2021 09:35:37 +0000 (18:35 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 39a2cc902ee9ba212d87c20a8ab3f0c18bea6ab8.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
Jaehyun Cho [Mon, 20 Dec 2021 09:35:31 +0000 (18:35 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit ac0a697e61c9298b7141fc9a5ad78ea7ac48beee.

2 years agoRevert "[Tizen] Prevent accessing invalid index"
Jaehyun Cho [Mon, 20 Dec 2021 09:35:26 +0000 (18:35 +0900)]
Revert "[Tizen] Prevent accessing invalid index"

This reverts commit be7619f2f1269ce30259f237014a1b0273711de5.

2 years agoMerge "Move mItemsDirtyRects from Scene to SceneGraph::Scene" into devel/master
Heeyong Song [Fri, 17 Dec 2021 15:03:58 +0000 (15:03 +0000)]
Merge "Move mItemsDirtyRects from Scene to SceneGraph::Scene" into devel/master

2 years agoDALi Version 2.1.3 21/268221/1 dali_2.1.3
Adeel Kazmi [Fri, 17 Dec 2021 06:58:25 +0000 (06:58 +0000)]
DALi Version 2.1.3

Change-Id: I9a39fc16eef86cd02dc9f65ccc6f912efd1993a5

2 years agoMove mItemsDirtyRects from Scene to SceneGraph::Scene 34/267634/4
Heeyong Song [Wed, 8 Dec 2021 05:49:56 +0000 (14:49 +0900)]
Move mItemsDirtyRects from Scene to SceneGraph::Scene

The list is used in the update thread. So move it to SceneGraph::Scene

Change-Id: Ic3b374d2e3840c05d72ed8b55697db4e5eef1f13

2 years agoMerge "Fixed the crash appears after closing app when use ResizePolicy::USE_NATURAL_S...
Bowon Ryu [Wed, 15 Dec 2021 09:04:40 +0000 (09:04 +0000)]
Merge "Fixed the crash appears after closing app when use ResizePolicy::USE_NATURAL_SIZE" into devel/master

2 years ago[Tizen] Prevent accessing invalid index accepted/tizen/unified/20211215.125754 submit/tizen/20211214.091051
Seoyeon Kim [Tue, 14 Dec 2021 05:28:07 +0000 (14:28 +0900)]
[Tizen] Prevent accessing invalid index

This reverts commit 61c65ff82e80b793effc25abf729a2d3e4480356.

2 years ago[Tizen] Update RenderState in PreRender
Seoyeon Kim [Tue, 14 Dec 2021 05:27:56 +0000 (14:27 +0900)]
[Tizen] Update RenderState in PreRender

This reverts commit ea5d55a02720dc0225d4aae6492267f60834fe81.

2 years ago[Tizen] Not execute the remove callback
Seoyeon Kim [Tue, 14 Dec 2021 05:27:44 +0000 (14:27 +0900)]
[Tizen] Not execute the remove callback

This reverts commit ece8a3036f71f6aceee2293641973564f122e0aa.

2 years agoMerge branch 'devel/master' into tizen
Seoyeon Kim [Tue, 14 Dec 2021 05:27:19 +0000 (14:27 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Seoyeon Kim [Tue, 14 Dec 2021 05:26:59 +0000 (14:26 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 2056f31206c52657967b9b20e157cf6491e9af6b.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
Seoyeon Kim [Tue, 14 Dec 2021 05:26:56 +0000 (14:26 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit 3631dd7b2f385093bb9be9af30e9b9fb4e0966ae.

2 years agoRevert "[Tizen] Prevent accessing invalid index"
Seoyeon Kim [Tue, 14 Dec 2021 05:26:53 +0000 (14:26 +0900)]
Revert "[Tizen] Prevent accessing invalid index"

This reverts commit fc942a3058a5059c0c37659efeaa9912b2700b66.

2 years agoMerge "Fix the local matrix dirty flag when size is changed" into devel/master
Adeel Kazmi [Fri, 10 Dec 2021 13:54:18 +0000 (13:54 +0000)]
Merge "Fix the local matrix dirty flag when size is changed" into devel/master

2 years agoDALi Version 2.1.2 50/267850/1 dali_2.1.2
Richard Huang [Fri, 10 Dec 2021 11:58:21 +0000 (11:58 +0000)]
DALi Version 2.1.2

Change-Id: I3df4c85dd1dc5537ec39dd593a4d5cbff22a93ba

2 years ago[Tizen] Prevent accessing invalid index accepted/tizen/unified/20211210.115319 submit/tizen/20211208.090024
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:34:17 +0000 (14:34 +0900)]
[Tizen] Prevent accessing invalid index

This reverts commit d3bc1595bb51ee5cee25299519a93b4e45b8e21d.

2 years ago[Tizen] Update RenderState in PreRender
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:33:52 +0000 (14:33 +0900)]
[Tizen] Update RenderState in PreRender

This reverts commit 25c956766ad187b49a8539bee3bab95627f3593f.

2 years ago[Tizen] Not execute the remove callback
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:33:27 +0000 (14:33 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 12074b646605796042811041485adaa811f37845.

2 years agoMerge branch 'devel/master' into tizen
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:32:49 +0000 (14:32 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:29:59 +0000 (14:29 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit a17082700ec95801ed62b170d2ae86458b7e76cf.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:29:43 +0000 (14:29 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit 62cfeeb09f1e213ede6115bb36e3c7157dade816.

2 years agoRevert "[Tizen] Prevent accessing invalid index"
EverLEEst(SangHyeon Lee) [Wed, 8 Dec 2021 05:29:26 +0000 (14:29 +0900)]
Revert "[Tizen] Prevent accessing invalid index"

This reverts commit 0fde84c381dc73505ed8b229201ab9b278530eb8.

2 years agoUse a proper projection matrix 75/267175/2
Heeyong Song [Mon, 29 Nov 2021 04:29:26 +0000 (13:29 +0900)]
Use a proper projection matrix

Change-Id: I6bed10bc639a838918919c5621d6f399db5cebe3

2 years agoFixed the crash appears after closing app when use ResizePolicy::USE_NATURAL_SIZE 01/265301/3
Shrouq Sabah [Thu, 14 Oct 2021 08:29:41 +0000 (11:29 +0300)]
Fixed the crash appears after closing app when use ResizePolicy::USE_NATURAL_SIZE

There is a crash when destroying text-editor and the ResizePolicy is USE_NATURAL_SIZE.

textEditor.SetProperty(Dali::Actor::Property::WIDTH_RESIZE_POLICY, ResizePolicy::USE_NATURAL_SIZE);"
then close the application. the below exception appears.
ERROR: DALI: Assert (threadLocal) failed in: static Dali::Internal::ThreadLocalStorage& Dali::Internal::ThreadLocalStorage::Get()
Exception:
threadLocal
 thrown at static Dali::Internal::ThreadLocalStorage& Dali::Internal::ThreadLocalStorage::Get()
terminate called after throwing an instance of 'Dali::DaliException'

The solution applied at RelayoutController::Get().
Checked if ThreadLocalStorage is created then proceed normally otherwise returns null
Because the ThreadLocalStorage::Get() only retrieves STL without checking if it exists.

The caller of RelayoutController::Get() should check if RelayoutController is not null.
There is only one place use this function and already checks if RelayoutController is not null.

Change-Id: I343ef47f03aa86babb4bdd19f95c3e7ccb211dff

2 years agoMerge "Fix ReuseRenderer issue when renderer is nullptr" into devel/master
Eunki Hong [Mon, 6 Dec 2021 04:06:03 +0000 (04:06 +0000)]
Merge "Fix ReuseRenderer issue when renderer is nullptr" into devel/master

2 years agoDALi Version 2.1.1 37/267437/1 dali_2.1.1
David Steele [Fri, 3 Dec 2021 13:57:26 +0000 (13:57 +0000)]
DALi Version 2.1.1

Change-Id: Ie412924e57d35e2605366111e636ee568b9e402e

2 years agoFix ReuseRenderer issue when renderer is nullptr 18/267418/3
Eunki, Hong [Fri, 3 Dec 2021 04:21:51 +0000 (13:21 +0900)]
Fix ReuseRenderer issue when renderer is nullptr

When ClippingMode is CLIP_TO_BOUNDING_BOX and it have no children,
we add nullptr SceneGraph::Renderer into renderables.

Previous codes are assume that that renderers are not nullptr
so they just use many of memberfunctions.

This patch fix the dangerous nullptr access.

TODO : need to make UTC

Change-Id: If04ff5a68ef95c27fbe43166eb64734d681bcdaa
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix the local matrix dirty flag when size is changed 91/267391/2
Richard [Thu, 2 Dec 2021 15:55:34 +0000 (15:55 +0000)]
Fix the local matrix dirty flag when size is changed

Change-Id: I009c1a17b037744e6d3c8268651af8543786bb80

2 years agoSort transform components in breadth first order per scene 11/267211/5
Richard Huang [Mon, 29 Nov 2021 17:43:05 +0000 (17:43 +0000)]
Sort transform components in breadth first order per scene

Change-Id: Iad835c30b6d83554bc2a150516c23dbd19183937

2 years ago[Tizen] Prevent accessing invalid index accepted/tizen/unified/20211129.212425 submit/tizen/20211129.091245
huiyu.eun [Mon, 29 Nov 2021 07:52:48 +0000 (16:52 +0900)]
[Tizen] Prevent accessing invalid index

This reverts commit 2a8bf0bda3509659512d86dc68870b8306b98260.

Change-Id: I9589aee858df56950a2182584171ec5ed96af82a

2 years ago[Tizen] Update RenderState in PreRender
huiyu.eun [Mon, 29 Nov 2021 07:52:31 +0000 (16:52 +0900)]
[Tizen] Update RenderState in PreRender

This reverts commit 752296e1312f7041d8004207191d33bacd8a63e7.

Change-Id: I6dab0d30568980adf5b20b356d1a961115a15ab9

2 years ago[Tizen] Not execute the remove callback
huiyu.eun [Mon, 29 Nov 2021 07:52:16 +0000 (16:52 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 1d967f6b87ee09da810286fd4e63083cd4d7227d.

Change-Id: I9e3df08af140f1acf7ea7eb219f3575329c73fc2

2 years agoMerge branch 'devel/master' into tizen
huiyu.eun [Mon, 29 Nov 2021 07:51:55 +0000 (16:51 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I115e366d41f91543676549da2abce9525913762e

2 years agoRevert "[Tizen] Not execute the remove callback"
huiyu.eun [Mon, 29 Nov 2021 07:51:34 +0000 (16:51 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 05838be5234e9f0e1152a0d8792a1b477b7e02b4.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
huiyu.eun [Mon, 29 Nov 2021 07:51:32 +0000 (16:51 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit 4e6b015f967d860214ab1ef1edff5fe9c1ba8c45.

2 years agoRevert "[Tizen] Prevent accessing invalid index"
huiyu.eun [Mon, 29 Nov 2021 07:51:28 +0000 (16:51 +0900)]
Revert "[Tizen] Prevent accessing invalid index"

This reverts commit 2379dac2638ab20c3cbbbf643faa0af33c79d466.

2 years agoRevert "[Tizen] ActorSizer::RelayoutDependentOnXXX return default value"
huiyu.eun [Mon, 29 Nov 2021 07:51:26 +0000 (16:51 +0900)]
Revert "[Tizen] ActorSizer::RelayoutDependentOnXXX return default value"

This reverts commit 835ef5103e6a44b106a9b04b9326984a3d8c6361.

2 years agoFix coverity issue 65/267165/1
Eunki, Hong [Fri, 26 Nov 2021 12:16:31 +0000 (21:16 +0900)]
Fix coverity issue

Delete useless member value

Change-Id: I338ace58b987a9cf2ee593fc14a2684d81adf8df
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.0 44/267144/1 dali_2.1.0
Adam Bialogonski [Fri, 26 Nov 2021 08:40:47 +0000 (08:40 +0000)]
DALi Version 2.1.0

Change-Id: I86132cc32010fd84cb60c9dbee06f8b693e19a99

2 years agoFixed actor relayout dimension dependencies 46/267046/2
David Steele [Wed, 24 Nov 2021 12:25:29 +0000 (12:25 +0000)]
Fixed actor relayout dimension dependencies

Height dimension dependency on child should now work properly.

Retained old behaviour from before refactor - when no size
negotiation, RelayoutDependentOnChildrenBase returned true.

Change-Id: I3a375f64b9bfe6bca8f1909e53aa1e6e133afcd3

2 years agoActorSizer::RelayoutDependentOnXXX return default value 55/266955/8
Eunki, Hong [Tue, 23 Nov 2021 05:31:11 +0000 (14:31 +0900)]
ActorSizer::RelayoutDependentOnXXX return default value

Before refactoring, when mRelayoutData doesn't exist,
RelayoutDependentOnChildrenBase return true.

Because DEFAULT state is "ResizePolicy::USE_NATURAL_SIZE" and
It's case s.t. RelayoutDependentOnChildrenBase is true.

After refactoring, if mRelayoutData is null, it always return false.

This patch just sync with previous behavior.

Change-Id: Id5ac45b4b635308c748fabd50cc52774c67994d6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] ActorSizer::RelayoutDependentOnXXX return default value 61/266961/2 accepted/tizen/unified/20211125.003845 submit/tizen/20211123.152301
Eunki, Hong [Tue, 23 Nov 2021 06:18:13 +0000 (15:18 +0900)]
[Tizen] ActorSizer::RelayoutDependentOnXXX return default value

Before refactoring, when mRelayoutData doesn't exist,
RelayoutDependentOnChildrenBase return true.

Because DEFAULT state is "ResizePolicy::USE_NATURAL_SIZE" and
It's case s.t. RelayoutDependentOnChildrenBase is true.

After refactoring, if mRelayoutData is null, it always return false.

This patch just sync with previous behavior.

Change-Id: I8e5c9ba7a456baa2a8d8c0473c06feb6da469a87
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Prevent accessing invalid index accepted/tizen/unified/20211123.143831 submit/tizen/20211122.105712
dongsug.song [Mon, 22 Nov 2021 07:39:10 +0000 (16:39 +0900)]
[Tizen] Prevent accessing invalid index

This reverts commit 4365bb3d85446b7b08f1a0516a137f55c03f9d63.

Change-Id: Id9eb1a0559ca8a4c69442bbb8c25b1c2fb5b6598

2 years ago[Tizen] Update RenderState in PreRender
dongsug.song [Mon, 22 Nov 2021 07:38:44 +0000 (16:38 +0900)]
[Tizen] Update RenderState in PreRender

This reverts commit 38ba8471ea1beb0794b96056ab61c92db465766b.

Change-Id: Ie4999db1b136db2faad674b33c711d4b7ce2eef8