platform/core/uifw/dali-toolkit.git
10 months agoMake we use valid geometry if broken image was n-patch and reloaded 42/304842/7
Eunki, Hong [Wed, 24 Jan 2024 07:30:56 +0000 (16:30 +0900)]
Make we use valid geometry if broken image was n-patch and reloaded

It is possible that we use broken image not matched with given visual,
and then Reload API call it, and successed.

For this case, we need to change to use valid geometry again.

Change-Id: I2df7fb8b6123361b515b8f9ac9c1fafc77f665b6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months agoMerge "Call idle functions what we might be failed to add" into devel/master
Eunki Hong [Thu, 25 Jan 2024 06:04:33 +0000 (06:04 +0000)]
Merge "Call idle functions what we might be failed to add" into devel/master

10 months agoMerge "Make ModelNode and Light as Control" into devel/master
Eunki Hong [Thu, 25 Jan 2024 04:21:52 +0000 (04:21 +0000)]
Merge "Make ModelNode and Light as Control" into devel/master

10 months agoCall idle functions what we might be failed to add 71/304671/5
Eunki, Hong [Tue, 23 Jan 2024 03:44:52 +0000 (12:44 +0900)]
Call idle functions what we might be failed to add

Since AddIdle could be failed at ecore side, we need to call given callback
synchronously, or need to print some error logs for some cases.

Change-Id: Ie0afd1fd7ddb92d43e2fdc03592144c8dae711e2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoMerge "Make method to get VisualUrl shorter." into devel/master
Eunki Hong [Wed, 24 Jan 2024 05:13:45 +0000 (05:13 +0000)]
Merge "Make method to get VisualUrl shorter." into devel/master

11 months agoMerge "(Scene3D) Guard cache impl will not be re-created at terminate case" into...
Eunki Hong [Wed, 24 Jan 2024 05:13:29 +0000 (05:13 +0000)]
Merge "(Scene3D) Guard cache impl will not be re-created at terminate case" into devel/master

11 months agoMerge "(Scene3D) Optimize AnimatedProperty's KeyFrame values after load complete...
David Steele [Tue, 23 Jan 2024 17:45:25 +0000 (17:45 +0000)]
Merge "(Scene3D) Optimize AnimatedProperty's KeyFrame values after load complete" into devel/master

11 months agoMerge "(Vector) Use mutex instead of ConditionalWait for EventhThreadCallback" into...
David Steele [Tue, 23 Jan 2024 15:57:55 +0000 (15:57 +0000)]
Merge "(Vector) Use mutex instead of ConditionalWait for EventhThreadCallback" into devel/master

11 months ago(Scene3D) Guard cache impl will not be re-created at terminate case 73/304673/1
Eunki, Hong [Tue, 23 Jan 2024 04:12:59 +0000 (13:12 +0900)]
(Scene3D) Guard cache impl will not be re-created at terminate case

Since LifecycleController could be called first before Model / ModelCache destroy,
re-create the image resource cache at terminate time was possible.

Since we don't check the validation of this item, it will make crash.

So let we ensure that we call those API under same thread with adaptor.

Change-Id: I995c509f070b56f99214689e5a9f3e66514d5f91
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoMerge "Fix decorator color update issue" into devel/master
Bowon Ryu [Mon, 22 Jan 2024 09:54:06 +0000 (09:54 +0000)]
Merge "Fix decorator color update issue" into devel/master

11 months agoMake method to get VisualUrl shorter. 13/304613/1
Eunki, Hong [Mon, 22 Jan 2024 08:03:06 +0000 (17:03 +0900)]
Make method to get VisualUrl shorter.

Let we allow to get only the last 20 character of URL name
when we don't need to print full URL.

Change-Id: Id7203bff84fdf61a7950cec1c79ebce48b1a9a43
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoFix decorator color update issue 15/304515/6
Bowon Ryu [Thu, 18 Jan 2024 09:19:17 +0000 (18:19 +0900)]
Fix decorator color update issue

After a text decorator is created,
changing the related color causes only the property to be changed.
This patch fixes an issue where the actual actor's color was not changed.

Change-Id: I4778d9a51fa0cd128e24a4362354cebb81b2b2e9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
11 months agoMake ModelNode and Light as Control 29/303829/3
Eunki, Hong [Fri, 5 Jan 2024 10:14:23 +0000 (19:14 +0900)]
Make ModelNode and Light as Control

Since we need to use some control features (like KeyboardFocus) let we make
ModelNode and Light as Control, instead of CustomActor.

