platform/core/uifw/dali-toolkit.git
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 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>
13 months agoAdded NavigationMeshExporter Blender script. 18/301818/6
Adam Bialogonski [Thu, 23 Nov 2023 17:03:04 +0000 (17:03 +0000)]
Added NavigationMeshExporter Blender script.

Change-Id: I939e301e04198abc4ab310cd5b20752b0452b984

13 months agoMerge "fixed coverity issue" into devel/master
Adeel Kazmi [Thu, 23 Nov 2023 16:07:11 +0000 (16:07 +0000)]
Merge "fixed coverity issue" into devel/master

13 months agoMerge "Support glTF extention: KHR_texture_transform" into devel/master
Adeel Kazmi [Thu, 23 Nov 2023 15:12:02 +0000 (15:12 +0000)]
Merge "Support glTF extention: KHR_texture_transform" into devel/master

13 months agofixed coverity issue 17/301817/1
Adam Bialogonski [Thu, 23 Nov 2023 14:25:15 +0000 (14:25 +0000)]
fixed coverity issue

Change-Id: I14e7ced7fa0c1581454cafb46c404f191f163bd4

13 months agoSupport glTF extention: KHR_texture_transform 78/301678/4
Richard Huang [Tue, 21 Nov 2023 11:43:42 +0000 (11:43 +0000)]
Support glTF extention: KHR_texture_transform

Change-Id: I54048e0c51c1331ca141d5af6486b9e1350e397a

13 months agoUse unified way to load vector data from gltf binary 22/292922/8
seungho baek [Wed, 17 May 2023 04:11:01 +0000 (13:11 +0900)]
Use unified way to load vector data from gltf binary

 - In the previous code,
 - 1) there were many duplicated codes to read data from file/buffer.
 - 2) some Methods are too long.
 - This patch reduce duplicated code by using Templete and make LoadRaw method shorten.
 - And uses input data struct to use small number of input parameter

Change-Id: I8f93f4a3d9d5e69d9579603cb855c5375508227d
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months agoSync AsyncTaskManager code with adaptor 26/301626/2
Eunki, Hong [Tue, 21 Nov 2023 03:20:29 +0000 (12:20 +0900)]
Sync AsyncTaskManager code with adaptor

Change-Id: I23cb97513814cb22b2c4006f0171b11f75c5cc65
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Removing spurious ; from shader macro code" into devel/master
Eunki Hong [Thu, 23 Nov 2023 04:33:16 +0000 (04:33 +0000)]
Merge "Removing spurious ; from shader macro code" into devel/master

13 months agoMerge "Removed unused macro invocation from shader" into devel/master
David Steele [Wed, 22 Nov 2023 10:22:14 +0000 (10:22 +0000)]
Merge "Removed unused macro invocation from shader" into devel/master

13 months agoMerge "Let Anti-Alias consider scale factor" into devel/master
Eunki Hong [Wed, 22 Nov 2023 02:09:37 +0000 (02:09 +0000)]
Merge "Let Anti-Alias consider scale factor" into devel/master

13 months agoMerge "Make reference count as signed integer" into devel/master
Eunki Hong [Wed, 22 Nov 2023 01:58:58 +0000 (01:58 +0000)]
Merge "Make reference count as signed integer" into devel/master

13 months agoMerge "Remove build waring [-Wpessimizing-move] (don't need to std::move at return...
Eunki Hong [Tue, 21 Nov 2023 23:46:20 +0000 (23:46 +0000)]
Merge "Remove build waring [-Wpessimizing-move] (don't need to std::move at return value)" into devel/master

13 months agoLet Anti-Alias consider scale factor 63/301563/6
Eunki, Hong [Mon, 20 Nov 2023 04:41:03 +0000 (13:41 +0900)]
Let Anti-Alias consider scale factor

Some days ago, we assume that the view which is smaller than 100x100 doesn't use
the range of anti-alias as 1.0.

(See https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/279801)

But it make some visual defect when we use 56x56 size of view and scale it up.

Basically, the problem of these issues comes due to visuald don't know the
scale value.
So let we get actor's scale value as default shader property,
and then use it as anti-alias calculation parameter.

Change-Id: I64b32049919cd79c9dda7fcf7c9c256e5b5a6078
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMake reference count as signed integer 89/301689/1
Eunki, Hong [Tue, 21 Nov 2023 23:15:19 +0000 (08:15 +0900)]
Make reference count as signed integer

