platform/core/uifw/dali-core.git
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 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

2 years ago[Tizen] Not execute the remove callback
dongsug.song [Mon, 22 Nov 2021 07:36:16 +0000 (16:36 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 22917c015433ed2cbbf7e6cfe9a6910e8955a65e.

Change-Id: I65501315546eade16f4e72ffd88db420fcce0c20

2 years agoMerge branch 'devel/master' into tizen
dongsug.song [Mon, 22 Nov 2021 07:35:58 +0000 (16:35 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I2c395ca4ed69d2c5bc8512ee99fb4c68ff41937c

2 years agoRevert "[Tizen] Not execute the remove callback"
dongsug.song [Mon, 22 Nov 2021 07:35:38 +0000 (16:35 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 566ab46fd835e3fb700a2ddffcd66e79983ca646.

2 years agoRevert "[Tizen] Let range for loop don't touch container at RenderManager"
dongsug.song [Mon, 22 Nov 2021 07:35:36 +0000 (16:35 +0900)]
Revert "[Tizen] Let range for loop don't touch container at RenderManager"

This reverts commit 4c4c6bf206ad121acc41ce145c88fbb54e86f5f2.

2 years agoRevert "[Tizen] Don't do AABB culling if the clipping mode of the node is enabled"
dongsug.song [Mon, 22 Nov 2021 07:35:33 +0000 (16:35 +0900)]
Revert "[Tizen] Don't do AABB culling if the clipping mode of the node is enabled"

This reverts commit 907d83a0396c252d5864a27e6ad0d0691a584257.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
dongsug.song [Mon, 22 Nov 2021 07:35:30 +0000 (16:35 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit 672d60b90f8a554134a4e327a5e0caaa0894cc7a.

2 years agoRevert "[Tizen] Prevent accessing invalid index"
dongsug.song [Mon, 22 Nov 2021 07:35:25 +0000 (16:35 +0900)]
Revert "[Tizen] Prevent accessing invalid index"

This reverts commit 648e934287d6bf7863c0c330d5052f0a34019771.

2 years agoDali::Vector release data more safe (Dali::Vector::Replace) 87/266687/6
Eunki, Hong [Wed, 17 Nov 2021 07:44:38 +0000 (16:44 +0900)]
Dali::Vector release data more safe (Dali::Vector::Replace)

We got some issue when someone use mData
during Dali::Vector is on reserving.

In this case, mData = nullptr (or mData memory is deleted.) very short time.

Now, we add VectorBase::Replace(void* newData) function.
It mean, VectorBase::mData will be replaced as newData.

It can block thread integrity issue.

Note : VectorBase::Copy can have nullptr between Release() <-> Reserve()
There is no way to fix it without any additional memory.
So just keep current implement logic.

Change-Id: Ie09b1bc00146f4c3be9294853a32c093b3597fba
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoLet range for loop don't touch container at RenderManager 45/266045/5
Eunki, Hong [Thu, 4 Nov 2021 13:01:47 +0000 (22:01 +0900)]
Let range for loop don't touch container at RenderManager

Reallocate or Resize the container during range-based-loop is UB.
So many case, we try to not add/erase some items during range-based-loop is working.

There was some codes that erase item during for loop.
So I make it out, for safety.

Change-Id: I919510200adfafbd95a6202ac295ffb7bc06c408
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoRecalculated layer's reusability flags after transform update 97/266497/2
David Steele [Fri, 12 Nov 2021 16:20:09 +0000 (16:20 +0000)]
Recalculated layer's reusability flags after transform update

Layer's reusability flags were being left as true causing
some examples to fail to render properly, as render items
were being reused without being updated after a transform.

Reworked UpdateNodes to move layer reusability calculation
until after TransformManager::Update.

Change-Id: Id0e30489074ae3690984e4f95f0b3cd730d80440

2 years agoReset node animatable properties for two frames after removing the frame callback 94/266094/4
Richard Huang [Fri, 5 Nov 2021 15:47:28 +0000 (15:47 +0000)]
Reset node animatable properties for two frames after removing the frame callback

Change-Id: I67e0ee42b2da8076fa47cadf2af1435c89a4a431

2 years agoFix the local matrix dirty flags for transform components 45/265845/4
Richard Huang [Fri, 29 Oct 2021 13:08:11 +0000 (14:08 +0100)]
Fix the local matrix dirty flags for transform components

Change-Id: I0e54461468d2e0c923757ab9dc2a7d79f93ea2fe

2 years agoFixed node dirty flags when inheriting the flags from the parent node 19/265719/3
Richard Huang [Wed, 27 Oct 2021 16:43:23 +0000 (17:43 +0100)]
Fixed node dirty flags when inheriting the flags from the parent node

Change-Id: I112641e530c0c56f8c793ddf8e263366a16cfe08

2 years agoFix the camera's projection matrix when copying it from the previous frame 77/265577/4
Richard Huang [Fri, 22 Oct 2021 10:14:49 +0000 (11:14 +0100)]
Fix the camera's projection matrix when copying it from the previous frame

Change-Id: Ic189b49d2bd824e5ad8802396bd26b5224701dc2

2 years agoAdd a node resetter that resets the animatable properties for two frames after node... 05/265205/4
Richard Huang [Tue, 12 Oct 2021 15:26:04 +0000 (16:26 +0100)]
Add a node resetter that resets the animatable properties for two frames after node connection

Change-Id: I3a64c3719107c231085a524b05c1302977ccde10

2 years agoMerge "DALi Version 2.0.53" into devel/master
Adeel Kazmi [Thu, 18 Nov 2021 14:15:04 +0000 (14:15 +0000)]
Merge "DALi Version 2.0.53" into devel/master

2 years agoDALi Version 2.0.53 75/266775/1 dali_2.0.53
Richard [Thu, 18 Nov 2021 11:59:43 +0000 (11:59 +0000)]
DALi Version 2.0.53

Change-Id: Ib413dcfba88735cfa6a1bd33d8569ff03cf75beb

2 years agoFix SVACE error in render-manager.cpp 70/266770/1
Adeel Kazmi [Thu, 18 Nov 2021 10:35:20 +0000 (10:35 +0000)]
Fix SVACE error in render-manager.cpp

Change-Id: I4da240f713fef7777d5c653de52397e3f8cb9afc

2 years agoRefactored actor size negotiation 83/266583/3
David Steele [Mon, 15 Nov 2021 13:37:20 +0000 (13:37 +0000)]
Refactored actor size negotiation

Moved all size negotiation implementation to a new
ActorSizer class. This handles size negotiation and
target / animated size.

Moved static methods from ActorRelayouter into ActorSizer.

Change-Id: I5137bb333d0254c80ede361ee7d36899830de21f
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoMerge "(Partial update) Reset the updated flag after calculating the update area...
Heeyong Song [Wed, 17 Nov 2021 10:34:51 +0000 (10:34 +0000)]
Merge "(Partial update) Reset the updated flag after calculating the update area" into devel/master

2 years agoMerge "Don't do AABB culling if the clipping mode of the node is enabled" into devel...
Heeyong Song [Wed, 17 Nov 2021 10:34:33 +0000 (10:34 +0000)]
Merge "Don't do AABB culling if the clipping mode of the node is enabled" into devel/master

2 years ago[Tizen] Prevent accessing invalid index 00/266700/1 submit/tizen/20211207.091609
Heeyong Song [Wed, 17 Nov 2021 09:21:07 +0000 (18:21 +0900)]
[Tizen] Prevent accessing invalid index

Change-Id: I31ce3b658bff9dadcf235d87257c0ca6bf82705b

2 years ago[Tizen] Update RenderState in PreRender submit/tizen/20211117.081222
Shinwoo Kim [Wed, 17 Nov 2021 01:49:09 +0000 (10:49 +0900)]
[Tizen] Update RenderState in PreRender

This reverts commit 53962366b6f3138455ddb929b1c25a25d2e15252.

2 years ago[Tizen] Don't do AABB culling if the clipping mode of the node is enabled
Shinwoo Kim [Wed, 17 Nov 2021 01:48:34 +0000 (10:48 +0900)]
[Tizen] Don't do AABB culling if the clipping mode of the node is enabled

This reverts commit 168b7bff5966cc0a758ab92442831e8f51726c2b.

2 years ago[Tizen] Let range for loop don't touch container at RenderManager
Shinwoo Kim [Wed, 17 Nov 2021 01:48:13 +0000 (10:48 +0900)]
[Tizen] Let range for loop don't touch container at RenderManager

This reverts commit f5fcca88a4a97ad90572aa145a0dae3466337e4a.

2 years ago[Tizen] Not execute the remove callback
Shinwoo Kim [Wed, 17 Nov 2021 01:42:28 +0000 (10:42 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 6f7b0d8829c7dd3a36d508c7d8fcc1e5256cd599.

2 years agoMerge branch 'devel/master' into tizen
Shinwoo Kim [Wed, 17 Nov 2021 01:40:57 +0000 (10:40 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
Shinwoo Kim [Wed, 17 Nov 2021 01:40:29 +0000 (10:40 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit a8fe876af4f2f46dccd5d361580ac37bec7aa2a9.

2 years agoRevert "[Tizen] Add assertion to Vector"
Shinwoo Kim [Wed, 17 Nov 2021 01:40:21 +0000 (10:40 +0900)]
Revert "[Tizen] Add assertion to Vector"

This reverts commit 5270be1081ec39485fecf163937b6902e9533354.

2 years agoRevert "[Tizen] Let range for loop don't touch container at RenderManager"
Shinwoo Kim [Wed, 17 Nov 2021 01:40:13 +0000 (10:40 +0900)]
Revert "[Tizen] Let range for loop don't touch container at RenderManager"

This reverts commit 517e77443c5143d083e826b6bbb88593e6930e10.

2 years agoRevert "[Tizen] Don't do AABB culling if the clipping mode of the node is enabled"
Shinwoo Kim [Wed, 17 Nov 2021 01:40:03 +0000 (10:40 +0900)]
Revert "[Tizen] Don't do AABB culling if the clipping mode of the node is enabled"

This reverts commit b5ce6ba2a3edf1cbe163a97aa2b63ee6369fa139.

2 years agoRevert "[Tizen] Use std::abort instead of assert"
Shinwoo Kim [Wed, 17 Nov 2021 01:39:55 +0000 (10:39 +0900)]
Revert "[Tizen] Use std::abort instead of assert"

This reverts commit ddef37646fa22fdca23729667212527dddad05b4.

2 years agoRevert "[Tizen] Fix wrong condition"
Shinwoo Kim [Wed, 17 Nov 2021 01:39:46 +0000 (10:39 +0900)]
Revert "[Tizen] Fix wrong condition"

This reverts commit 5ad74f2eaab997b989c6cc675f1fdeeaa261a496.

2 years agoRevert "[Tizen] Update RenderState in PreRender"
Shinwoo Kim [Wed, 17 Nov 2021 01:39:38 +0000 (10:39 +0900)]
Revert "[Tizen] Update RenderState in PreRender"

This reverts commit a5c69f680da5cb00a9d9973584057f4ef08d1f8e.

2 years ago(Partial update) Reset the updated flag after calculating the update area 02/266602/1
Heeyong Song [Tue, 16 Nov 2021 06:21:05 +0000 (15:21 +0900)]
(Partial update) Reset the updated flag after calculating the update area

We had an issue that the updated flag of non-renderable actor was not reset.
It should also be reset after calculating the update area.
So reset the updated flag of all nodes.

Change-Id: I8b4d540996565ba2d0ef9e528114dad5e3de2475

2 years agoDon't do AABB culling if the clipping mode of the node is enabled 15/266215/3
Heeyong Song [Tue, 9 Nov 2021 07:33:03 +0000 (16:33 +0900)]
Don't do AABB culling if the clipping mode of the node is enabled

It should not be culled because the clipping rect should be used.

Change-Id: I7d5895c8471720ba808d0c5919adb1b4288c5f18

2 years agoSet TransformId after Initialize finished 94/266594/2
Eunki, Hong [Tue, 16 Nov 2021 04:27:45 +0000 (13:27 +0900)]
Set TransformId after Initialize finished

Setup mTransformManagerData.mId after transform data initialize done.
After this patch, we can assume that
if mTransformManagerData.Id() is INVALID_TRANSFORM_ID, then
mTransformManagerData is not initialized

Change-Id: I282dc1a42765cb6037e4164dd9aecdfe98fb84ba
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.0.52 77/266477/1 dali_2.0.52
Adeel Kazmi [Fri, 12 Nov 2021 10:48:16 +0000 (10:48 +0000)]
DALi Version 2.0.52

Change-Id: I2fb8a867bf1c1f2c9a52416f4fd076d583a8eb21

2 years ago[Tizen] Update RenderState in PreRender 62/266462/1
Heeyong Song [Fri, 12 Nov 2021 09:08:54 +0000 (18:08 +0900)]
[Tizen] Update RenderState in PreRender

Change-Id: I2da4ae913ecbf48ec288b59c21beb1d74a9e973d

2 years agoRefactored more code into Actor::Relayouter 48/266248/1
David Steele [Tue, 9 Nov 2021 18:19:08 +0000 (18:19 +0000)]
Refactored more code into Actor::Relayouter

Change-Id: I19e711ddc963e62a882679ca0afebfc5e25bb339

2 years ago[Tizen] Fix wrong condition 34/266234/1 accepted/tizen/unified/20211111.120213 submit/tizen/20211111.063012
Heeyong Song [Tue, 9 Nov 2021 10:40:34 +0000 (19:40 +0900)]
[Tizen] Fix wrong condition

Change-Id: I37cd995142424c50410877fd987267b5866c0bab

2 years ago[Tizen] Use std::abort instead of assert 32/266232/1
Heeyong Song [Tue, 9 Nov 2021 09:10:53 +0000 (18:10 +0900)]
[Tizen] Use std::abort instead of assert

Change-Id: Ic43a91489ca9c396da5fd2bb5acf8c049066c7b9

2 years ago[Tizen] Don't do AABB culling if the clipping mode of the node is enabled 16/266216/1
Heeyong Song [Tue, 9 Nov 2021 07:33:03 +0000 (16:33 +0900)]
[Tizen] Don't do AABB culling if the clipping mode of the node is enabled

It should not be culled because the clipping rect should be used.

Change-Id: I7d5895c8471720ba808d0c5919adb1b4288c5f18