TODO : We'd better make some universion Control for Scene3D.
For example, we should not allow to add Visual into ModelNode or Light.

Change-Id: I8acbb57d967c438101fe8a1877950d044ca943f2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months ago(Vector) Use mutex instead of ConditionalWait for EventhThreadCallback 21/304221/3
Eunki Hong [Fri, 12 Jan 2024 06:25:03 +0000 (15:25 +0900)]
(Vector) Use mutex instead of ConditionalWait for EventhThreadCallback

Since worker thread can call AddEventTriggerCallback freely,

we should make some lock between workerthread and
main thread(RemoveEventTriggerCallbacks, GetNextEventCallback, ~VectorAnimationThread).

ConditionalWait used only for AsyncTask rasterization, and sleep thread.
We'd better seperate those job locker.

Change-Id: I543ba7f0bdf54036a8127d1815dda18cafca54e7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months ago(Scene3D) Optimize AnimatedProperty's KeyFrame values after load complete 01/304401/2
Eunki, Hong [Wed, 17 Jan 2024 02:54:38 +0000 (11:54 +0900)]
(Scene3D) Optimize AnimatedProperty's KeyFrame values after load complete

Let we reduce the total key frame of MotionValue what we parse.

Since both json and bvh store the data by framerate.
So, there might be useless values are included.

If the number of keyframe is large, it might give some overhead to core.
So let we reduce useless keyframe for MotionValue and Model's internal animation.

Change-Id: I04b86b0341125cef1f60d3da68150c9367655169
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoMerge "DALi Version 2.3.7" into devel/master
Adeel Kazmi [Fri, 19 Jan 2024 10:18:24 +0000 (10:18 +0000)]
Merge "DALi Version 2.3.7" into devel/master

11 months agoDALi Version 2.3.7 55/304555/1 dali_2.3.7
Adam Bialogonski [Fri, 19 Jan 2024 09:52:26 +0000 (09:52 +0000)]
DALi Version 2.3.7

Change-Id: I7a03929416d3d91b37b6c350885fd96bfb1c85b2

11 months agoTest harness update. 80/304180/3
Adam Bialogonski [Thu, 11 Jan 2024 11:04:54 +0000 (11:04 +0000)]
Test harness update.

"uColor" uniform added as first.
Custom uniforms are added before default uniforms in the reflection.

Change-Id: Ifb837b5e18c80afb94f24cf9372c5c60d840b477
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
11 months agoMerge "Remove cubemap cache temperary + Fix bug when Uploaded PixelData resue after...
Adeel Kazmi [Wed, 17 Jan 2024 12:27:28 +0000 (12:27 +0000)]
Merge "Remove cubemap cache temperary + Fix bug when Uploaded PixelData resue after Texture GC" into devel/master

11 months agoMerge "Change Property name USE_FIXED_CACHE to ENABLE_FRAME_CACHE" into devel/master
sunghyun kim [Mon, 15 Jan 2024 06:20:30 +0000 (06:20 +0000)]
Merge "Change Property name USE_FIXED_CACHE to ENABLE_FRAME_CACHE" into devel/master

11 months agoRemove cubemap cache temperary + Fix bug when Uploaded PixelData resue after Texture GC 51/304251/4
Eunki Hong [Sat, 13 Jan 2024 00:28:27 +0000 (09:28 +0900)]
Remove cubemap cache temperary + Fix bug when Uploaded PixelData resue after Texture GC

If we create NewPixelDataWithReleaseAfterUpload and Upload to texture,
and if that texture reference count become 1 and GC,
the key of PixelData is not valid anymore.

To avoid this cases, Let we collect all PixelData container if some texture removed.
And also, since PixelData could be key of Texture cache, we should check the
reference count is less than 2.

+

Since current cubemap cache not works well reasonable, just remove it.
We will reopen it after we implement PixelDataList cache system again.

+

Print more log information if we need.

Change-Id: I6693ceab9b03cc20e1c6a42282ef39af38344e27
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months agoMerge "DALi Version 2.3.6" into devel/master
Adeel Kazmi [Fri, 12 Jan 2024 11:40:06 +0000 (11:40 +0000)]
Merge "DALi Version 2.3.6" into devel/master

11 months agoDALi Version 2.3.6 35/304235/1 dali_2.3.6
Richard Huang [Fri, 12 Jan 2024 11:16:42 +0000 (11:16 +0000)]
DALi Version 2.3.6