Since the reference count can be negative if CANCEL cases, we should keep it
as signed integer value

(The patch https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/300487 change as wrong integer type)

Change-Id: I297b587bea7afb3b7bf2a83d4a0de8ab9b373713
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoSpecify operator as deleted as the implementation does not exist 86/301686/1
Adeel Kazmi [Tue, 21 Nov 2023 15:19:50 +0000 (15:19 +0000)]
Specify operator as deleted as the implementation does not exist

Change-Id: Iee57165de6ee8c683b78459719035c4328d2afd6

13 months ago(Scene3D) Cleaned up Doxygen tags in loader files 12/301612/3
Adeel Kazmi [Mon, 20 Nov 2023 17:12:18 +0000 (17:12 +0000)]
(Scene3D) Cleaned up Doxygen tags in loader files

Change-Id: Ic59dced14afde154a8c8fa389ae26df063c00f23

13 months agoApply precompile shader 31/300331/6
sunghyun kim [Thu, 21 Sep 2023 06:01:48 +0000 (15:01 +0900)]
Apply precompile shader

Change-Id: I4e1262f2265799af9ea076bda222c1348873dd21

13 months agoRemoved unused macro invocation from shader 14/301614/2
David Steele [Mon, 20 Nov 2023 17:25:56 +0000 (17:25 +0000)]
Removed unused macro invocation from shader

Change-Id: I38953dd21347753de90b567f427b60dde0489637

13 months agoRemoving spurious ; from shader macro code 10/301610/1
David Steele [Mon, 20 Nov 2023 15:29:06 +0000 (15:29 +0000)]
Removing spurious ; from shader macro code

Change-Id: I0477a2791d4e56b80ebc1a24ef2b047daa4da901

