platform/core/uifw/dali-core.git
7 weeks agoMerge "DALi Version 2.3.48" into devel/master
David Steele [Fri, 1 Nov 2024 11:25:45 +0000 (11:25 +0000)]
Merge "DALi Version 2.3.48" into devel/master

7 weeks agoDALi Version 2.3.48 01/319801/1 dali_2.3.48
David Steele [Fri, 1 Nov 2024 11:17:21 +0000 (11:17 +0000)]
DALi Version 2.3.48

Change-Id: Ifbd240f24487c3c8ea78d810c952e5e0e791f933

7 weeks agoSupport Squircle factor for DecoratedVisual property : CornerSquareness 62/319662/4
Eunki, Hong [Tue, 29 Oct 2024 10:49:49 +0000 (19:49 +0900)]
Support Squircle factor for DecoratedVisual property : CornerSquareness

Change-Id: I19cec58730559a6bccd10fb2907aa6ccfc92bbab
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 weeks agoMerge changes If6e7b493,Iebcd2ba4 into devel/master
David Steele [Wed, 30 Oct 2024 16:49:25 +0000 (16:49 +0000)]
Merge changes If6e7b493,Iebcd2ba4 into devel/master

* changes:
  Changed Matrix3 uniform write to use stride
  Added comparison ops for Graphics::Viewport and Rect2D

7 weeks agoMake WeakHandleBase::mImpl as unique_ptr + nullcheck for Reset and comparision 52/319652/2
Eunki, Hong [Tue, 29 Oct 2024 08:58:23 +0000 (17:58 +0900)]
Make WeakHandleBase::mImpl as unique_ptr + nullcheck for Reset and comparision

Until now, WeakHandleBase::Reset() function and == operator
don't check mImpl was nullptr.

But it could be nullptr when we use move operations.

So we should check nullptr before call mImpl->Reset() and operator==.

===

Also, to avoid this kind of leak, let we use std::unique_ptr instead of raw pointer.

Change-Id: Icd0b603b825d6a1f5eb7697466da98af05540b2b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 weeks agoChanged Matrix3 uniform write to use stride 97/319397/5
David Steele [Tue, 22 Oct 2024 13:45:45 +0000 (14:45 +0100)]
Changed Matrix3 uniform write to use stride

If the uniform is in a block, then each row of 3 is padded
to 4 floats(16 bytes). Can get the stride from GLES/Vulkan reflection.