Change-Id: Ifc29588cd2df64ed6acb4412eeb9449a2e41d4ab

11 months agoMerge "Fix bug that IBLFactor / Roughness not works well when we change material...
David Steele [Fri, 12 Jan 2024 10:34:36 +0000 (10:34 +0000)]
Merge "Fix bug that IBLFactor / Roughness not works well when we change material" into devel/master

11 months agoChange Property name USE_FIXED_CACHE to ENABLE_FRAME_CACHE 09/304209/2
sunghyun kim [Fri, 12 Jan 2024 05:21:31 +0000 (14:21 +0900)]
Change Property name USE_FIXED_CACHE to ENABLE_FRAME_CACHE

existing name is ambiguous in meaning, so we change it to a more clear name.

Change-Id: I8a797dee0378ffbc6ab2547f63d9360f8a2da2b5

11 months agoMerge "Fix Text Anchor don't work properly" into devel/master
Chihun Jeong [Fri, 12 Jan 2024 03:23:21 +0000 (03:23 +0000)]
Merge "Fix Text Anchor don't work properly" into devel/master

11 months agoFix Text Anchor don't work properly 82/304182/2
ANZ1217 [Thu, 11 Jan 2024 11:36:48 +0000 (20:36 +0900)]
Fix Text Anchor don't work properly

When the text component is vertical aligned as center or bottom,
The y offset was not calculated at anchor event.
Now, it works properly.

Change-Id: I31f2530122d28e07a32c8a75875a77bcc69353ee

11 months agoFix bug that IBLFactor / Roughness not works well when we change material 44/303844/5
Eunki Hong [Fri, 5 Jan 2024 16:01:50 +0000 (01:01 +0900)]
Fix bug that IBLFactor / Roughness not works well when we change material

There was some bug when we change Material info, uMaxLOD and uIblIntensity does not applied what primitive has.

This is because Material's SetUniform API overwrite the value of those uniform.

This patch make we ensure the order of uniform register, so let we use correct LOD and IBL intensity.

Change-Id: Ic14b7f9b6c0e443ac17188a8968ac71a7c6328d6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months agoRemove build warning at gcc-13 53/304053/3
Eunki Hong [Tue, 9 Jan 2024 13:13:26 +0000 (22:13 +0900)]
Remove build warning at gcc-13

Remove build warning when we build dali-csharp-binder by gcc-13

Change-Id: Ib331ca7ce62ff54d0db5311bcf9420e1b6e1cd0e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months agoMerge "Fix the 3D model rendering issue after the KHR_texture_transform extension...
Adeel Kazmi [Wed, 10 Jan 2024 11:13:20 +0000 (11:13 +0000)]
Merge "Fix the 3D model rendering issue after the KHR_texture_transform extension support" into devel/master

11 months agoMerge "Improve Textfit performance" into devel/master
Chihun Jeong [Wed, 10 Jan 2024 07:54:33 +0000 (07:54 +0000)]
Merge "Improve Textfit performance" into devel/master

11 months agoImprove Textfit performance 02/303502/16
ANZ1217 [Fri, 29 Dec 2023 01:01:13 +0000 (10:01 +0900)]
Improve Textfit performance

We can assume point size of text and size of text's layout
are directly proportional.
So the size of the largest text point size
can be calculated by O(1) operations.
Previously, this was O(logn) operations.

Change-Id: Ie5aae28e949738ce0f67e389f3e920663f4e19bc

11 months agoFix svace issue 90/304090/1
jmm [Wed, 10 Jan 2024 03:44:49 +0000 (12:44 +0900)]
Fix svace issue

Change-Id: I2646aae8db36a5471915e6ee4101beef4a51c9ba

11 months agoMerge "To prevent segmentation fault in AnimatedVectorImageVisual" into devel/master
Seungho BAEK [Wed, 10 Jan 2024 01:34:19 +0000 (01:34 +0000)]
Merge "To prevent segmentation fault in AnimatedVectorImageVisual" into devel/master

11 months agoFix the 3D model rendering issue after the KHR_texture_transform extension support 54/304054/2
Richard Huang [Tue, 9 Jan 2024 16:26:24 +0000 (16:26 +0000)]
Fix the 3D model rendering issue after the KHR_texture_transform extension support

Change-Id: I659fa20f8f18e6f6765c70c9c9ef031dd7e18ccb