13 months agoRemove build waring [-Wpessimizing-move] (don't need to std::move at return value) 42/301542/1
Eunki Hong [Sun, 19 Nov 2023 15:38:58 +0000 (00:38 +0900)]
Remove build waring [-Wpessimizing-move] (don't need to std::move at return value)

We don't need to use std::move for return value.

Change-Id: Ia2c1d156af039b38f5f6882f2f69537031eddb6b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago(Scene3D) Fix all Public API release versions 38/301538/1
Adeel Kazmi [Fri, 17 Nov 2023 23:27:26 +0000 (23:27 +0000)]
(Scene3D) Fix all Public API release versions

Change-Id: Ia47c4a603341400777ccdd37be788eb04a91a93c

13 months agoMerge "Test harness sync" into devel/master
Adeel Kazmi [Fri, 17 Nov 2023 23:03:15 +0000 (23:03 +0000)]
Merge "Test harness sync" into devel/master

13 months agoDALi Version 2.2.53 26/301526/1 dali_2.2.53
Adeel Kazmi [Fri, 17 Nov 2023 14:56:47 +0000 (14:56 +0000)]
DALi Version 2.2.53

Change-Id: I0f978817151cd9e2e739c7c36a21b3021c47b63d

13 months agoMerge "3D Scene Hit Testing" into devel/master
Adeel Kazmi [Thu, 16 Nov 2023 14:55:27 +0000 (14:55 +0000)]
Merge "3D Scene Hit Testing" into devel/master

13 months ago3D Scene Hit Testing 13/299713/18
Adam Bialogonski [Mon, 13 Nov 2023 07:34:01 +0000 (07:34 +0000)]
3D Scene Hit Testing

- New functions creates mesh using list of vertices and face indices to work with NUI.
- Added the functionality to detect which mesh is hit & emit signal

Requires C# binding and NUI Model.cs update

Change-Id: Ib5bfd8ad6e7c35017db2c1173805f5c863156530
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
13 months agoMerge "Added 2.3.0 support in the doxy file" into devel/master
Adeel Kazmi [Thu, 16 Nov 2023 08:58:53 +0000 (08:58 +0000)]
Merge "Added 2.3.0 support in the doxy file" into devel/master

13 months agoCheck missing accessible checker code 49/301449/1
Eunki, Hong [Thu, 16 Nov 2023 04:52:31 +0000 (13:52 +0900)]
Check missing accessible checker code

Fix svace issue

Change-Id: I8e60b163fb39ff6481aa85ef4dc1f0ce9cfeef71
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoAllow bitmap 6byte utf8 glyph + Ignore build warning 28/301428/2
Eunki Hong [Wed, 15 Nov 2023 17:08:37 +0000 (02:08 +0900)]
Allow bitmap 6byte utf8 glyph + Ignore build warning

The new warning option -Wstringop-overflow occured when we convert
from std::string to utf8 buffer.

Also, current dali support maximum 6 bytes utf8 glyph.
Let we also support them for BitmapFont case.

Change-Id: I3cc1f20145fa7be9071de3048d7d242cb6273bd8
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoAdded 2.3.0 support in the doxy file 32/301432/1
Adeel Kazmi [Wed, 15 Nov 2023 21:21:42 +0000 (21:21 +0000)]
Added 2.3.0 support in the doxy file

Change-Id: I2cb3471159b559bd1eb5729d7b7d5a9fabd200bb

13 months agoTest harness sync 30/301430/1
David Steele [Wed, 15 Nov 2023 18:48:11 +0000 (18:48 +0000)]
Test harness sync

Change-Id: I9044b20f53b2a13fa87eca58d84dd719d7958337

13 months ago(A11y) Let we make some way to do not create new Accessible 06/301106/9
Eunki, Hong [Wed, 8 Nov 2023 13:29:49 +0000 (22:29 +0900)]
(A11y) Let we make some way to do not create new Accessible

Add some API that we will not create new Accessible() object anymore.

It will be useful when we ignore some Disposed view's accessible action.

Change-Id: I6186f95eacf3c7d3cdb9c4ff9543edc019096552
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoFix gcc-13 compile error (std::uint64_t not defined) 39/301339/1
Eunki Hong [Tue, 14 Nov 2023 14:22:59 +0000 (23:22 +0900)]
Fix gcc-13 compile error (std::uint64_t not defined)

Change-Id: I5c0558a45b490beca55ae89d568c0dfd9457c4c4
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoFix coverity issue (invalid iterator access) 04/301304/1
Eunki, Hong [Tue, 14 Nov 2023 01:46:51 +0000 (10:46 +0900)]
Fix coverity issue (invalid iterator access)

We can setup ImageType freely. If some user set invalid image type into
EncodedImageBuffer, it will be crash.

To avoid this situation, let we allow to set invalid image type, and
it will works like regular image type.

Change-Id: I84757da0540755f12eb9a12850941ba6bd93bac1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Remove Atlas parameter for TextureManager cache system" into devel/master
Adeel Kazmi [Fri, 10 Nov 2023 17:42:46 +0000 (17:42 +0000)]
Merge "Remove Atlas parameter for TextureManager cache system" into devel/master

13 months agoMerge "Implement AsyncTaskManager for toolkit UTC" into devel/master
Adeel Kazmi [Fri, 10 Nov 2023 17:23:12 +0000 (17:23 +0000)]
Merge "Implement AsyncTaskManager for toolkit UTC" into devel/master

13 months agoMerge "(AnimatedVector) Cache lottie file's layer / marker info" into devel/master
Adeel Kazmi [Fri, 10 Nov 2023 16:14:04 +0000 (16:14 +0000)]
Merge "(AnimatedVector) Cache lottie file's layer / marker info" into devel/master

13 months agoMerge "Minor optimization for image visaul and texture manager" into devel/master
Adeel Kazmi [Fri, 10 Nov 2023 16:10:54 +0000 (16:10 +0000)]
Merge "Minor optimization for image visaul and texture manager" into devel/master

13 months agoMerge "There is no function of the namespace defined in cpp, so it don't need the...
Adeel Kazmi [Fri, 10 Nov 2023 09:50:02 +0000 (09:50 +0000)]
Merge "There is no function of the namespace defined in cpp, so it don't need the flag DALI_TOOLKIT_API" into devel/master

13 months agoMerge "WayPointData is a struct defined in dali-toolkit/dali-scene3d/internal/algorit...
Adeel Kazmi [Fri, 10 Nov 2023 09:49:50 +0000 (09:49 +0000)]
Merge "WayPointData is a struct defined in dali-toolkit/dali-scene3d/internal/algorithm/path-finder-waypoint-data.h" into devel/master

13 months agoDALi Version 2.2.52 03/301203/1 dali_2.2.52
Adam Bialogonski [Fri, 10 Nov 2023 07:42:48 +0000 (07:42 +0000)]
DALi Version 2.2.52

Change-Id: I1b00dd7c940c418fbeba87c71b93bd82ef5192f0

13 months agoImplement AsyncTaskManager for toolkit UTC 48/300448/10
Eunki, Hong [Wed, 25 Oct 2023 04:30:50 +0000 (13:30 +0900)]
Implement AsyncTaskManager for toolkit UTC

Let we ignore Process() doesn't registered when we
check AsyncTask completed.

There was a lots of UTCs that randomly failed
due to the task completed and excuted at Process() timing.

Now we make async-task-manager triggered by event thread callback,
not include Process(). It will make sure that UTC who need to wait
async tasks completed is ensured.

Change-Id: I5ec2eca6e579be4459c957db3f52c90bc219602e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoRemove Atlas parameter for TextureManager cache system 87/300487/9
Eunki, Hong [Thu, 26 Oct 2023 04:56:47 +0000 (13:56 +0900)]
Remove Atlas parameter for TextureManager cache system

If some visual attempt to atlas, they will use AtlasManager.
So there is no reason to keep atlas relative informations for
TextureInfo struct, what we are caching now.

+

This patch touch a lots of codes in texture-manager.
So, I also change something useless lvalue usages
Something like, const bool&

Change-Id: I6a83b75c8311377e2ab6d62d29c19864a21d7e79
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago(AnimatedVector) Cache lottie file's layer / marker info 01/301101/2
Eunki, Hong [Wed, 8 Nov 2023 11:22:15 +0000 (20:22 +0900)]
(AnimatedVector) Cache lottie file's layer / marker info

GetLayerInfo and GetMarkerInfo can be called usually if we use NUI system.
(Since we call Visual::Base::CreatePropertyMap() every times we change some
properties.)

But the LayerInfo / MarkerInfo never be changed if the file is fixed.
So let we cache that information, and use cached value.

It can also reduce mutex block at plugin system internally.

Change-Id: I767bd581dc5e2a41715263d03c1ace15d2476df3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoThere is no function of the namespace defined in cpp, so it don't need the flag DALI_... 14/301014/2
AdunFang [Tue, 7 Nov 2023 06:05:19 +0000 (15:05 +0900)]
There is no function of the namespace defined in cpp, so it don't need the flag DALI_TOOLKIT_API

Change-Id: If6ff6ee18d4c6edc5573c9c473471b0f67c7742d

13 months agoWayPointData is a struct defined in dali-toolkit/dali-scene3d/internal/algorithm... 12/301012/2
AdunFang [Tue, 7 Nov 2023 05:22:28 +0000 (14:22 +0900)]
WayPointData is a struct defined in dali-toolkit/dali-scene3d/internal/algorithm/path-finder-waypoint-data.h

Change-Id: I61da87b6d9e792ba1bef80b87bb61bac359b7d71

13 months agoMerge changes I1b1abc2c,I47083821,Icbe72d36,I6292beb0,I14b750ac, ... into devel/master
Adeel Kazmi [Thu, 9 Nov 2023 17:21:25 +0000 (17:21 +0000)]
Merge changes I1b1abc2c,I47083821,Icbe72d36,I6292beb0,I14b750ac, ... into devel/master

* changes:
  Test harness sync
  Limited joint/weight attributes to 4 sets
  Added vertex color test to model primitive
  Add macro defs to shader regen
  Adding debug to shader defs
  Updated model loader to handle multiple attr sets
  Switched joints to use UBO with larger size in PBR shader

13 months agoMinor optimization for image visaul and texture manager 99/300799/5
Eunki, Hong [Thu, 2 Nov 2023 08:23:35 +0000 (17:23 +0900)]
Minor optimization for image visaul and texture manager

- Set texture index ordered bigger to smaller

Since we reserve the size of textureset internally,
set index bigger to smaller is more faster than else.

- Disconnect ObserverDestroyed what loadqueue connected

To avoid useless duplicated connection, let we disconnect
observer destroyed signal before process load queue.

Change-Id: I516406bcad2005ba628b3890fbc814df9c1a5e29
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "(Vector) Support EncodedImageBuffer can use for vector image" into devel/master
Eunki Hong [Wed, 8 Nov 2023 04:56:41 +0000 (04:56 +0000)]
Merge "(Vector) Support EncodedImageBuffer can use for vector image" into devel/master

13 months agoTest harness sync 52/301052/1
David Steele [Tue, 7 Nov 2023 17:25:49 +0000 (17:25 +0000)]
Test harness sync

Change-Id: I1b1abc2c020803afec166955fd52b928f57530d8