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

3 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

3 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

3 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

3 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

3 years agoMoved more actor methods into relayouter 48/265848/2
David Steele [Fri, 29 Oct 2021 15:17:23 +0000 (16:17 +0100)]
Moved more actor methods into relayouter

Change-Id: Ia7cbec6bda7741797463a2bf571073043e628c5e

3 years ago[Tizen] Let range for loop don't touch container at RenderManager submit/tizen/20211109.063334
Taehyub Kim [Mon, 8 Nov 2021 05:41:54 +0000 (14:41 +0900)]
[Tizen] Let range for loop don't touch container at RenderManager

This reverts commit ca9ab5c8cbe015919dec88b7445941389c08fc8d.

3 years ago[Tizen] Add assertion to Vector
Taehyub Kim [Mon, 8 Nov 2021 05:41:33 +0000 (14:41 +0900)]
[Tizen] Add assertion to Vector

This reverts commit f0903fc96fd2cf9dc7cd9250f4aa76e209e95e7f.

3 years ago[Tizen] Not execute the remove callback
Taehyub Kim [Mon, 8 Nov 2021 05:40:46 +0000 (14:40 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 34cc63a0dbdb2e0389f0b03c9f76825e05b6efba.

3 years agoMerge branch 'devel/master' into tizen
Taehyub Kim [Mon, 8 Nov 2021 05:39:23 +0000 (14:39 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ic5f6a994f8fa6cd96e2db1bcae322fc1d7aaf3f2

3 years agoRevert "[Tizen] Not execute the remove callback"
Taehyub Kim [Mon, 8 Nov 2021 05:38:46 +0000 (14:38 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 4bf5f61d32fdaa626fd3da61e2820421bd5de3ec.

3 years agoRevert "[Tizen] Add assertion to Vector"
Taehyub Kim [Mon, 8 Nov 2021 05:38:44 +0000 (14:38 +0900)]
Revert "[Tizen] Add assertion to Vector"

This reverts commit a8b6d8e18765116c9f6d36c0baaad1d38349ddd2.

3 years agoRevert "[Tizen] Let range for loop don't touch container at RenderManager"
Taehyub Kim [Mon, 8 Nov 2021 05:38:41 +0000 (14:38 +0900)]
Revert "[Tizen] Let range for loop don't touch container at RenderManager"

This reverts commit 8e3802536c6d31422a6ffc54b5ada8f33923c5a3.

3 years agoDALi Version 2.0.51 80/266080/1 dali_2.0.51
Adeel Kazmi [Fri, 5 Nov 2021 10:43:55 +0000 (10:43 +0000)]
DALi Version 2.0.51

Change-Id: I40ccf8b1220abaf6b3bbbd9a0960b941720a3d9a

3 years ago[Tizen] Let range for loop don't touch container at RenderManager 59/266059/1
Eunki Hong [Fri, 5 Nov 2021 04:04:39 +0000 (21:04 -0700)]
[Tizen] Let range for loop don't touch container at RenderManager

Change-Id: Ia81f1bf25adc2840ef11ae0d8d944353cb977c51
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 years ago(ActorImpl) Reduced LOC 02/266002/1
Adeel Kazmi [Wed, 3 Nov 2021 19:20:39 +0000 (19:20 +0000)]
(ActorImpl) Reduced LOC

Change-Id: Idda1efb9b95056e0cd55b37574bb0e2e87b88db4

3 years agoEnsure a FrameCallback is removed properly from a FrameCallbackInterface 71/265971/3
Adeel Kazmi [Tue, 2 Nov 2021 18:56:41 +0000 (18:56 +0000)]
Ensure a FrameCallback is removed properly from a FrameCallbackInterface

Change-Id: Ib24a383db0512ea757e06137433aef9419b84a5b

3 years ago[Tizen] Add assertion to Vector
tscholb [Mon, 1 Nov 2021 07:34:36 +0000 (16:34 +0900)]
[Tizen] Add assertion to Vector

This reverts commit 33a8f601e33017f8cacdb66c1261f185faab5e8f.

[Tizen] Add comment

This reverts commit 442b2b225b53fb1b04ade3193a94b3f9afd49779.

[Tizen] Remove throwing exception

This reverts commit fce5b62c25ff8e205a059e24c53b8e0161ddc2f0.

3 years ago[Tizen] Not execute the remove callback
tscholb [Mon, 1 Nov 2021 07:19:38 +0000 (16:19 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 023f339c1404c0cb0cb9f6f8ec759690c342a396.

3 years agoMerge branch 'devel/master' into tizen
tscholb [Mon, 1 Nov 2021 07:16:06 +0000 (16:16 +0900)]
Merge branch 'devel/master' into tizen

3 years agoRevert "[Tizen] Not execute the remove callback"
tscholb [Mon, 1 Nov 2021 07:15:44 +0000 (16:15 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit c3535f3b72da0cca7af1216b1b7198fa3acad369.

3 years agoRevert "[Tizen] Add temporaty log to node"
tscholb [Mon, 1 Nov 2021 07:15:37 +0000 (16:15 +0900)]
Revert "[Tizen] Add temporaty log to node"

This reverts commit 776ce7a1852d540b8ab9bc42689be6037a3309bd.

3 years agoRevert "[Tizen] Add assertion to Vector"
tscholb [Mon, 1 Nov 2021 07:15:33 +0000 (16:15 +0900)]
Revert "[Tizen] Add assertion to Vector"

This reverts commit a3f2bd06b1b30eebd62f946b5d7e5888ffec018e.

3 years agoRevert "[Tizen] Add comment"
tscholb [Mon, 1 Nov 2021 07:15:30 +0000 (16:15 +0900)]
Revert "[Tizen] Add comment"

This reverts commit 1b975b4acbfe3272a8804541336cd385605cd06c.

3 years agoRevert "[Tizen] Remove throwing exception"
tscholb [Mon, 1 Nov 2021 07:15:26 +0000 (16:15 +0900)]
Revert "[Tizen] Remove throwing exception"

This reverts commit cc5832843a63cfe3a6b52ee57f73a67c095a62e4.

3 years agoRevert "[Tizen] Exact planeclipping for actor's hit algorithm"
tscholb [Mon, 1 Nov 2021 07:15:23 +0000 (16:15 +0900)]
Revert "[Tizen] Exact planeclipping for actor's hit algorithm"

This reverts commit 60ff852dde6d7bdb368e85720154addbc60f9e74.

3 years agoRevert "[Tizen] Protect dereferencing null in Node"
tscholb [Mon, 1 Nov 2021 07:15:10 +0000 (16:15 +0900)]
Revert "[Tizen] Protect dereferencing null in Node"

This reverts commit fcb81cd980326b1cfc9f5672b1211b36785537f3.

3 years agoMerge "Update the preferred size after relayoutting" into devel/master
Heeyong Song [Mon, 1 Nov 2021 00:58:02 +0000 (00:58 +0000)]
Merge "Update the preferred size after relayoutting" into devel/master

3 years agoDALi Version 2.0.50 28/265828/1 dali_2.0.50
David Steele [Fri, 29 Oct 2021 09:05:51 +0000 (10:05 +0100)]
DALi Version 2.0.50

Change-Id: Ia32bcbb9470d0656f64acfe395a62dbf7d5c46d1

3 years ago[Tizen] Protect dereferencing null in Node 13/265813/1
Heeyong Song [Tue, 19 Oct 2021 04:17:17 +0000 (13:17 +0900)]
[Tizen] Protect dereferencing null in Node

Change-Id: I60506f563fefc31c9c70b7067fc45f91d6929b96

3 years ago[Tizen] Exact planeclipping for actor's hit algorithm 00/265800/1
Eunki Hong [Thu, 28 Oct 2021 07:11:27 +0000 (00:11 -0700)]
[Tizen] Exact planeclipping for actor's hit algorithm

rayOriginLocal is difference vector betwwen the actor and the Camera(==rayOrigin).
ActorTest API's distance value is the real euclidean distance between rayOrigin and actor.
But we only need difference vector's z-axis value to clipping by View Space Plane.

So we get hitPointWorld and multiply ViewMatrix (get from renderTask's camera actor)
and get z-coordinate value at Camera Space.

Change-Id: I644fc5e9b306423d6fa58f92e492a2a7508047a6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 years agoExact planeclipping for actor's hit algorithm 67/265767/5
Eunki Hong [Thu, 28 Oct 2021 07:11:27 +0000 (00:11 -0700)]
Exact planeclipping for actor's hit algorithm

rayOriginLocal is difference vector betwwen the actor and the Camera(==rayOrigin).
ActorTest API's distance value is the real euclidean distance between rayOrigin and actor.
But we only need difference vector's z-axis value to clipping by View Space Plane.

So we get hitPointWorld and multiply ViewMatrix (get from renderTask's camera actor)
and get z-coordinate value at Camera Space.

Change-Id: I644fc5e9b306423d6fa58f92e492a2a7508047a6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 years agoUpdate the preferred size after relayoutting 46/265646/3
Heeyong Song [Tue, 26 Oct 2021 05:19:58 +0000 (14:19 +0900)]
Update the preferred size after relayoutting

It should be used in the next relayoutting

Change-Id: I3342de587942a9123ebb31cba4eac35c4e2b65ca

3 years agoIf the parent is intercepted, the child is informed that it is INTERRUPTED. 49/265649/3
joogab.yun [Tue, 26 Oct 2021 06:45:28 +0000 (15:45 +0900)]
If the parent is intercepted, the child is informed that it is INTERRUPTED.

Change-Id: I4ef25e7bad0883a9798f86add0b911de36078dea

3 years ago[Tizen] Remove throwing exception 76/265676/1
Heeyong Song [Wed, 27 Oct 2021 05:06:40 +0000 (14:06 +0900)]
[Tizen] Remove throwing exception

Change-Id: I9c186d07dee25923d68caf39e67eb771d1cb74e4

3 years agoMerge "DALi Version 2.0.49" into devel/master
Adeel Kazmi [Fri, 22 Oct 2021 11:25:28 +0000 (11:25 +0000)]
Merge "DALi Version 2.0.49" into devel/master

3 years agoDALi Version 2.0.49 79/265579/1 dali_2.0.49
Adam Bialogonski [Fri, 22 Oct 2021 10:24:45 +0000 (11:24 +0100)]
DALi Version 2.0.49

Change-Id: I99286537008bce74eb41966539bd4ec2d1915fea

3 years agoFix LogMessage format to print Filename / Functioname / Line 38/265538/2
Eunki, Hong [Thu, 21 Oct 2021 13:31:18 +0000 (22:31 +0900)]
Fix LogMessage format to print Filename / Functioname / Line

Add LogMessageDlogFormat macro to apply these informations :
Filename: Function(Line#) > "messages"

Previous LogMessage function always print like this
logging-tizen.cpp: LogMessage(38) > "messages"
So we fix to print actual informations

Default LogMessage(~~) will be used when someone don't need to follow up
Dlog format. (like ttrace and perfomance logger)

Change-Id: Idd87c1c0de3f842d02c023f32dc3dfef300b5dea
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoMoved actor recursion methods to actor-parent-impl 95/265495/1
David Steele [Wed, 20 Oct 2021 16:32:42 +0000 (17:32 +0100)]
Moved actor recursion methods to actor-parent-impl

Change-Id: I01a3153dc8849425f6b8e69f60c224dc36ee7d45

3 years agoRefactored out actor render container 94/265494/1
David Steele [Wed, 20 Oct 2021 14:43:24 +0000 (15:43 +0100)]
Refactored out actor render container

Change-Id: Ib7f45346b92d7c9674833da5c6b54e889e8da28f

3 years agoRefactored Actor screen to local conversion 93/265493/1
David Steele [Wed, 20 Oct 2021 13:40:37 +0000 (14:40 +0100)]
Refactored Actor screen to local conversion

Change-Id: I145644d1702e9e3f9f6571aff5651c811abbf39c

3 years agoMerge "Protect dereferencing null in Node" into devel/master
Heeyong Song [Wed, 20 Oct 2021 01:11:26 +0000 (01:11 +0000)]
Merge "Protect dereferencing null in Node" into devel/master

3 years agoSupports to acknowledge for completing window rotation 71/262971/13
Wonsik Jung [Tue, 24 Aug 2021 06:16:28 +0000 (15:16 +0900)]
Supports to acknowledge for completing  window rotation

It is waited the window rotation completing until a view finishes to draw.
The view is drawn on the other thread.
It means asychronous rendering occurs between dali render thread and the other thread when window is rotated.

Change-Id: Ia9ac33e3719a874c35c58acf91e92b96ac802c7f

3 years agoProtect dereferencing null in Node 18/265418/1
Heeyong Song [Tue, 19 Oct 2021 04:17:17 +0000 (13:17 +0900)]
Protect dereferencing null in Node

Change-Id: I60506f563fefc31c9c70b7067fc45f91d6929b96

3 years agoSkip rendering if the damaged rect is empty 99/265199/5
Heeyong Song [Tue, 12 Oct 2021 14:41:28 +0000 (23:41 +0900)]
Skip rendering if the damaged rect is empty

Change-Id: I9424cf079d68a4afd00fda11a5e01d740be8155a

3 years agoDALi Version 2.0.48 50/265350/1 dali_2.0.48
Richard Huang [Fri, 15 Oct 2021 09:43:41 +0000 (10:43 +0100)]
DALi Version 2.0.48

Change-Id: I1ba13133446071912493467c53f22ba7573eed68

3 years ago[Tizen] Add comment 28/265328/1
Heeyong Song [Fri, 15 Oct 2021 04:10:02 +0000 (13:10 +0900)]
[Tizen] Add comment

Change-Id: I1db6793c0d4c30695da53acb8714461aa56cfcff

3 years ago[Tizen] Add assertion to Vector 53/265253/1
Heeyong Song [Wed, 13 Oct 2021 08:00:05 +0000 (17:00 +0900)]
[Tizen] Add assertion to Vector

Change-Id: Ib09200441ee65bd75ed3394ee1525a6092808e34

3 years agoMerge "Adding photoshop blend modes to the GFX API" into devel/master
Adeel Kazmi [Fri, 8 Oct 2021 17:46:04 +0000 (17:46 +0000)]
Merge "Adding photoshop blend modes to the GFX API" into devel/master

3 years agoDALi Version 2.0.47 94/265094/1 dali_2.0.47
David Steele [Fri, 8 Oct 2021 13:54:22 +0000 (14:54 +0100)]
DALi Version 2.0.47

Change-Id: Ie0ca363284bc1ed55f9cc02359cd7730d20c2e9f