11 months ago[Scene3D] Let we allow to release PixelData memory after upload for 3D cache 14/303914/3
Eunki, Hong [Mon, 8 Jan 2024 04:35:28 +0000 (13:35 +0900)]
[Scene3D] Let we allow to release PixelData memory after upload for 3D cache

Since we use PixelData as key of cached Texture, it might make some
CPU memory allocated even if we upload finished.

To avoid this behavior, let we make PixelData release memory
after upload to Texture for Scene3D case.

Change-Id: Id43e92d5b4a816fe76890c7ca58f6c43b6dab761
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoTo prevent segmentation fault in AnimatedVectorImageVisual 76/303976/1
seungho baek [Mon, 8 Jan 2024 11:41:59 +0000 (20:41 +0900)]
To prevent segmentation fault in AnimatedVectorImageVisual

Change-Id: I4c5c94eb9faeffd4727b5879254527692fe93be2
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
11 months agoMerge "DALi Version 2.3.5" into devel/master
David Steele [Fri, 5 Jan 2024 10:52:28 +0000 (10:52 +0000)]
Merge "DALi Version 2.3.5" into devel/master

11 months agoDALi Version 2.3.5 32/303832/1 dali_2.3.5
David Steele [Fri, 5 Jan 2024 10:42:50 +0000 (10:42 +0000)]
DALi Version 2.3.5

Change-Id: I36cae7ee3679bc38ffacbcd0fce956920943dd3f

11 months agoMerge "Make SceneView's SetResolution works well" into devel/master
Eunki Hong [Fri, 5 Jan 2024 07:43:03 +0000 (07:43 +0000)]
Merge "Make SceneView's SetResolution works well" into devel/master

11 months agoMake SceneView's SetResolution works well 70/303770/2
Eunki, Hong [Thu, 4 Jan 2024 12:23:07 +0000 (21:23 +0900)]
Make SceneView's SetResolution works well

Let we change codes that might need to check whether the size of render target
is inputed by App side, by the API SetResolution.

We usually use it to reduce memory of SceneView FBO usage. So let we also make
ShadowMap size will relative with resolution.

Change-Id: Ic243dae41da04f5adea95998b5e49d863b92ba86
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoFix Rasterize not works when SetTransform is first time 63/303763/2
Eunki, Hong [Thu, 4 Jan 2024 11:05:55 +0000 (20:05 +0900)]
Fix Rasterize not works when SetTransform is first time

It is possible that SVG load complete, and after than layout executed.

If then, mDefaultSize of SVG is not zero, and rasterize task not requested.

Unfortunatly, if fitting mode settup into image view, the required size
of resterize might not correct. So, ImageView try to re-layout once again
at it's OnResourceReady signal.

This patch make we send rasterize signal at least one time, So let we ensure
the ImageView resource ready signal comes at least one time.

Change-Id: I3edb6a1a681898b007ef1b70470993da5c68c289
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoFix reorder warning on text-label 11/303711/1
Eunki Hong [Wed, 3 Jan 2024 16:10:12 +0000 (01:10 +0900)]
Fix reorder warning on text-label

Change-Id: Ic635d991c50e70bac6d2ea5d2547b50f3579367d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months agoFix TextFit do not work properly 62/303662/2
ANZ1217 [Wed, 3 Jan 2024 06:51:34 +0000 (15:51 +0900)]
Fix TextFit do not work properly

When check for textfit, it doesn't distinguish between cases
where the layout does not change because text is too large
and the layout does not change because text is too small.

Now CheckForTextFit returns false when text is too large.

Change-Id: I03a414406ee336ec7bf24c8d067fc73379d119f7

11 months agoMerge "Fix cursor position issue" into devel/master
Bowon Ryu [Fri, 29 Dec 2023 07:26:52 +0000 (07:26 +0000)]
Merge "Fix cursor position issue" into devel/master

11 months agoMerge "Fixed Cache for AnimatedVectorImageVisual" into devel/master
sunghyun kim [Fri, 29 Dec 2023 07:12:27 +0000 (07:12 +0000)]
Merge "Fixed Cache for AnimatedVectorImageVisual" into devel/master

11 months agoFix cursor position issue 14/303514/1
Bowon Ryu [Fri, 29 Dec 2023 05:49:36 +0000 (14:49 +0900)]
Fix cursor position issue

This patch fixes an issue where the cursor position is incorrectly positioned
when padding is set for the textfield text editor.
It is a problem caused by the wrong location of the cursor layer.

