platform/core/uifw/dali-core.git
2 years agoMerge branch 'devel/master' into tizen
Woochanlee [Tue, 19 Jul 2022 04:10:28 +0000 (13:10 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Woochanlee [Tue, 19 Jul 2022 04:10:07 +0000 (13:10 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit e588c550a4e74950071dcd6efe4bde4527f3854f.

2 years agoMerge "Change dali-scene-loader to dali-scene3d" into devel/master
Seungho BAEK [Mon, 18 Jul 2022 11:09:07 +0000 (11:09 +0000)]
Merge "Change dali-scene-loader to dali-scene3d" into devel/master

2 years agoMerge "Fix an issue where TapGesture Events are not being received." into devel/master
joogab yun [Mon, 18 Jul 2022 06:06:25 +0000 (06:06 +0000)]
Merge "Fix an issue where TapGesture Events are not being received." into devel/master

2 years agoChange dali-scene-loader to dali-scene3d 51/277851/2
seungho [Thu, 14 Jul 2022 06:10:11 +0000 (15:10 +0900)]
Change dali-scene-loader to dali-scene3d

Change-Id: I9215482e82be1093c7cd838c5463b2b2e3ab9e09
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoDALi Version 2.1.31 68/277968/1 dali_2.1.31
Richard Huang [Fri, 15 Jul 2022 12:16:22 +0000 (13:16 +0100)]
DALi Version 2.1.31

Change-Id: Ic09a53977da5c19a49ebc0be6b87e4262573a337

2 years agoFix an issue where TapGesture Events are not being received. 23/277923/2
joogab.yun [Fri, 15 Jul 2022 05:01:19 +0000 (14:01 +0900)]
Fix an issue where TapGesture Events are not being received.

If MaximumTapsRequired is greater than 1, TapEvent may not be received when mMaximumAllowedTime is checked in touch-up.

So, move the mMaximumAllowedTime check code to Touchdown.

And in touch-up, the time between previous touch-down and touch-up is checked.

Change-Id: Iec05c9c902fda5c04a8ddde54bec1d887224d5fe

2 years agoProperty::Value operator== for the same type. 75/277575/7
Eunki, Hong [Fri, 8 Jul 2022 09:05:35 +0000 (18:05 +0900)]
Property::Value operator== for the same type.

Implement equal operator for the Property::Value.
It can be compare only for the same type.

NOTE : Property::Array and Property::Map don't support equal operator.
We always return false in that case.

Change-Id: Id474dbf403355b2f5d2375004694cfc18d3c8614
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220712.133033 submit/tizen/20220712.024533
Wonsik Jung [Mon, 11 Jul 2022 06:03:23 +0000 (15:03 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 1777804c4583a6b05159b57f98f1137c1964f267.

2 years agoMerge branch 'devel/master' into tizen
Wonsik Jung [Mon, 11 Jul 2022 06:02:17 +0000 (15:02 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Wonsik Jung [Mon, 11 Jul 2022 06:01:27 +0000 (15:01 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 538641625da287e9ccb4376c64c6aaa7cbe0a4ca.

2 years agoMerge "Fix an issue where TapGesture Events are not being received." into devel/master
joogab yun [Mon, 11 Jul 2022 05:23:28 +0000 (05:23 +0000)]
Merge "Fix an issue where TapGesture Events are not being received." into devel/master

2 years agoAdd ALLOW_ONLY_OWN_TOUCH property. 32/276632/12
joogab.yun [Wed, 22 Jun 2022 07:52:58 +0000 (16:52 +0900)]
Add ALLOW_ONLY_OWN_TOUCH property.

It only receive for touch events that started from itself.
So if it's not a touch started  by myself, actor doesn't receive a touch event.

Change-Id: I58151d7072a4f1dbae1a015e6b3fc0b298745773

2 years agoDALi Version 2.1.30 47/277547/1 dali_2.1.30
Adeel Kazmi [Fri, 8 Jul 2022 05:47:39 +0000 (06:47 +0100)]
DALi Version 2.1.30

Change-Id: I61ee6970d3b31b7c511b82a4497d4183e2fc86e2

2 years agoFix an issue where TapGesture Events are not being received. 85/277385/4
joogab.yun [Tue, 5 Jul 2022 05:29:22 +0000 (14:29 +0900)]
Fix an issue where TapGesture Events are not being received.

If multiple Tap GestureDetectors are registered, you may not receive gesture events depending on the setting of MaximumTapsRequired.

example)
TapGestureDetector detector1 = TapGestureDetector::New();
detector1.SetMaximumTapsRequired(1u);
detector1.Attach(actor1);

TapGestureDetector detector2 = TapGestureDetector::New();
detector2.SetMaximumTapsRequired(2u);
detector2.Attach(actor2);

When actor1 is tapped multiple times, I expect to receive a gesture event on every tap because MaximumTapsRequired is 1u, but I don't get the event every tap.

It is because the MaximumTapsRequred of detector2 is set to 2u, the MaximumTaps of the tap-gesture-recognizer is set to 2u.

So, if there is a double tap, the tap event is not delivered to detector1 because it exceeds the MaximumTaps of detector1.

For this reason, the check of MaximumTapsRequired is modified to be checked by each detector.

Change-Id: I297debdf7ff680affafc763d4af3db323f80a095

2 years agoDirectRendering with DrawableView support and list of used resources 11/276111/8
Adam Bialogonski [Wed, 6 Jul 2022 10:40:40 +0000 (11:40 +0100)]
DirectRendering with DrawableView support and list of used resources

- Added GLESNativeInfo inner struct (in NativeDrawInfo) to extract shared context
- The native draw can use list of textures and buffers that the callback will use
- The used resources are being passed into the callback so it can access DALi objects

Change-Id: I6b162c0741d95ab3698185d05e2a78f4b0ab02f7

2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220705.211227 submit/tizen/20220704.072728 submit/tizen/20220705.020902
joogab.yun [Mon, 4 Jul 2022 05:09:32 +0000 (14:09 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 1cf51c52140750680e9a4873e62f72668195a435.

Change-Id: I65fb733746aa85156555df2ebe1f6a9d7dac6ef3

2 years agoMerge branch 'devel/master' into tizen
joogab.yun [Mon, 4 Jul 2022 05:09:21 +0000 (14:09 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I01016d5b52d475dc12b75b3ed35a1981c28ac17e

2 years agoRevert "[Tizen] Not execute the remove callback"
joogab.yun [Mon, 4 Jul 2022 05:09:12 +0000 (14:09 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 581d871451c62673d498e7c56f0d3bb92cd86630.

2 years agoMerge "DALi Version 2.1.29" into devel/master
David Steele [Fri, 1 Jul 2022 11:12:12 +0000 (11:12 +0000)]
Merge "DALi Version 2.1.29" into devel/master

2 years agoDALi Version 2.1.29 89/277189/1 dali_2.1.29
David Steele [Fri, 1 Jul 2022 11:06:54 +0000 (12:06 +0100)]
DALi Version 2.1.29

Change-Id: Icb5bea910e30730302e73906f873469afb3146f4

2 years agoAdd InterceptKeyEvent 83/276883/4
joogab.yun [Mon, 27 Jun 2022 09:18:20 +0000 (18:18 +0900)]
Add InterceptKeyEvent

Intercepts KeyEvents in the window before dispatching KeyEvents to the control.
If a KeyEvent is consumed, no KeyEvent is delivered to the control.

Change-Id: If6ee2b2fb03d936a7840b4c984129a31bb8b948d

2 years ago[Tizen] Not execute the remove callback accepted/tizen/unified/20220629.152912 submit/tizen/20220628.101822
Eunki, Hong [Tue, 28 Jun 2022 04:40:23 +0000 (13:40 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 090ec989445f17c02a62f3f06ff1171f10a08527.

2 years agoMerge branch 'devel/master' into tizen
Eunki, Hong [Tue, 28 Jun 2022 04:39:48 +0000 (13:39 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I284f0772b548c61f326475ccad09257179a84e3a

2 years agoRevert "[Tizen] Not execute the remove callback"
Eunki, Hong [Tue, 28 Jun 2022 04:39:42 +0000 (13:39 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 520b408cf3777c21ce8e0972fe475b4983f41583.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
Eunki, Hong [Tue, 28 Jun 2022 04:39:40 +0000 (13:39 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit 889a20d49b8525a9c2eda249cf9e4fda2eeac0af.

2 years agoAdd GetPixelFormat to Texture 89/276889/1
Heeyong Song [Mon, 27 Jun 2022 09:32:09 +0000 (18:32 +0900)]
Add GetPixelFormat to Texture

Change-Id: Ib9cf0b03f409c909e7c7187d8ea19661296d36d5

2 years agoMerge "DALi Version 2.1.28" into devel/master
David Steele [Fri, 24 Jun 2022 13:26:05 +0000 (13:26 +0000)]
Merge "DALi Version 2.1.28" into devel/master

2 years agoDALi Version 2.1.28 88/276788/1 dali_2.1.28
Adeel Kazmi [Fri, 24 Jun 2022 13:08:24 +0000 (14:08 +0100)]
DALi Version 2.1.28

Change-Id: I7cea4233901b6d16f8edba3eb3be48317ae49e23

2 years agoAdd default logs in key event processor 84/276484/2
Heeyong Song [Fri, 17 Jun 2022 07:11:11 +0000 (16:11 +0900)]
Add default logs in key event processor

Change-Id: I3b8352cb57afe5b6de381f6285d7020786df0578

2 years agoEnable ENABLE_BACKTRACE 79/276479/4
Heeyong Song [Fri, 17 Jun 2022 06:22:36 +0000 (15:22 +0900)]
Enable ENABLE_BACKTRACE

Change-Id: Ib992346a029132000b2558b41a934c2b6115b647

2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220622.134103 submit/tizen/20220621.103041 submit/tizen/20220621.114826
tscholb [Tue, 21 Jun 2022 06:33:30 +0000 (15:33 +0900)]
[Tizen] Print backtrace when an exception occurs

This reverts commit 780a9f625d35bcb5c79c39a5f8d3b5a2add11fd7.

2 years ago[Tizen] Not execute the remove callback
tscholb [Tue, 21 Jun 2022 06:32:56 +0000 (15:32 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 3e58e179c605aab9fed5decaf64a57cbeaea65fa.

2 years agoMerge branch 'devel/master' into tizen
tscholb [Tue, 21 Jun 2022 06:32:34 +0000 (15:32 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
tscholb [Tue, 21 Jun 2022 06:32:07 +0000 (15:32 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 4e4fcba396ec29886f0fd4fbab9a2f607085038a.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
tscholb [Tue, 21 Jun 2022 06:31:56 +0000 (15:31 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit 2272bf44f01dd3fb5ae919d1bfeb0d2254bf50e7.

2 years agoFixed SVACE error in pan-gesture-processor.cpp 53/276553/1
Adeel Kazmi [Mon, 20 Jun 2022 09:58:06 +0000 (10:58 +0100)]
Fixed SVACE error in pan-gesture-processor.cpp

Change-Id: Ia4b8d58e4dcffd1f4da85a0a5a4c8fd077693532

2 years agoFix logical bug on Pan MotionEventAge 14/276514/1
Eunki, Hong [Mon, 20 Jun 2022 01:23:51 +0000 (10:23 +0900)]
Fix logical bug on Pan MotionEventAge

Fix incorrect operation direction of age check-up.

Change-Id: Ia76f9cdda639c0417da1002906e63a02f97d1b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.27" into devel/master
David Steele [Fri, 17 Jun 2022 10:40:03 +0000 (10:40 +0000)]
Merge "DALi Version 2.1.27" into devel/master

2 years agoDALi Version 2.1.27 95/276495/1 dali_2.1.27
David Steele [Fri, 17 Jun 2022 10:27:55 +0000 (11:27 +0100)]
DALi Version 2.1.27

Change-Id: I079653c71810ddbf0469601c0e2f594c23fb630a

2 years agoDiscard some motion during pan gesture 78/276378/7
Eunki, Hong [Wed, 15 Jun 2022 12:57:34 +0000 (21:57 +0900)]
Discard some motion during pan gesture

When event spend so long time, a lot of events are queued.

Ecore cannot skip these event, so we make some heuristic
threshold of discard motion events on pan gesture.

We can setup this value by PanGestuerDetector's member vaule.
The name is "MaximumMotionEventAge".
the time scale is millisecond.

Default age is UINT_MAX ms (~= 49 days)
That mean, we will not discard every motion events.
(Ecore event callback also use uint32_t type in ms.)

Change-Id: Ib721e81d690327dcbc6c6c58383b33c7d5560922
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMake mScene nullptr when the Actor is disconnected from Scene recursively 46/276246/2
Heeyong Song [Mon, 13 Jun 2022 09:27:58 +0000 (18:27 +0900)]
Make mScene nullptr when the Actor is disconnected from Scene recursively

Change-Id: I2ef30d3ba471d87baae32d082e91426990d46463

2 years agoDALi Version 2.1.26 72/276172/1 dali_2.1.26
Adam Bialogonski [Fri, 10 Jun 2022 08:53:22 +0000 (09:53 +0100)]
DALi Version 2.1.26

Change-Id: Ie428ca744a9fbb266251cb3cdc36eafa3022214b

2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220614.134703 submit/tizen/20220610.060428
seungho [Thu, 9 Jun 2022 04:43:40 +0000 (13:43 +0900)]
[Tizen] Print backtrace when an exception occurs

This reverts commit cbd4a38adc20b3cf2c24cbfcb664229c055ab5ba.

Change-Id: I3fb257282485646fa403d1c10eb075de0c6efa50

2 years ago[Tizen] Not execute the remove callback
seungho [Thu, 9 Jun 2022 04:43:18 +0000 (13:43 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 961240a7276ec829a5eee8d437d60270b974a456.

Change-Id: I7784b6d986b523a92e50191c66bfebe3954cbb8a

2 years agoMerge branch 'devel/master' into tizen
seungho [Thu, 9 Jun 2022 04:43:07 +0000 (13:43 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I76bd145f4ff3eaf7a09d21a8734c13993de25e3b

2 years agoRevert "[Tizen] Not execute the remove callback"
seungho [Thu, 9 Jun 2022 04:42:55 +0000 (13:42 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit c194b3092f150604b84e29e7bb7f54023e0926d8.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
seungho [Thu, 9 Jun 2022 04:42:52 +0000 (13:42 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit c59f247d347236232169a2c506e5e7316c4c6346.

2 years agoMinor optimize during iterate of uniform map 79/275879/1
Eunki, Hong [Fri, 3 Jun 2022 12:30:57 +0000 (21:30 +0900)]
Minor optimize during iterate of uniform map

Dali::Vector.End() operation is heavy.
We don't need to calculate this value every iteration. So just precalculate
the end-of-iterate. It will increase performance.

Change-Id: I475d01367348943f0f4b12a6aeb870c413db0dfc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220607.135139 submit/tizen/20220602.091658 submit/tizen/20220602.091838
Heeyong Song [Thu, 2 Jun 2022 07:26:15 +0000 (16:26 +0900)]
[Tizen] Print backtrace when an exception occurs

2 years ago[Tizen] Not execute the remove callback
Heeyong Song [Thu, 2 Jun 2022 07:25:57 +0000 (16:25 +0900)]
[Tizen] Not execute the remove callback

2 years agoMerge branch 'devel/master' into tizen
Heeyong Song [Thu, 2 Jun 2022 07:25:21 +0000 (16:25 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Heeyong Song [Thu, 2 Jun 2022 07:24:47 +0000 (16:24 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 7ee3b9c4616ae72d5cc8a1b83fc78d950f598a4b.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
Heeyong Song [Thu, 2 Jun 2022 07:24:08 +0000 (16:24 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit c22b674a3185006c90946c65c1b8b642259c3a8c.

2 years agoDALi Version 2.1.25 69/275769/1 dali_2.1.25
Richard Huang [Wed, 1 Jun 2022 10:14:51 +0000 (11:14 +0100)]
DALi Version 2.1.25

Change-Id: Ia40d6c528558b1c2b7223acf67240ef63e43a91a

2 years agoMerge "DALi Version 2.1.24" into devel/master
Adeel Kazmi [Fri, 27 May 2022 12:19:14 +0000 (12:19 +0000)]
Merge "DALi Version 2.1.24" into devel/master

2 years agoDALi Version 2.1.24 36/275636/1 dali_2.1.24
Adeel Kazmi [Fri, 27 May 2022 12:00:48 +0000 (13:00 +0100)]
DALi Version 2.1.24

Change-Id: I8fe305f73b9987fd87366d06cb3c9225d3375231

2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220531.143757 submit/tizen/20220527.062641
Seoyeon Kim [Fri, 27 May 2022 01:54:06 +0000 (10:54 +0900)]
[Tizen] Print backtrace when an exception occurs

This reverts commit 85ad59858bae5804f35ba682e42c828d0ec5519e.

2 years ago[Tizen] Not execute the remove callback
Seoyeon Kim [Fri, 27 May 2022 01:53:48 +0000 (10:53 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 0edebcea2a82f9d873e0a4f9f94e83e4c9606c67.

2 years agoMerge branch 'devel/master' into tizen
Seoyeon Kim [Fri, 27 May 2022 01:53:33 +0000 (10:53 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Seoyeon Kim [Fri, 27 May 2022 01:48:43 +0000 (10:48 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit c2a8dd5254fcfb88f7341a9422900e0c27d3d173.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
Seoyeon Kim [Fri, 27 May 2022 01:48:37 +0000 (10:48 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit c4fdd06b5c40cf636afb26435ca3e9c3b54c0565.

2 years agoRevert "[Tizen] Remove duplicated scene object deletion from VisualRenderer"
Seoyeon Kim [Fri, 27 May 2022 01:40:27 +0000 (10:40 +0900)]
Revert "[Tizen] Remove duplicated scene object deletion from VisualRenderer"

This reverts commit d2f18c7c22339007866456a003614f38dfbfee49.

2 years agoRevert "[Tizen] Delete Renderers before Shaders"
Seoyeon Kim [Fri, 27 May 2022 01:40:22 +0000 (10:40 +0900)]
Revert "[Tizen] Delete Renderers before Shaders"

This reverts commit c69ae7648e79e7bf76d3cee4e045bae4dd93ad02.

2 years agoRevrert "Enable assert alwayd in Dali::Vector" 87/275587/3
Eunki, Hong [Thu, 26 May 2022 16:46:38 +0000 (01:46 +0900)]
Revrert "Enable assert alwayd in Dali::Vector"

Due to the DALI_ASSERT_ALWAYS, Dali::Vector try to check
the range of index every times.
It might make some performance reducing.

Change-Id: I2fdcf435bda147f9ea102c3106cb44f0772a4899
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.23" into devel/master
Adeel Kazmi [Fri, 20 May 2022 12:26:26 +0000 (12:26 +0000)]
Merge "DALi Version 2.1.23" into devel/master

2 years agoDALi Version 2.1.23 10/275310/1 dali_2.1.23
Adam Bialogonski [Fri, 20 May 2022 10:16:21 +0000 (11:16 +0100)]
DALi Version 2.1.23

Change-Id: Ie34538906bedaf4a85e012130fe9c11a0ca78fb0

2 years agoFix when shader changeness not applied issue 63/275163/9
Eunki, Hong [Tue, 17 May 2022 11:52:00 +0000 (20:52 +0900)]
Fix when shader changeness not applied issue

If RenderList was reused, SG::Renderer::UpdateUniformMap didn't called.

So Render::Renderer will render with not-updated uniform-map
(But uniform map change counter is updated.)

This patch make sure that renderer's uniformMap changeness in Prepare time.
So it will be applied well before render call.

Change-Id: I06618e99f38fecd19d263afd7eaff2c30f241cc3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "base-signal connect and disconnect in O(1)" into devel/master
Eunki Hong [Wed, 18 May 2022 09:09:12 +0000 (09:09 +0000)]
Merge "base-signal connect and disconnect in O(1)" into devel/master

2 years agoMinor optimize during build uniform index maps 77/275077/6
Eunki, Hong [Mon, 16 May 2022 09:43:39 +0000 (18:43 +0900)]
Minor optimize during build uniform index maps

If node don't have any uniform properies,
we don't need to create about that node's index map.
Because that mean, this node will use only for renderItem's uniform.

Change-Id: Ife3bd0fc35293945786e52755ddaed49d31ae177
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoKeyframe->GetValue works on O(log n) 01/275101/3
Eunki, Hong [Mon, 16 May 2022 17:00:41 +0000 (02:00 +0900)]
Keyframe->GetValue works on O(log n)

Previous code iterate whole key-frame to get interpolated progress value.
This patch make this job in O(log n).

So we can run animation faster even it have near 500 key-frames.

Change-Id: I14ee07db7aa75142aaaf323af7cfde9522d3851d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agobase-signal connect and disconnect in O(1) 17/274617/13
Eunki, Hong [Tue, 3 May 2022 14:24:22 +0000 (23:24 +0900)]
base-signal connect and disconnect in O(1)

Make base-signal control the connection in O(1)
by std::unordered_map and std::list<>::iterator.
and make connection-tracker control the connection in O(1)
by std::unordered_map

std::unordered_map can found duplicated value fast
and std::list<>::iterator can access & remove value fast.
And also, std::list can keep ordered by inputed time.

TODO : Remove the dependency of std::vector header in dali-signal.h
is quite big process. Will be done in other patch

Change-Id: I940d33c46b1470973219c7a9fb10ac89dd70f1ff
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Apply Visual's transform + borderline properties for partial update" into...
David Steele [Fri, 13 May 2022 15:10:41 +0000 (15:10 +0000)]
Merge "Apply Visual's transform + borderline properties for partial update" into devel/master

2 years agoDALi Version 2.1.22 18/275018/1 dali_2.1.22
Richard Huang [Fri, 13 May 2022 11:01:03 +0000 (12:01 +0100)]
DALi Version 2.1.22

Change-Id: I4f1ac3a9a654f2b1469d6d8a1f189e646df30ebc

2 years ago[Tizen] Delete Renderers before Shaders 85/274985/1 accepted/tizen/unified/20220524.050413 submit/tizen/20220517.083431
Heeyong Song [Thu, 12 May 2022 07:16:07 +0000 (16:16 +0900)]
[Tizen] Delete Renderers before Shaders

Change-Id: Ib7744acb7f4bed8032c50f7a388f74027afb55b2

2 years ago[Tizen] Remove duplicated scene object deletion from VisualRenderer 84/274984/1
Heeyong Song [Thu, 12 May 2022 07:13:59 +0000 (16:13 +0900)]
[Tizen] Remove duplicated scene object deletion from VisualRenderer

Change-Id: I50ef48dd8d5253360f2bc0b564ad6e84395f329a

2 years agoApply Visual's transform + borderline properties for partial update 82/274182/21
Eunki, Hong [Fri, 22 Apr 2022 10:02:47 +0000 (19:02 +0900)]
Apply Visual's transform + borderline properties for partial update

Previously, PartialUpdate cannot know the vertex positions
after transform the visual.
But now, we can use VisualRender's animatable properties.

This patch re-calculate the partial update size
so we can consider Visual Transform.

And more, We make DecoratedVisualRenderer so we can use
CornerRadius + etc as default property
and also can re-calculate update size consider with BorderlineWidth or BlurRadius

Change-Id: I99962f7cda3fb51defc439cf5f1517278aa0daa4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDelete Renderers before Shaders 30/274930/1
Heeyong Song [Thu, 12 May 2022 07:16:07 +0000 (16:16 +0900)]
Delete Renderers before Shaders

Change-Id: Ib7744acb7f4bed8032c50f7a388f74027afb55b2

2 years agoRemove duplicated scene object deletion from VisualRenderer 28/274928/1
Heeyong Song [Thu, 12 May 2022 07:13:59 +0000 (16:13 +0900)]
Remove duplicated scene object deletion from VisualRenderer

Change-Id: I50ef48dd8d5253360f2bc0b564ad6e84395f329a

2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220511.100048 submit/tizen/20220510.061312 submit/tizen/20220510.081954 submit/tizen/20220511.064024
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:07:17 +0000 (14:07 +0900)]
[Tizen] Print backtrace when an exception occurs

This reverts commit a111f7ee1ce464184ddd1765fb2ba0477a2f2f4b.

2 years ago[Tizen] Not execute the remove callback
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:06:47 +0000 (14:06 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 23094847986de3be2974ee672ed843b42148514e.

2 years agoMerge branch 'devel/master' into tizen
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:06:00 +0000 (14:06 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:05:48 +0000 (14:05 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 72568526da72679bdba746b829f719e7b6d024d2.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:05:31 +0000 (14:05 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit 2b6582355a641702eca8c919a6eb97e0c42bddf6.

2 years agoMerge "Add API to UpdateProxy" into devel/master
Heeyong Song [Mon, 9 May 2022 00:59:19 +0000 (00:59 +0000)]
Merge "Add API to UpdateProxy" into devel/master

2 years agoDALi Version 2.1.21 11/274711/1 dali_2.1.21
David Steele [Fri, 6 May 2022 11:37:06 +0000 (12:37 +0100)]
DALi Version 2.1.21

Change-Id: I87bb688c0b7635d23bc6f0d85237ba14549dfb34

2 years agoAdd API to UpdateProxy 53/274253/3
Heeyong Song [Mon, 25 Apr 2022 09:39:06 +0000 (18:39 +0900)]
Add API to UpdateProxy

Change-Id: Icd9ef2011a6381ccad62a9f3edea750e392500ae

2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220505.024852 submit/tizen/20220503.090411
Taehyub Kim [Tue, 3 May 2022 08:09:27 +0000 (17:09 +0900)]
[Tizen] Print backtrace when an exception occurs

This reverts commit 4d9016824ba367c5a224e303494be5eecc00cf10.

2 years ago[Tizen] Not execute the remove callback
Taehyub Kim [Tue, 3 May 2022 08:09:13 +0000 (17:09 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 924db8256c1a1971053ae921cbee11370a587196.

2 years agoMerge branch 'devel/master' into tizen
Taehyub Kim [Tue, 3 May 2022 08:08:54 +0000 (17:08 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ibb68ab138f893b33dad8011c2d4bbd3f49d14162

2 years agoRevert "[Tizen] Not execute the remove callback"
Taehyub Kim [Tue, 3 May 2022 08:08:37 +0000 (17:08 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 300650e4973cd617dbf7e08e297e12bd7078a0e9.

2 years agoRevert "[Tizen] Print backtrace when an exception occurs"
Taehyub Kim [Tue, 3 May 2022 08:08:21 +0000 (17:08 +0900)]
Revert "[Tizen] Print backtrace when an exception occurs"

This reverts commit fc0f36cc2f9a308161d26120e8d2da38e2bb5f1f.

2 years agoMerge "DALi Version 2.1.20" into devel/master
Adeel Kazmi [Fri, 29 Apr 2022 12:23:01 +0000 (12:23 +0000)]
Merge "DALi Version 2.1.20" into devel/master

2 years agoMerge "Simplifying UniformMap updating" into devel/master
David Steele [Fri, 29 Apr 2022 11:13:33 +0000 (11:13 +0000)]
Merge "Simplifying UniformMap updating" into devel/master

2 years agoDALi Version 2.1.20 99/274499/1 dali_2.1.20
Adam Bialogonski [Fri, 29 Apr 2022 09:52:34 +0000 (10:52 +0100)]
DALi Version 2.1.20

Change-Id: I1c92a82a41be6d385c7ab307b24edc04b25b730e

2 years agoFix memory leak of visual renderer 12/274412/1
Eunki, Hong [Thu, 28 Apr 2022 01:54:47 +0000 (10:54 +0900)]
Fix memory leak of visual renderer

SceneGraph::Renderer didn't remove the memory of
ANimatableVisualProperties.

This patch make AnimatableVIsualProperties as OwnerPointer
so SceneGraph::Renderer will delete it's memory well.

Change-Id: I85f0c40af0fc594b86bd0b9f93f13c24e93b9f8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Print backtrace when an exception occurs accepted/tizen/unified/20220429.003421 submit/tizen/20220426.044425 submit/tizen/20220426.051358 submit/tizen/20220427.060039
Daekwang Ryu [Tue, 26 Apr 2022 01:44:22 +0000 (10:44 +0900)]
[Tizen] Print backtrace when an exception occurs

This reverts commit 14676776439633d75fb8912f343f411d6de5a61a.

Change-Id: I2f3aac87040ae117b2c3e8a7de2c3ae2726f35a4

2 years ago[Tizen] Not execute the remove callback
Daekwang Ryu [Tue, 26 Apr 2022 01:44:06 +0000 (10:44 +0900)]
[Tizen] Not execute the remove callback

This reverts commit bff3fdc6aae849fb4ed5b3e2b6eb52ae70912a58.

Change-Id: Iec715ee4d05d574442d7133c5bf6513b0cd3ad8d

2 years agoMerge branch 'devel/master' into tizen
Daekwang Ryu [Tue, 26 Apr 2022 01:43:53 +0000 (10:43 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I2c00f932b5279f2a71840c842da6d1bc73fcf5b2

2 years agoRevert "[Tizen] Not execute the remove callback"
Daekwang Ryu [Tue, 26 Apr 2022 01:43:29 +0000 (10:43 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit b3fa6fd4b2e1cd1ef58b2f0cd966d4a29fe31f01.