So, use matrixStride if not in the standalone uniform block
(which means it's gles2 and packed tightly).

Added test cases to check Mat3 uniform writing in both standalone
and uniform buffer.

Change-Id: If6e7b49318dae795972d5ae76092df48f4713cab
Signed-off-by: David Steele <david.steele@samsung.com>
8 weeks agoDALi Version 2.3.47 52/319552/1 dali_2.3.47
Adeel Kazmi [Fri, 25 Oct 2024 10:45:46 +0000 (11:45 +0100)]
DALi Version 2.3.47

Change-Id: Iead3b5d3edf64e07270662cb024d3b0cd4ea85e7

8 weeks agoAdded comparison ops for Graphics::Viewport and Rect2D 30/319130/5
David Steele [Tue, 15 Oct 2024 16:34:36 +0000 (17:34 +0100)]
Added comparison ops for Graphics::Viewport and Rect2D

Change-Id: Iebcd2ba4792cd4e6fad6423033fb4f592d32f2fc

2 months ago(AddOn Manager) New API to load addons/libraries rather than via an ENV variable 10/319410/3
Adeel Kazmi [Tue, 22 Oct 2024 17:52:47 +0000 (18:52 +0100)]
(AddOn Manager) New API to load addons/libraries rather than via an ENV variable

Change-Id: Ic11dc6920e390842a1bde610c1a1f732b212ff00

2 months agoMerge "Fixes in handling uniform buffers." into devel/master
Adeel Kazmi [Fri, 18 Oct 2024 13:26:11 +0000 (13:26 +0000)]
Merge "Fixes in handling uniform buffers." into devel/master

2 months agoDALi Version 2.3.46 41/319241/1 dali_2.3.46
Adam Bialogonski [Fri, 18 Oct 2024 06:44:11 +0000 (07:44 +0100)]
DALi Version 2.3.46

Change-Id: I74fe57654290c80020d46791cb51164e73bef230

2 months agoFixes in handling uniform buffers. 15/318815/4
Adam Bialogonski [Tue, 8 Oct 2024 15:38:29 +0000 (16:38 +0100)]
Fixes in handling uniform buffers.

- Using correct binding point for uniform buffers
- Getting correct UBO alignment offset from GL/Vulkan API

Change-Id: I34c752b3bb5ee770d9992c730810c58137b6378e

2 months agoMerge "Adding depth/stencil requirements" into devel/master
David Steele [Wed, 16 Oct 2024 15:18:39 +0000 (15:18 +0000)]
Merge "Adding depth/stencil requirements" into devel/master

2 months agoMerge "Fix partial update issue when clipping mode changed" into devel/master
Eunki Hong [Wed, 16 Oct 2024 06:57:26 +0000 (06:57 +0000)]
Merge "Fix partial update issue when clipping mode changed" into devel/master

2 months agoFix partial update issue when clipping mode changed 27/319127/3
Eunki, Hong [Tue, 15 Oct 2024 12:26:39 +0000 (21:26 +0900)]
Fix partial update issue when clipping mode changed

When some node's ancient node change cliping mode from
ClipChildren | ClipBoundingBox to Disable,

we should partial update descent nodes.

Change-Id: I39d28d7026b45df9dd2ca5d8913f9b542cb0086c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoDo not update componentwise animatable property's Set/Bake 38/319138/1
Eunki, Hong [Wed, 16 Oct 2024 05:09:23 +0000 (14:09 +0900)]
Do not update componentwise animatable property's Set/Bake

We don't update PropertyOwner's update state when the value was
not actuall changed.

But it doesn't reset the dirty flag of AnimatablePropertyBase.

Due to the AnimatablePropertyBase is not a clean flag,
the renderer who use constrait become always check as dirty
when we check dirty rect.

To fix this kind of issue, let we don't call OnSet and OnBake
if the componentwise value is equal.
(Since float comparision is cheap enough)

Change-Id: I3b3744aa420049523ece5bb72b915c8dd192d4f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoAdding depth/stencil requirements 31/318531/6
David Steele [Tue, 1 Oct 2024 19:37:08 +0000 (20:37 +0100)]
Adding depth/stencil requirements

During ubo/program requirements look, also check to
see if any node/render pairs require depth/stencil
buffer to be switched on for the surface. (This will
have no effect in GLES backend, or for offscreens)

In graphics API command buffer, merged stencilOp & stencilFunc into single
stencilState; as Gl and Vulkan stencil methods take different combinations
of the same params.

Had to fix some stencil clipping test cases, as order of GL method calls
had changed. (Should change to test GraphicsAPI, not GL mock)

Ensured depth clear color defaults to 1.0 (the furthest depth)

Change-Id: Ifbf4f3349b93d4c72b7d1024d40ae21680e65c4e

2 months agoDALi Version 2.3.45 67/318967/1 dali_2.3.45
Richard Huang [Fri, 11 Oct 2024 09:43:06 +0000 (10:43 +0100)]
DALi Version 2.3.45

Change-Id: If1a29d2fd97156f9ba938668bc8a2258f729658d

2 months ago(Automated Tests) Render Surface Sync 36/318836/2
Adeel Kazmi [Wed, 9 Oct 2024 21:46:17 +0000 (22:46 +0100)]
(Automated Tests) Render Surface Sync

Change-Id: I84e317ba916b98f5660e49830b6cafa5389d7642

2 months agoMerge "Implmement ConditionalWait::WaitUntil" into devel/master
Eunki Hong [Thu, 10 Oct 2024 01:34:24 +0000 (01:34 +0000)]
Merge "Implmement ConditionalWait::WaitUntil" into devel/master

2 months agoDALi Version 2.3.44 39/318639/1 dali_2.3.44
David Steele [Fri, 4 Oct 2024 08:53:09 +0000 (09:53 +0100)]
DALi Version 2.3.44

Change-Id: I6722f644d9f0b2b9d184b9426ec4317b05a3dc55

2 months ago(dali_env) Ensure correct gtest libraries are installed 28/318528/1
Adeel Kazmi [Tue, 1 Oct 2024 16:28:29 +0000 (17:28 +0100)]
(dali_env) Ensure correct gtest libraries are installed

Change-Id: I16bedd65bf8c42388a9d852b07190c3a0ad182d3

2 months ago(dali_env) Added option to install USD & its dependencies 24/318524/2
Adeel Kazmi [Tue, 1 Oct 2024 12:27:30 +0000 (13:27 +0100)]
(dali_env) Added option to install USD & its dependencies

Change-Id: Ia4b4d4ffd599f48d32e53f81db366a5cfb27c656

2 months agoImplmement ConditionalWait::WaitUntil 19/318019/4
Eunki Hong [Mon, 23 Sep 2024 16:23:09 +0000 (01:23 +0900)]
Implmement ConditionalWait::WaitUntil

Let we make wait_until feature for conditional wait for dali.

Change-Id: I502c794fd3e5027a907ce31535db545e9afb7222
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months agoDALi Version 2.3.43 42/318342/1 dali_2.3.43
Adeel Kazmi [Fri, 27 Sep 2024 05:52:38 +0000 (06:52 +0100)]
DALi Version 2.3.43

Change-Id: Ib8814b7b42f985f81a5e97e1b07a63754887aaa1

2 months agoMerge "Added clip transform matrix to the Graphics Controller" into devel/master
David Steele [Thu, 26 Sep 2024 10:26:24 +0000 (10:26 +0000)]
Merge "Added clip transform matrix to the Graphics Controller" into devel/master

2 months agoMerge "Fix gcc-14 build error" into devel/master
Eunki Hong [Thu, 26 Sep 2024 01:04:50 +0000 (01:04 +0000)]
Merge "Fix gcc-14 build error" into devel/master

2 months agoMerge "Add Integration code for Shader + Open GenerateTaggedShaderPrefix" into devel...
Eunki Hong [Thu, 26 Sep 2024 01:04:28 +0000 (01:04 +0000)]
Merge "Add Integration code for Shader + Open GenerateTaggedShaderPrefix" into devel/master

2 months agoAdded clip transform matrix to the Graphics Controller 71/317871/6
David Steele [Thu, 19 Sep 2024 09:23:09 +0000 (10:23 +0100)]
Added clip transform matrix to the Graphics Controller

For GL, this matrix should not be used, so doesn't affect
render time. For Vulkan, this will change to Vulkan
clip space, so adds another matrix multiply.

(Consider moving the projection matrix setup to graphics
controller...)

Moved the viewport/scissor setting to the secondary command buffer.
(It's not an issue for GL, but is for Vulkan)

Also ensured that the viewport near/far clip values are set.

Change-Id: I4c1842fad5766d9be769fe9dce79386f84b5459a

2 months agoFix gcc-14 build error 11/318211/1
Eunki Hong [Wed, 25 Sep 2024 14:32:12 +0000 (23:32 +0900)]
Fix gcc-14 build error

Let we include vector wrapper for custom actor impl

Change-Id: I320147a2fe622168c8a1e289c3470117de278036
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months agoMerge "Add CommandBufferResourceBinding add resource well" into devel/master
David Steele [Wed, 25 Sep 2024 12:16:09 +0000 (12:16 +0000)]
Merge "Add CommandBufferResourceBinding add resource well" into devel/master

2 months agoMerge "Automatic RenderTask Ordering" into devel/master
Seungho BAEK [Wed, 25 Sep 2024 11:09:26 +0000 (11:09 +0000)]
Merge "Automatic RenderTask Ordering" into devel/master

2 months agoAdd Integration code for Shader + Open GenerateTaggedShaderPrefix 93/318193/1
Eunki, Hong [Wed, 25 Sep 2024 10:27:45 +0000 (19:27 +0900)]
Add Integration code for Shader + Open GenerateTaggedShaderPrefix

Let we make integration-api for shader, so other dali repo could use
GenerateTaggedShaderPrefix function.

Change-Id: I06dc62f7f75c3c2c0a5d78251ad028741d4ab024
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoAdd CommandBufferResourceBinding add resource well 66/318166/1
Eunki, Hong [Wed, 25 Sep 2024 07:48:47 +0000 (16:48 +0900)]
Add CommandBufferResourceBinding add resource well

Looks typo error

Change-Id: I0776658f3e49bf73046ad2e55b3c3014daad8796
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoAutomatic RenderTask Ordering 00/314200/27
Seungho Baek [Mon, 8 Jul 2024 13:09:54 +0000 (22:09 +0900)]
Automatic RenderTask Ordering

Change-Id: Icb2f3857756169d6bd6b5691112b6b5b9f93b7e6
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
2 months agoAdd SamplingMode type for high quality sampling 69/317969/6
Eunki, Hong [Mon, 23 Sep 2024 07:14:46 +0000 (16:14 +0900)]
Add SamplingMode type for high quality sampling

Let we make new enum for lanczos resize method.

Change-Id: I2f7f0db85c33f6d913318b6be90a69217ae68cbe
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoReset string shader data cache at event thread if too much shader used 91/317991/1
Eunki, Hong [Mon, 23 Sep 2024 09:36:43 +0000 (18:36 +0900)]
Reset string shader data cache at event thread if too much shader used

Change-Id: Ie157d613d9318ca378f48d4e34fe75d7230ea4f4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoDALi Version 2.3.42 00/317900/1 dali_2.3.42
Richard Huang [Fri, 20 Sep 2024 09:47:17 +0000 (10:47 +0100)]
DALi Version 2.3.42

Change-Id: I8a64f09b2b1436e7da726464cebe0b938e09d7eb

3 months agoMerge "Allow to animate by difference type if it is scalar value + Convert API for...
Eunki Hong [Sat, 14 Sep 2024 07:07:33 +0000 (07:07 +0000)]
Merge "Allow to animate by difference type if it is scalar value + Convert API for Property::Value" into devel/master

3 months agoAdded resource binding information to command buffers 52/317552/5
Adam Bialogonski [Tue, 10 Sep 2024 08:14:14 +0000 (09:14 +0100)]
Added resource binding information to command buffers

Change-Id: If9320070962ee1145a1f4b1f4d149942221a3544

3 months agoAdding render pass & target to CmdBuffer BeginInfo 42/317642/3
David Steele [Thu, 12 Sep 2024 18:20:59 +0000 (19:20 +0100)]
Adding render pass & target to CmdBuffer BeginInfo

Change-Id: I79315941628b505ece31c4ba7e92070b2cb46c47

3 months agoMerge "DALi Version 2.3.41" into devel/master
David Steele [Fri, 13 Sep 2024 11:02:05 +0000 (11:02 +0000)]
Merge "DALi Version 2.3.41" into devel/master

3 months agoMerge "Make Renderer use MixColor + Deprecate DevelRenderer's Opacity and VisualRende...
Eunki Hong [Fri, 13 Sep 2024 10:12:55 +0000 (10:12 +0000)]
Merge "Make Renderer use MixColor + Deprecate DevelRenderer's Opacity and VisualRenderer MixColor and PreMultiplyAlpha" into devel/master

3 months agoDALi Version 2.3.41 08/317708/1 dali_2.3.41
Adam Bialogonski [Fri, 13 Sep 2024 06:42:38 +0000 (07:42 +0100)]
DALi Version 2.3.41

Change-Id: I71b6b3bdcb9c49312cd61eb501ece91370511d87

3 months agoAllow to animate by difference type if it is scalar value + Convert API for Property... 73/317673/3
Eunki, Hong [Fri, 13 Sep 2024 02:49:25 +0000 (11:49 +0900)]
Allow to animate by difference type if it is scalar value + Convert API for Property::Value

Let we allow to set destinaton value of animation not matched with
animatable property.

For example, until now we don't allow to animate POSITION_X as integer.
But after this patch, we can animate by integer type.

Change-Id: Ie332533ffad53b511c697501c3b04d68848734df
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoObserver StopperNode and ViewportGuide node at SG::RenderTask 96/316896/10
Eunki, Hong [Fri, 30 Aug 2024 06:43:23 +0000 (15:43 +0900)]
Observer StopperNode and ViewportGuide node at SG::RenderTask

Let we clear the SceneGraph::RenderTask node information what were they don't owned.

Without observing, we might try to access dead node.

The two node - mViewportGuideNode and mStopperNode was not observered, so
let we observe their lifetime, and remove nullptr if they terminated.

Change-Id: I8c55248c625542650e4b386ba538419b5b231546
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMake Renderer use MixColor + Deprecate DevelRenderer's Opacity and VisualRenderer... 80/316980/5
Eunki, Hong [Mon, 2 Sep 2024 06:38:19 +0000 (15:38 +0900)]
Make Renderer use MixColor + Deprecate DevelRenderer's Opacity and VisualRenderer MixColor and PreMultiplyAlpha

Let we make MixColor as Renderer property.

And also, make VisualRenderer's MixColor use Renderer's MixColor property directly.

And also, make we don't register preMultipliedAlpha uniform for whole visual renderer.

Due to the Visual MixColor was Vector3 and Renderer MixColor is Vector4,
we need to make VisualMixColor non-animatable.

TODO : Need to change toolkit side codes.

Change-Id: Ida7b788be00ef7b14bba7d86d937a4581726339d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoRelease graphics contexts before terminate graphics 31/317631/4
Eunki, Hong [Thu, 12 Sep 2024 10:57:31 +0000 (19:57 +0900)]
Release graphics contexts before terminate graphics

Since some graphics items deleted after graphics controller shutdown called,
some memory leak trace tool check they are leaking points.

More over, for offscreen application cases,
DestroyResource API was not called at terminate cases.

To make insure those are removed well,
let we call ContextDestroyed for each manager.

Change-Id: I24293d1de7b95a56fb384374c667c69bea5e4180
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMerge "Different mouse button types must be handled as separate events." into devel...
joogab yun [Wed, 11 Sep 2024 03:54:43 +0000 (03:54 +0000)]
Merge "Different mouse button types must be handled as separate events." into devel/master

3 months agoDifferent mouse button types must be handled as separate events. 44/317344/4
joogab.yun [Mon, 9 Sep 2024 07:23:01 +0000 (16:23 +0900)]
Different mouse button types must be handled as separate events.

Change-Id: I7081ca145f61dd1240cc9f8f2b662001dae3b393

3 months agoAdd BaseObjectObserver 31/317331/4
Youngsun Suh [Wed, 4 Sep 2024 01:59:32 +0000 (10:59 +0900)]
Add BaseObjectObserver

Change-Id: I414126bece5aeb685835c1efa7c6ab8fba9ee67e

3 months agoMerge "Passing down render target to compile the pipeline" into devel/master
David Steele [Fri, 6 Sep 2024 13:41:54 +0000 (13:41 +0000)]
Merge "Passing down render target to compile the pipeline" into devel/master

3 months agoDALi Version 2.3.40 63/317263/1 dali_2.3.40
David Steele [Fri, 6 Sep 2024 10:00:18 +0000 (11:00 +0100)]
DALi Version 2.3.40

Change-Id: I105101bf3978c4337b77cfbab8c1209dc8f24aed

3 months agoPassing down render target to compile the pipeline 18/317218/1
Adam Bialogonski [Thu, 5 Sep 2024 15:35:32 +0000 (16:35 +0100)]
Passing down render target to compile the pipeline

Change-Id: Ia544d2661ffbef7c6392e550ee8119e9dc993818

3 months agoChanging vulkan package config libs to match 1.3.280 45/317145/1
David Steele [Wed, 4 Sep 2024 12:43:17 +0000 (13:43 +0100)]
Changing vulkan package config libs to match 1.3.280

Change-Id: Ia34fa62e1f21de3aaa5ca87b387230f2dfb1d7ff

3 months agoMerge "Fixed dali_env to work non-interactively" into devel/master
David Steele [Fri, 30 Aug 2024 14:02:32 +0000 (14:02 +0000)]
Merge "Fixed dali_env to work non-interactively" into devel/master

3 months agoFixed dali_env to work non-interactively 42/316942/1
David Steele [Fri, 30 Aug 2024 12:42:53 +0000 (13:42 +0100)]
Fixed dali_env to work non-interactively

Change-Id: I02839104d46578a03775c68f405f8555d03932ec

3 months agoDALi Version 2.3.39 02/316902/1 dali_2.3.39
Adeel Kazmi [Fri, 30 Aug 2024 08:12:51 +0000 (09:12 +0100)]
DALi Version 2.3.39

Change-Id: I654263054fd27e8741452438b0399a5f97a842bf

3 months agoMerge changes I6482dca0,Icee988fc into devel/master
David Steele [Thu, 29 Aug 2024 16:11:59 +0000 (16:11 +0000)]
Merge changes I6482dca0,Icee988fc into devel/master

* changes:
  Add vulkan sdk install options to dali_env
  Fixing divide by zero in ThreadPool

3 months agoMerge "Implement virtual pre-desturctor for RefObject, BaseObject and Object" into...
David Steele [Thu, 29 Aug 2024 10:57:53 +0000 (10:57 +0000)]
Merge "Implement virtual pre-desturctor for RefObject, BaseObject and Object" into devel/master

3 months agoAdd exclude for sam score 22/316822/2
Seungho Baek [Thu, 29 Aug 2024 01:51:22 +0000 (10:51 +0900)]
Add exclude for sam score

Change-Id: Icd22a47efd5b3445903be88e8ecf55aab0c7699f
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 months agoImplement virtual pre-desturctor for RefObject, BaseObject and Object 19/316819/6
Eunkiki Hong [Wed, 28 Aug 2024 14:25:27 +0000 (23:25 +0900)]
Implement virtual pre-desturctor for RefObject, BaseObject and Object

Since WeakHandle<~~> become invalidate after BaseObject::Impl destruct,
WeakHandle<~~>.GetBaseHandle() might return some destructing handle.

If some class A : public BaseObject  is destructing (== refcount is 0)

and during ~A() called, someone try to get WeakHandle<A>.GetHandle()

After that API call, class A's refcount become 1, and if A use done,

A's refcount become 0 again, and destructor call again and again and again...

===

To avoid this kind of issue, let we make BaseObject::Impl Notify first

by virtual function "OnDestroy", and then call destructor.

Similary, Object also have it's own observer system. Let also notify them
destroyed before destructor call.

Change-Id: I1bccf25ec2b902b7051a0fe2bebf4aeb1b914c25
Signed-off-by: Eunkiki Hong <eunkiki.hong@samsung.com>
3 months agoAdd vulkan sdk install options to dali_env 43/316743/2
David Steele [Tue, 27 Aug 2024 13:23:55 +0000 (14:23 +0100)]
Add vulkan sdk install options to dali_env

Change-Id: I6482dca0fbd782bb94cd56ae76a1695341320dd1

3 months agoFix hash function error at x64 68/316768/2
Eunki, Hong [Wed, 28 Aug 2024 01:56:20 +0000 (10:56 +0900)]
Fix hash function error at x64

Since RendererKey is not a void* type for __LP64__ case,
we should not shift RendererKey.Value() based on size of Render::Renderer
struct size.

Change-Id: If578d0b5057b93ee69468d8422613471288d9384
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoFixing divide by zero in ThreadPool 60/316560/2
David Steele [Thu, 22 Aug 2024 17:40:25 +0000 (18:40 +0100)]
Fixing divide by zero in ThreadPool

Change-Id: Icee988fca4b194ad70243676aa816519a64b51f3

4 months agoMerge "DALi Version 2.3.38" into devel/master
Adeel Kazmi [Fri, 23 Aug 2024 09:46:54 +0000 (09:46 +0000)]
Merge "DALi Version 2.3.38" into devel/master

4 months agoDALi Version 2.3.38 73/316573/1 dali_2.3.38
Richard Huang [Fri, 23 Aug 2024 09:44:57 +0000 (10:44 +0100)]
DALi Version 2.3.38

Change-Id: I224ca546735c6207f41db8d39db2097b100e6848

4 months agoFix RenderUntil not working well if stopper node is under layer + RenderUntil more... 74/316474/4
Eunki, Hong [Thu, 22 Aug 2024 03:51:28 +0000 (12:51 +0900)]
Fix RenderUntil not working well if stopper node is under layer + RenderUntil more stable

For now, RenderUntil consider the layer order at
render-instruction-processor side.

But RenderUntil API only consider root layer cases.

To fix this issue, let we don't check the stopper actor's parenet
is layer or not.

+

Let we make RenderUntil API more stable.

Currently, we only allow given stopper actor is under source actor.
But actually, we don't trace that stopper actor unparent or destroyed
after we call RenderUntil.

Trace that life control is quite heavy. Instead, let we make RenderUntil input
actor added freely, and instead, make the task result will render full scene
if stopper node is not under source node.

Change-Id: I9550c4c77e550d9daa61fe545dc005417a4a3f2a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago(dali_env) Add libmagick++-dev install as well 85/316385/1
Adeel Kazmi [Tue, 20 Aug 2024 13:59:40 +0000 (14:59 +0100)]
(dali_env) Add libmagick++-dev install as well

Required for the visual tests

Change-Id: Ibcd3d0a2a03d05f6ac0d7db82787b544e7b117f7

4 months agoMerge "DALi Version 2.3.37" into devel/master
Adeel Kazmi [Fri, 16 Aug 2024 08:35:04 +0000 (08:35 +0000)]
Merge "DALi Version 2.3.37" into devel/master

4 months agoDALi Version 2.3.37 40/316240/1 dali_2.3.37
Adam Bialogonski [Fri, 16 Aug 2024 07:42:33 +0000 (08:42 +0100)]
DALi Version 2.3.37

Change-Id: Iaab72d254336690e55ac5f8ac2a5e69b258714a6

4 months agoMerge "(dali_env) Remove --force-yes and use --allow-change-held-packages" into devel...
Adeel Kazmi [Fri, 16 Aug 2024 06:43:45 +0000 (06:43 +0000)]
Merge "(dali_env) Remove --force-yes and use --allow-change-held-packages" into devel/master

4 months agoMerge "Fix build error for gcc-14" into devel/master
Eunki Hong [Fri, 16 Aug 2024 05:55:05 +0000 (05:55 +0000)]
Merge "Fix build error for gcc-14" into devel/master

4 months agoMerge changes I9c9f8abe,I5ef804f5 into devel/master
Eunki Hong [Fri, 16 Aug 2024 05:19:02 +0000 (05:19 +0000)]
Merge changes I9c9f8abe,I5ef804f5 into devel/master

* changes:
  Change TransformManager dirty flags only if the value is really changed
  Make TransformManager check WorldMatrix dirty, instead local matrix dirty

4 months agoFix build error for gcc-14 39/315639/6
Seungho Baek [Mon, 10 Jun 2024 08:13:40 +0000 (17:13 +0900)]
Fix build error for gcc-14

(Cherry-pick https://review.tizen.org/gerrit/c/platform/core/uifw/dali-core/+/312451 and improve.)

Resolve compile warnings : -Wno-template-id-cdtor, -Wno-dangling-reference

Can't locate XML/Parser.pm in @INC (you may need to install the XML::Parser module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at scripts/output_summary.pl line 6.
BEGIN failed--compilation aborted at scripts/output_summary.pl line 6

Change-Id: Ib00e042a7197d5bcb92b33af8059fc0d5c1b8b92

4 months agoChange TransformManager dirty flags only if the value is really changed 96/315296/10
Eunki Hong [Mon, 29 Jul 2024 15:57:23 +0000 (00:57 +0900)]
Change TransformManager dirty flags only if the value is really changed

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

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

TODO : Could we check them also at Vector3?

Change-Id: I9c9f8abe7615ea53856b20706ea9163456105bc3
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoMake TransformManager check WorldMatrix dirty, instead local matrix dirty 18/315518/8
Eunki, Hong [Fri, 2 Aug 2024 03:53:05 +0000 (12:53 +0900)]
Make TransformManager check WorldMatrix dirty, instead local matrix dirty

Since we only need to check parent's world matrix + parent's size
to calculate the world matrix,

Dirtyness of local matrix is not important. Instead, we'd better check
the world matrix changeness.

Change-Id: I5ef804f54300cbad355d7b265e42cd109d2b5d81
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMatch trace begin/end tag for DALI_RENDER_FINISHED if their is no target 64/316064/1
Eunki, Hong [Tue, 13 Aug 2024 05:43:36 +0000 (14:43 +0900)]
Match trace begin/end tag for DALI_RENDER_FINISHED if their is no target

Change-Id: I7f90ce6e082e8e1495b474a3f3524a4c4a0821e4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago(dali_env) Remove --force-yes and use --allow-change-held-packages 38/315638/2
Eunkiki Hong [Mon, 5 Aug 2024 14:16:56 +0000 (23:16 +0900)]
(dali_env) Remove --force-yes and use --allow-change-held-packages

W: --force-yes is deprecated, use one of the options starting with --allow instead.

And I think two option : --allow-downgrades, --allow-change-held-packages is enough

Change-Id: I936f8a0dcd11b9aedb0a2c23d2910119e37c18da
Signed-off-by: Eunkiki Hong <eunkiki.hong@samsung.com>
4 months agoMerge "DALi Version 2.3.36" into devel/master
David Steele [Fri, 9 Aug 2024 11:31:45 +0000 (11:31 +0000)]
Merge "DALi Version 2.3.36" into devel/master

4 months agoDALi Version 2.3.36 22/315922/1 dali_2.3.36
David Steele [Fri, 9 Aug 2024 11:09:21 +0000 (12:09 +0100)]
DALi Version 2.3.36

Change-Id: Ibf1efde8eea3cdfeb8737ef084275722e58d6233

4 months agoThe DEPTH value was being retrieved incorrectly. Fix this 93/315893/1
joogab.yun [Fri, 9 Aug 2024 05:03:49 +0000 (14:03 +0900)]
The DEPTH value was being retrieved incorrectly. Fix this

Change-Id: Ie0c7556bdaaa661cdfbcf5b298166a94048151fa

4 months agoReset memory pool when core terminate 81/315681/1
Eunki, Hong [Tue, 6 Aug 2024 05:41:01 +0000 (14:41 +0900)]
Reset memory pool when core terminate

Since we can create new Core without process terminate, (e.g. offscreen application)
We should ensurely clear the memory usage.

Without this clean-up process, some memory might be remained after
core terminate. For example, some OwnerPointer<Node> are exist at Message during
app terminate, it might not be release surely.

Change-Id: Iaef0b16bcd6631aa8a52e9b52bfa39374be770b6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoFix UTC build error 14/315614/1
Eunki, Hong [Mon, 5 Aug 2024 08:07:11 +0000 (17:07 +0900)]
Fix UTC build error

Change-Id: Ie78675bd4a10301423214d163f4c38fe99599451
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Get the actor who trigger visiblity changed signal" into devel/master
Eunki Hong [Mon, 5 Aug 2024 06:22:25 +0000 (06:22 +0000)]
Merge "Get the actor who trigger visiblity changed signal" into devel/master

4 months agoMerge "InheritedVisibilityChangedCallback with window Visibility" into devel/master
Seungho BAEK [Mon, 5 Aug 2024 05:13:23 +0000 (05:13 +0000)]
Merge "InheritedVisibilityChangedCallback with window Visibility" into devel/master

4 months agoChange the trace filter name : DALI_TRACE_UPDATE/RENDER_PROCESS 85/315585/1
Eunki, Hong [Mon, 5 Aug 2024 03:21:48 +0000 (12:21 +0900)]
Change the trace filter name : DALI_TRACE_UPDATE/RENDER_PROCESS

Now VD performance tracing system prepare the environment value name.

Let we hide the combined keyword at dali core side.

Change-Id: I17dc2cded6b89a1f593335299a092d3034d9ccdf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoFix compile error at gcc-13 (Do not use operator< with nullptr) 73/315573/2
Eunki Hong [Sat, 3 Aug 2024 12:43:48 +0000 (21:43 +0900)]
Fix compile error at gcc-13 (Do not use operator< with nullptr)

Change-Id: Ic40ab0752eebbc33f13d1cd7c6f0d14ac424d8c6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Print more logs when (animation finished case + previous state)" into devel...
Eunki Hong [Sat, 3 Aug 2024 06:58:51 +0000 (06:58 +0000)]
Merge "Print more logs when (animation finished case + previous state)" into devel/master

4 months agoMerge "Allow to compare IntrusivePtr comparision" into devel/master
Adeel Kazmi [Fri, 2 Aug 2024 14:43:14 +0000 (14:43 +0000)]
Merge "Allow to compare IntrusivePtr comparision" into devel/master

4 months agoMerge "DALi Version 2.3.35" into devel/master
Adeel Kazmi [Fri, 2 Aug 2024 08:34:03 +0000 (08:34 +0000)]
Merge "DALi Version 2.3.35" into devel/master

4 months agoPrint more logs when (animation finished case + previous state) 49/315549/2
Eunki, Hong [Fri, 2 Aug 2024 07:09:33 +0000 (16:09 +0900)]
Print more logs when (animation finished case + previous state)

Since we don't print any logs if animation finished naturally,
user might not know whether given rendering loops occured due to animation, or not.

To make ensure the animation state changeness, let we also print log
if animation finished naturally.

Also, print the log before change the animation state. It will be useful
when we trace the animation state changing.

Change-Id: I642057b56b86b2aca27874995ee1ff9adcfae30e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoDALi Version 2.3.35 36/315536/1 dali_2.3.35
Adeel Kazmi [Fri, 2 Aug 2024 06:27:05 +0000 (07:27 +0100)]
DALi Version 2.3.35

Change-Id: I463177231febbb34e2e1ef3d8607ebe3f11fdc6a

4 months agoMerge "Make bake flag don't chage the set dirty flag for VisualRenderer" into devel...
Eunki Hong [Fri, 2 Aug 2024 04:52:58 +0000 (04:52 +0000)]
Merge "Make bake flag don't chage the set dirty flag for VisualRenderer" into devel/master

4 months agoGet the actor who trigger visiblity changed signal 75/315475/3
Eunki, Hong [Thu, 1 Aug 2024 09:25:17 +0000 (18:25 +0900)]
Get the actor who trigger visiblity changed signal

Since we cannot change the parameter of Visibility changed signal,
we need to make another API to get the actor who trigger visibility changed.

Change-Id: I990338910efc72fda941a66b0c9a802b22ff7f49
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoAdd GetLastPanGestureState 44/315444/8
joogab.yun [Thu, 1 Aug 2024 03:40:55 +0000 (12:40 +0900)]
Add GetLastPanGestureState

Change-Id: Ica2861de9274023bb6f0c7b8c79c105224badea8

4 months agoAllow to compare IntrusivePtr comparision 60/315460/1
Eunki, Hong [Thu, 1 Aug 2024 07:00:16 +0000 (16:00 +0900)]
Allow to compare IntrusivePtr comparision

Let we allow to compare IntrusivePtr operator<.

After this patch, we can use std::set<IntrusivePtr<T>> or map, without
custom comparisoin functor.

Change-Id: Ifce5ad1fe951837d21766daba4cda1546c263262
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMake bake flag don't chage the set dirty flag for VisualRenderer 47/315447/1
Eunki, Hong [Thu, 1 Aug 2024 03:34:40 +0000 (12:34 +0900)]
Make bake flag don't chage the set dirty flag for VisualRenderer

Since VisualRendererProperty try to call AnimatablePropertyBase::OnBake directly,
it might change the overlaped bake flags.

To avoid this issue, let we call AnimableProperty<T>::OnBake, instead of
supersuper class

Change-Id: Ic57c34834b46e889f438b7b19a8a592e77a7fbcb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoInheritedVisibilityChangedCallback with window Visibility 82/315182/9
Seungho Baek [Fri, 26 Jul 2024 06:51:07 +0000 (15:51 +0900)]
InheritedVisibilityChangedCallback with window Visibility

Change-Id: I0b99cb7052380537ff8f0924af3855445d9041cd
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
4 months agoMake Actor's name don't use ConstString 37/315237/1
Eunki, Hong [Mon, 29 Jul 2024 01:38:40 +0000 (10:38 +0900)]
Make Actor's name don't use ConstString

Since ConstString register into internal string pool
and never be released,
Their might be occured some memory limits if user use randomized name.

Until now, we use raw string comparision at FindChildByName.
So their is no performance issue after this patch.

TODO : How could we resolve same issue for RegisterProperty?

Change-Id: Ia4258d204e986c117f19489a075e3c5afff9fab9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>