Change-Id: Ifa0e9b752160761dfd6806cfc18dbf98576c71e3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
11 months agoMerge "Clear font cache when locale changed" into devel/master
Chihun Jeong [Fri, 29 Dec 2023 03:22:53 +0000 (03:22 +0000)]
Merge "Clear font cache when locale changed" into devel/master

11 months agoFixed Cache for AnimatedVectorImageVisual 10/300510/7
seungho baek [Thu, 26 Oct 2023 09:17:02 +0000 (18:17 +0900)]
Fixed Cache for AnimatedVectorImageVisual

Change-Id: I22bab282652f5377b95ce1d34db4564398be0ae8
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
11 months agoMerge "Use trace macro with message generator function" into devel/master
Eunki Hong [Thu, 28 Dec 2023 05:34:51 +0000 (05:34 +0000)]
Merge "Use trace macro with message generator function" into devel/master

11 months agoClear font cache when locale changed 22/303122/20
ANZ1217 [Wed, 20 Dec 2023 06:23:18 +0000 (15:23 +0900)]
Clear font cache when locale changed

Fix the problem that the font does not change because the font cache of the multi-language-support and text-controller does not disappear when the language is changed.

Change-Id: Ib6afee3101d87cd09a1a0c9af5c9f33b16bf84cb

11 months agoReset EmptyTexture object when application stopped 98/303398/1
Eunki, Hong [Wed, 27 Dec 2023 05:11:43 +0000 (14:11 +0900)]
Reset EmptyTexture object when application stopped

We should not re-use old texture item if application stoped and re-start.

This can be happened when we use offscreen application

Change-Id: I162d380259d7644fe0f817412581658010df0d47
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoUse trace macro with message generator function 23/303223/2
Eunki Hong [Thu, 21 Dec 2023 13:54:32 +0000 (22:54 +0900)]
Use trace macro with message generator function

Change-Id: Iac15dac7e023e150f48ef60c3a256edae08cf016
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months agoMerge "If it is a key event that occurred in another window, it skipped" into devel...
joogab yun [Wed, 27 Dec 2023 01:19:11 +0000 (01:19 +0000)]
Merge "If it is a key event that occurred in another window, it skipped" into devel/master

11 months agoIf it is a key event that occurred in another window, it skipped 56/303056/9
joogab.yun [Tue, 19 Dec 2023 10:48:40 +0000 (19:48 +0900)]
If it is a key event that occurred in another window, it skipped

Change-Id: I32973650a1a7974f1ee58ecc2afe2cd5c53e570a

12 months agoDALi Version 2.3.4 77/303277/1 dali_2.3.4
Adeel Kazmi [Fri, 22 Dec 2023 11:27:27 +0000 (11:27 +0000)]
DALi Version 2.3.4

Change-Id: I52c8374f639a64d11c4fe6375a50978c593e86b3

12 months agoMerge "Print Processor and AsyncTask name" into devel/master
Eunki Hong [Wed, 20 Dec 2023 08:48:21 +0000 (08:48 +0000)]
Merge "Print Processor and AsyncTask name" into devel/master

12 months agoFix svace issue (accessible null check) 98/303098/1
Eunki, Hong [Wed, 20 Dec 2023 04:02:14 +0000 (13:02 +0900)]
Fix svace issue (accessible null check)

Change-Id: I71afc8e98a9e8eef985130757091cd8e5fed4182
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoPrint Processor and AsyncTask name 25/303025/3
Eunki, Hong [Tue, 19 Dec 2023 03:20:57 +0000 (12:20 +0900)]
Print Processor and AsyncTask name

Change-Id: Id857319423092faea102b9f8e5acb37a92bec7c6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "(A11y) Connect PropertySet signal only if highlighed" into devel/master
Eunki Hong [Tue, 19 Dec 2023 10:27:27 +0000 (10:27 +0000)]
Merge "(A11y) Connect PropertySet signal only if highlighed" into devel/master

12 months agoMerge "Add AnchorColor Property" into devel/master
Bowon Ryu [Tue, 19 Dec 2023 09:25:16 +0000 (09:25 +0000)]
Merge "Add AnchorColor Property" into devel/master

12 months agoAdd AnchorColor Property 84/302984/4
Bowon Ryu [Mon, 18 Dec 2023 09:44:11 +0000 (18:44 +0900)]
Add AnchorColor Property

AnchorColor(or AnchorClickedColor) property is
used as the default color of the markup anchor tag.

If there is a color attribute in the markup anchor tag,
the markup attribute takes precedence.

Change-Id: Idc938495036319f74764b9ddadc2441d46eed159
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months agoTrace log when remove texture caches + VectorAnimationManager 48/302948/1
Eunki, Hong [Mon, 18 Dec 2023 04:28:01 +0000 (13:28 +0900)]
Trace log when remove texture caches + VectorAnimationManager

Print some more logs when we has a lots number of events to execute during
post processor.

Change-Id: If2c2d8d62dc6969befb5d71ea84973a47b951af2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoDALi Version 2.3.3 15/302915/1 dali_2.3.3
Adeel Kazmi [Fri, 15 Dec 2023 10:23:05 +0000 (10:23 +0000)]
DALi Version 2.3.3

Change-Id: I43b9f30807addfc1b578f862e5883a96c43a4729

12 months agoCoverity issue fix 44/302844/1
Adam Bialogonski [Thu, 14 Dec 2023 09:56:35 +0000 (09:56 +0000)]
Coverity issue fix

- removed unused 'mesh' parameter

Change-Id: I07505bab4da485578882ee63a0211703b2cac4a6
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
12 months agoUse DepthIndex for 3D rendering order 26/302326/10
seungho baek [Tue, 5 Dec 2023 08:37:37 +0000 (17:37 +0900)]
Use DepthIndex for 3D rendering order

Change-Id: Id722744a3db4aa1504ae45894b6edcc4039994d7
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months agoMerge "DALi Version 2.3.2" into devel/master
Adeel Kazmi [Fri, 8 Dec 2023 11:24:39 +0000 (11:24 +0000)]
Merge "DALi Version 2.3.2" into devel/master

12 months agoDALi Version 2.3.2 60/302560/1 dali_2.3.2
Adam Bialogonski [Fri, 8 Dec 2023 11:06:13 +0000 (11:06 +0000)]
DALi Version 2.3.2

Change-Id: I7893077cee68d3b4273bdc556a059337331f3143

12 months ago(A11y) Connect PropertySet signal only if highlighed 04/301104/7
Eunki, Hong [Wed, 8 Nov 2023 13:10:53 +0000 (22:10 +0900)]
(A11y) Connect PropertySet signal only if highlighed

Notify when ACCESSIBILITY_NAME or ACCESSIBILITY_DESCRIPTION changed cases are
only need for highlighted control. So let we ensure to connect property set signal
only if control has ben grabed at least one time.

It will be useful when never be highlighted Actor's Accessible creation / destruct time.

Change-Id: I0c719a4576d02db9914a0e7b53a266ba4845cee2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoRemove gcc-13 build warning [-Wpessimizing-move] 86/302486/1
Eunki Hong [Thu, 7 Dec 2023 15:12:47 +0000 (00:12 +0900)]
Remove gcc-13 build warning [-Wpessimizing-move]

/home/leaf/work/dali-toolkit/dali-toolkit/internal/visuals/image-visual-shader-debug.cpp: In function ‘void Dali::Toolkit::Internal::ImageVisualShaderDebug::ApplyImageVisualShaderDebugScriptCode(std::string&)’:
/home/leaf/work/dali-toolkit/dali-toolkit/internal/visuals/image-visual-shader-debug.cpp:289:70: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
  289 |     RedefineMacro(fragmentShader, std::move(key.stringKey), std::move(value.Get<std::string>()));
      |                                                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/leaf/work/dali-toolkit/dali-toolkit/internal/visuals/image-visual-shader-debug.cpp:289:70: note: remove ‘std::mov’ call

Change-Id: I7327933872cca94879b39ab52f904f0d580d29b0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago(Vector) Erase all EventThreadCallbacks with same pointer 09/302409/2
Eunki, Hong [Wed, 6 Dec 2023 08:00:55 +0000 (17:00 +0900)]
(Vector) Erase all EventThreadCallbacks with same pointer

Due to some logical issue, there might be happend that we apply multiple
EventThread callback into VectorAnimationThread.

And if VectorAnimationTask destructor called, we remove only single callback.

If error case occured, EventThread can execute dead callback.

Change-Id: I9e3895180916a292bbca838997ae3053ee8799b5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "Add visualization option for check texture and visual size" into devel/master
Eunki Hong [Wed, 6 Dec 2023 05:59:28 +0000 (05:59 +0000)]
Merge "Add visualization option for check texture and visual size" into devel/master

12 months agoMerge "Add log for FocusLost" into devel/master
joogab yun [Wed, 6 Dec 2023 05:53:31 +0000 (05:53 +0000)]
Merge "Add log for FocusLost" into devel/master

12 months agoAdd visualization option for check texture and visual size 55/301955/16
Eunki, Hong [Tue, 28 Nov 2023 09:32:00 +0000 (18:32 +0900)]
Add visualization option for check texture and visual size

To support some visualize debugging for app, let we make special
environment value and json script.

By change the json script files by app side, we can debug image visuals freely.

Change-Id: If78d8eb0057ea28ad1b5e0f5f70809c966f2cf3e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoFixed SVACE errors 47/302347/1
Adeel Kazmi [Tue, 5 Dec 2023 16:37:55 +0000 (16:37 +0000)]
Fixed SVACE errors

Change-Id: Ie5f9420aee93ffc35136378926328934c9b39045

12 months agoAdd log for FocusLost 76/302276/6
joogab.yun [Tue, 5 Dec 2023 05:34:45 +0000 (14:34 +0900)]
Add log for FocusLost

Change-Id: If73db96299b5a8e280fdece3da1df3ab4071a9bb

12 months agoSupport RootTranslationOnly option for motion capture data 47/302247/1
seungho baek [Tue, 21 Nov 2023 07:27:44 +0000 (16:27 +0900)]
Support RootTranslationOnly option for motion capture data

Change-Id: I4058c891336a6f802c6e70efe87e06ffdaabb1f5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months agoMerge "Add SetResolution method to SceneView" into devel/master
Seungho BAEK [Mon, 4 Dec 2023 08:01:06 +0000 (08:01 +0000)]
Merge "Add SetResolution method to SceneView" into devel/master

12 months agoFix key event consumption issue in text field 12/302212/1
Bowon Ryu [Mon, 4 Dec 2023 06:10:05 +0000 (15:10 +0900)]
Fix key event consumption issue in text field

The keycode for '$' and `RETURN` are the same on a specific device.
To avoid this problem, check the key name.

Change-Id: I743688b69e10b0bcb83476bbad8616791eebb5ea
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months agoAdd SetResolution method to SceneView 50/301950/5
seungho baek [Tue, 28 Nov 2023 07:13:21 +0000 (16:13 +0900)]
Add SetResolution method to SceneView

Change-Id: Ib3b9ea2352457eb3d8d6085eed2ad58300fb24e5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months agoMerge "Enable masking for Scene3D::SceneView" into devel/master
Seungho BAEK [Mon, 4 Dec 2023 01:37:21 +0000 (01:37 +0000)]
Merge "Enable masking for Scene3D::SceneView" into devel/master

12 months agoMerge "DALi Version 2.3.1" into devel/master
David Steele [Fri, 1 Dec 2023 11:31:07 +0000 (11:31 +0000)]
Merge "DALi Version 2.3.1" into devel/master

12 months agoDALi Version 2.3.1 65/302165/1 dali_2.3.1
Richard Huang [Fri, 1 Dec 2023 11:02:41 +0000 (11:02 +0000)]
DALi Version 2.3.1

Change-Id: I7ce1eacbcc19c18f7a69b95a989f582524b504a2

12 months agoEnable masking for Scene3D::SceneView 23/301423/10
seungho baek [Wed, 25 Oct 2023 05:45:17 +0000 (14:45 +0900)]
Enable masking for Scene3D::SceneView

Change-Id: Ia725f8a19a96d6020e1247cc49b9568a5f562215
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months ago(Scene3D) Ensure remove image-resource-loader cache when app terminated 20/302020/4
Eunki Hong [Wed, 29 Nov 2023 14:02:08 +0000 (23:02 +0900)]
(Scene3D) Ensure remove image-resource-loader cache when app terminated

Since ImageResourceLoader use static global value internally,
it might have some problem when we use OffscreenApplication multiple time.

Since even Dali::Application destroyed, the static value can be alived.
At this time, If we create new Dali::Application one more time, the cache
system break down.

To ensure we follow up the cache system, let we connect the signal to
LifecycleController, and then delete self.
It will ensure we can re-create this cache after Dali::Application recreated.

Change-Id: I6178a91dfff2a435eb95d11e7ca8ef7479c125ed
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months agoFixed ColliderMesh issue for NUI 14/302114/3
Adam Bialogonski [Thu, 30 Nov 2023 10:27:06 +0000 (10:27 +0000)]
Fixed ColliderMesh issue for NUI

The collider mesh was not registered correctly upon adding the node to the Model.

Change-Id: Id9ca71070d892017915f610b79c4ab13447b7d51
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
12 months agoMerge "To stop animated image visual when it become invisible." into devel/master
Seungho BAEK [Thu, 30 Nov 2023 02:32:02 +0000 (02:32 +0000)]
Merge "To stop animated image visual when it become invisible." into devel/master

12 months ago(bullet3) Remove unused script 14/302014/1
Adeel Kazmi [Wed, 29 Nov 2023 11:29:40 +0000 (11:29 +0000)]
(bullet3) Remove unused script

Change-Id: Iddba229df7962fa4d07818c956f100669c1534c0

12 months agoTo stop animated image visual when it become invisible. 24/301424/7
seungho baek [Tue, 24 Oct 2023 10:09:38 +0000 (19:09 +0900)]
To stop animated image visual when it become invisible.

Change-Id: I48ba87d31ba6db63489879cb4a7940da8714a29f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months agoMerge changes I0e507c05,Ib114c29b into devel/master
Eunki Hong [Wed, 29 Nov 2023 03:17:10 +0000 (03:17 +0000)]
Merge changes I0e507c05,Ib114c29b into devel/master

* changes:
  Fix crash issue when FastTrackUploading load YUV
  Append 1 pixel if corner radius is full-circle

12 months agoFix broken text rendering issue with emoji 59/301959/1
Bowon Ryu [Tue, 28 Nov 2023 11:15:17 +0000 (20:15 +0900)]
Fix broken text rendering issue with emoji

float casting is important in RegisterUniqueProperty

Change-Id: I2c5265a805aeb4d3a95427e730626d336ac0109e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months agoFix crash issue when FastTrackUploading load YUV 44/301944/3
Eunki, Hong [Tue, 28 Nov 2023 05:31:16 +0000 (14:31 +0900)]
Fix crash issue when FastTrackUploading load YUV

pixelBuffer[0] was already invalidated after PixelBuffer::Convert.
So, we should use mPixelData[0] when we want to get the size of image.

Change-Id: I0e507c05f377416961fa17347fd26403a8153a27
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoAppend 1 pixel if corner radius is full-circle 94/301694/9
Eunki, Hong [Wed, 22 Nov 2023 02:22:40 +0000 (11:22 +0900)]
Append 1 pixel if corner radius is full-circle

Their was some visual quality issue occured when we render perfect circle.

The reason of issue was, the fragments for soft-anti-alias area was required.

For resolve this issue greedly, let we just append vertex position margin,
and render it applied as that margin value.

TODO : Currently, we only consider fully-circle case. Let we need to calculate
is there any similar defect need to be resolved for normal rect cases.

Change-Id: Ib114c29b08806e21c3830b1dc65a8098b34ef060
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "Apply precompile shader" into devel/master
sunghyun kim [Tue, 28 Nov 2023 04:33:23 +0000 (04:33 +0000)]
Merge "Apply precompile shader" into devel/master

12 months agoMerge "Use unified way to load vector data from gltf binary" into devel/master
Seungho BAEK [Sat, 25 Nov 2023 13:31:51 +0000 (13:31 +0000)]
Merge "Use unified way to load vector data from gltf binary" into devel/master

13 months agoMerge "DALi Version 2.3.0" into devel/master
Adeel Kazmi [Fri, 24 Nov 2023 12:40:54 +0000 (12:40 +0000)]
Merge "DALi Version 2.3.0" into devel/master

13 months agoDALi Version 2.3.0 54/301854/1 dali_2.3.0
David Steele [Fri, 24 Nov 2023 12:38:08 +0000 (12:38 +0000)]
DALi Version 2.3.0

Change-Id: I6189cbebf80d01705190d3ca9301edd39f52478b

13 months agoMerge "Fix coverity issue (foreach make copy)" into devel/master
Eunki Hong [Fri, 24 Nov 2023 08:30:08 +0000 (08:30 +0000)]
Merge "Fix coverity issue (foreach make copy)" into devel/master

13 months agoMerge "Sync AsyncTaskManager code with adaptor" into devel/master
Eunki Hong [Fri, 24 Nov 2023 07:56:16 +0000 (07:56 +0000)]
Merge "Sync AsyncTaskManager code with adaptor" into devel/master

13 months agoFix coverity issue (foreach make copy) 30/301830/1
Eunki, Hong [Fri, 24 Nov 2023 06:59:09 +0000 (15:59 +0900)]
Fix coverity issue (foreach make copy)

Maybe it has less effect, but resolve it anyway.

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