platform/core/uifw/dali-toolkit.git
13 months ago[dali_2.2.16] Merge branch 'devel/master' 71/289271/1
Adam Bialogonski [Fri, 3 Mar 2023 10:26:48 +0000 (10:26 +0000)]
[dali_2.2.16] Merge branch 'devel/master'

Change-Id: I9d57f44aaedc074540361181a6acaaa7c40722be

13 months agoDALi Version 2.2.16 65/289265/1 dali_2.2.16
Adam Bialogonski [Fri, 3 Mar 2023 10:25:48 +0000 (10:25 +0000)]
DALi Version 2.2.16

Change-Id: I2e65a45440d0296de4748e3a10b1b1031557df7f

13 months agoMake multiple roots model share the resources. 01/289101/2
Eunki Hong [Wed, 1 Mar 2023 10:22:55 +0000 (19:22 +0900)]
Make multiple roots model share the resources.

Previous code generate new refcounts per each scene roots.
If one model file has multiple roots, then each root didn't share there
resouces each other.

And also, due to the resource cache patch block multiple RawResouces loaded,
multiple roots scene was not works well.

This patch make we use only one refcounter per one model,
So we can assume that we only load just one times if
multi scene use same resources

Change-Id: I752f8a4ed352d4c328b1f48791bf0fee4fc8adcb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoMake sure that global variables are initialized lazily in scene3d. 02/289102/1
huayong.xu [Wed, 1 Mar 2023 10:18:13 +0000 (18:18 +0800)]
Make sure that global variables are initialized lazily in scene3d.

Global variables are initialized when scene3d so is loaded firstly.
This would allocate more memory in some cases.
This patch is to make the variables be initialized lazily.

Change-Id: I317c04b7d04c74d84a44be8c603ddcdaacdabf83

13 months agoCache manager for 3D models 98/287698/18
Richard [Thu, 2 Feb 2023 15:07:37 +0000 (15:07 +0000)]
Cache manager for 3D models

Change-Id: I6cd522b2ee5c2dc33fa7740d2421d9220ee058de

13 months agoMerge "Allow to load uint32_t as indices" into devel/master
David Steele [Mon, 27 Feb 2023 11:09:45 +0000 (11:09 +0000)]
Merge "Allow to load uint32_t as indices" into devel/master

14 months agoMerge "DALi Version 2.2.15" into devel/master
David Steele [Fri, 24 Feb 2023 12:31:07 +0000 (12:31 +0000)]
Merge "DALi Version 2.2.15" into devel/master

14 months ago[dali_2.2.15] Merge branch 'devel/master' 29/288929/1
Richard Huang [Fri, 24 Feb 2023 12:25:14 +0000 (12:25 +0000)]
[dali_2.2.15] Merge branch 'devel/master'

Change-Id: I01efb5f098660428ccd3128136b121b2b97b71fa

14 months agoDALi Version 2.2.15 23/288923/1 dali_2.2.15
Richard Huang [Fri, 24 Feb 2023 12:24:26 +0000 (12:24 +0000)]
DALi Version 2.2.15

Change-Id: I0155a4d6a971a46f3930dc3a6c6f6fd0782c9d60

14 months agoMerge "Generate Camera from loaded model" into devel/master
Eunki Hong [Fri, 24 Feb 2023 06:30:30 +0000 (06:30 +0000)]
Merge "Generate Camera from loaded model" into devel/master

14 months agoAllow to load uint32_t as indices 37/288537/11
Eunki Hong [Sat, 18 Feb 2023 10:22:52 +0000 (19:22 +0900)]
Allow to load uint32_t as indices

Dali's default indices use uint16_t. But if heavy 3D model who need more than
65536 indexes loaded, It will break index.

This patch make Scene3D can allow to use uint32_t type indeces load
and generete Geometry by it.

Change-Id: I6b8096df3fcf855443e6b407342121b9374d9ff8
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoGenerate Camera from loaded model 30/288530/9
Eunki Hong [Fri, 17 Feb 2023 14:15:35 +0000 (23:15 +0900)]
Generate Camera from loaded model

Add API to generete (or apply) the camera what 3D model has.

Note that model cannot have ownership of camera
since we have to add camera into SceneView or whatever we want.
So GenerateCamera create new CameraActor everytime.
Or ApplyCamera into already created CameraActor.

TODO : Should we change all Scene3D::Loader used demo who use camera parameter?

Change-Id: Ief1571d1e8b522c1785b8721c279713b20760a99
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Fix space font validation condition" into devel/master
Bowon Ryu [Fri, 24 Feb 2023 04:48:47 +0000 (04:48 +0000)]
Merge "Fix space font validation condition" into devel/master

14 months agoFix space font validation condition 20/288820/7
joogab.yun [Thu, 23 Feb 2023 09:38:06 +0000 (18:38 +0900)]
Fix space font validation condition

when character is 0x20, there are various cases of font validation.
but if it is a default font or cached font, or
if a glyph exists in the current font when it is contiguous with the prev char,
it is natural to load current font.
this is same behaviour as before.. and the process of finding fonts can slightly reduced.

Change-Id: I017db2ec38e86642a83a44739a0d2c7af072e14a

14 months agoMerge "Refactoring model-impl.cpp" into devel/master
Seungho BAEK [Wed, 22 Feb 2023 03:12:08 +0000 (03:12 +0000)]
Merge "Refactoring model-impl.cpp" into devel/master

14 months agoMerge "When setting a focus actor, we log the current focused actor and the new focus...
joogab yun [Tue, 21 Feb 2023 06:12:09 +0000 (06:12 +0000)]
Merge "When setting a focus actor, we log the current focused actor and the new focused actor." into devel/master

14 months agoWhen setting a focus actor, we log the current focused actor and the new focused... 48/288648/2
joogab.yun [Tue, 21 Feb 2023 03:27:17 +0000 (12:27 +0900)]
When setting a focus actor, we log the current focused actor and the new focused actor.

Change-Id: Idbdce0ae55d18dbee314b3db0994413d0acf8a30

14 months agoRemove useless warning message for initialized window 65/288365/2
Eunki Hong [Wed, 15 Feb 2023 17:35:27 +0000 (02:35 +0900)]
Remove useless warning message for initialized window

OnWindowFocusChanged can be called when the window is created.
In that case, GetFocusActorFromCurrentWindow() will return empty Actor handle.

SetCurrentFocusActor() doesn't consider empty-handle input case. So we should skip
if GetFocusActorFromCurrentWindow() returns empty handle.

Change-Id: I440e60f7c46e234876a4d5af50445477b88e35f7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Replace std::string global variables with C-style string." into devel/master
David Steele [Mon, 20 Feb 2023 15:12:13 +0000 (15:12 +0000)]
Merge "Replace std::string global variables with C-style string." into devel/master

14 months agoMerge "Make sure that global variables are initialized lazily." into devel/master
David Steele [Mon, 20 Feb 2023 15:11:51 +0000 (15:11 +0000)]
Merge "Make sure that global variables are initialized lazily." into devel/master

14 months agoRefactoring model-impl.cpp 85/288585/5
seungho baek [Mon, 20 Feb 2023 06:57:09 +0000 (15:57 +0900)]
Refactoring model-impl.cpp

 - Extract some method to reduce duplicated code.
 - Reduce braces depth
 - Use return early for easy understanding
 - Separate too long method

Change-Id: I54e09138ae968a15be274fe415cfd3fd245047f8

14 months agoFix multiline text size issue in label 81/288581/4
Bowon Ryu [Mon, 20 Feb 2023 06:38:25 +0000 (15:38 +0900)]
Fix multiline text size issue in label

When font validation in the relayout process, if text update info is initialized,
font data should be cleared before UpdateModel() to ensure the number of characters removed and added.
Without this condition, incorrect text updates will occur due to incorrect number of characters.

Change-Id: Ic0a56dc355b746b2e718aa87ae61c507ade427b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months agoMake sure that global variables are initialized lazily. 84/288284/14
huayong.xu [Wed, 15 Feb 2023 05:37:56 +0000 (13:37 +0800)]
Make sure that global variables are initialized lazily.

Global variables are initialized before main function or
when dali so is loaded firstly.
This patch is to reduce loading time of dali in theory.

Change-Id: Ica5e9c063e1be2dfe2aa5f7865705481422063d9

14 months agoMerge "Make SceneView's default camera is 3D camera" into devel/master
Eunki Hong [Mon, 20 Feb 2023 03:54:57 +0000 (03:54 +0000)]
Merge "Make SceneView's default camera is 3D camera" into devel/master

14 months agoMerge "Reduce decoding time of embedded gltf + Fix base64 encode bug" into devel...
Eunki Hong [Mon, 20 Feb 2023 02:22:49 +0000 (02:22 +0000)]
Merge "Reduce decoding time of embedded gltf + Fix base64 encode bug" into devel/master

14 months agoMerge "Generate tangent as Vector4 for gltf" into devel/master
Eunki Hong [Mon, 20 Feb 2023 02:22:43 +0000 (02:22 +0000)]
Merge "Generate tangent as Vector4 for gltf" into devel/master

14 months agoMerge "Fix gltf animation's 0 frame behavior." into devel/master
Eunki Hong [Mon, 20 Feb 2023 02:22:36 +0000 (02:22 +0000)]
Merge "Fix gltf animation's 0 frame behavior." into devel/master

14 months agoGenerate tangent as Vector4 for gltf 73/287173/11
Eunki Hong [Fri, 20 Jan 2023 16:28:32 +0000 (01:28 +0900)]
Generate tangent as Vector4 for gltf

Since gltf use aTangent as Vector4 type, we seperate
the tangent load logic and shaders.

But dali auto generated aTangent used only for Vector3.
It mean Vector4's w value was ignored.

This patch branch whether we use Vector3 tangent or not.

Change-Id: I95a8d33c01fa84f06a60f843ec0a84681ccbd003
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months ago[dali_2.2.14] Merge branch 'devel/master' 25/288525/1
David Steele [Fri, 17 Feb 2023 13:52:12 +0000 (13:52 +0000)]
[dali_2.2.14] Merge branch 'devel/master'

Change-Id: I1f991e9700176fd1ce9fa7ed950752edfef4efc4

14 months agoDALi Version 2.2.14 19/288519/1 dali_2.2.14
David Steele [Fri, 17 Feb 2023 13:51:45 +0000 (13:51 +0000)]
DALi Version 2.2.14

Change-Id: I39d1c294a624c14438db97acf8db6eabe3641891

14 months agoMake SceneView's default camera is 3D camera 90/288490/2
Eunki, Hong [Fri, 17 Feb 2023 06:36:35 +0000 (15:36 +0900)]
Make SceneView's default camera is 3D camera

Since SceneView used camera don't care about the Dali::Scene size,
Let we use 3D engine style camera. It will not change the property
automatically, and also will looks good to 3D object.

Change-Id: I31d9d0fc042cdbf8b33bc4d87a912ca149e248fe
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoReduce decoding time of embedded gltf + Fix base64 encode bug 35/287635/7
Eunki, Hong [Wed, 1 Feb 2023 23:21:24 +0000 (08:21 +0900)]
Reduce decoding time of embedded gltf + Fix base64 encode bug

Let we don't copy the full string during decode base64.
+
Let we print '=' tags end of encoded base64 result, so
we can decode the encode result at common external library.

Change-Id: I2c671512ffcd986e30a4e773dacdd6e62dca2f31
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoReplace std::string global variables with C-style string. 36/288336/2
huayong.xu [Wed, 15 Feb 2023 08:58:50 +0000 (16:58 +0800)]
Replace std::string global variables with C-style string.

A std::string global variable would allocate a memory in heap,
then copy the string from .text section to the heap.
This patch may reduce loading time & memory a little.

Change-Id: I2ce22c98695cee6edea088d98b9569e11fc6c837

14 months agoFix gltf animation's 0 frame behavior. 22/288422/2
Eunki, Hong [Thu, 16 Feb 2023 09:10:10 +0000 (18:10 +0900)]
Fix gltf animation's 0 frame behavior.

Current dali animation's KeyFrame didn't determine when the time is out of frame.
But gltf 2.0 spec say that we must clamp the time as input range.

To match the spec, make the 0 frame's animation keyframe value.

Change-Id: I2831d9f44c2e21ad12b40fa4b52c1d4e4b1d8e9a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Fix the valid condition of text update" into devel/master
Bowon Ryu [Wed, 15 Feb 2023 12:32:03 +0000 (12:32 +0000)]
Merge "Fix the valid condition of text update" into devel/master

14 months agoFix the valid condition of text update 32/288332/5
Bowon Ryu [Wed, 15 Feb 2023 08:21:19 +0000 (17:21 +0900)]
Fix the valid condition of text update

Even when numberOfCharacters is 0u,
mParagraphCharacterIndex and mRequestedNumberOfCharacters cannot be greater than numberOfCharacters.

But in this case(text is empty), normal operation can be guaranteed by clear of update info.

Change-Id: Iad714d19598943492bae5eb51f1904a22d57b66c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months agoMerge "Add PathFinder algorithm using SPFA" into devel/master
Adeel Kazmi [Wed, 15 Feb 2023 11:23:22 +0000 (11:23 +0000)]
Merge "Add PathFinder algorithm using SPFA" into devel/master

14 months ago[dali_2.2.13] Merge branch 'devel/master' 39/288139/1
Adeel Kazmi [Fri, 10 Feb 2023 14:16:40 +0000 (14:16 +0000)]
[dali_2.2.13] Merge branch 'devel/master'

Change-Id: I104ac4340e91f8a6d2300de864347b78a97e86eb

14 months agoDALi Version 2.2.13 33/288133/1 dali_2.2.13
Adeel Kazmi [Fri, 10 Feb 2023 14:15:41 +0000 (14:15 +0000)]
DALi Version 2.2.13

Change-Id: I0bc43f89b418c198ed0776575ad4ce91390ee900

14 months agoFix svace issue (uint32_t to long or std::streamsize) 25/287825/2
Eunki, Hong [Tue, 7 Feb 2023 02:04:06 +0000 (11:04 +0900)]
Fix svace issue (uint32_t to long or std::streamsize)

To convert unsigned value into signed value safely,
we should convert as unsigned type with same size as signed type,
and after done, convert into signed type.

Change-Id: If6e7b613cea0b824866761f19b693fe553190b5a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoAdd PathFinder algorithm using SPFA 22/287422/7
Eunki Hong [Sun, 29 Jan 2023 15:07:00 +0000 (00:07 +0900)]
Add PathFinder algorithm using SPFA

Add new default algorithm using SPFA.
And also, SPFA with doubleway to reduce memory usage per query.

Change-Id: Ia8f7bf98fbc6e94c2e0e47251814b61cf8f9b9d2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months ago[dali_2.2.12] Merge branch 'devel/master' 59/287759/1
Adam Bialogonski [Fri, 3 Feb 2023 12:42:30 +0000 (12:42 +0000)]
[dali_2.2.12] Merge branch 'devel/master'

Change-Id: If8c215eff9cfc0f7040f1a90f7cab0aed70a234d

14 months agoDALi Version 2.2.12 53/287753/1 dali_2.2.12
Adam Bialogonski [Fri, 3 Feb 2023 12:41:29 +0000 (12:41 +0000)]
DALi Version 2.2.12

Change-Id: I7be1046b11780bb1816b310c7a33b76540e37a76

14 months agoFixed SVACE issue in gltf2-loader 24/287624/1
Adeel Kazmi [Wed, 1 Feb 2023 17:02:01 +0000 (17:02 +0000)]
Fixed SVACE issue in gltf2-loader

Change-Id: I6e12e6f9ce3c9286a24436195ae88a04ce32ea0b

14 months agoMake API to set MultiSampling level for SceneView 57/287357/5
Eunki, Hong [Fri, 27 Jan 2023 07:00:00 +0000 (16:00 +0900)]
Make API to set MultiSampling level for SceneView

Make new API to set FBO's multiSamplingLevel what this scene view will use.

Change-Id: I124cc9e7d6bcaffbfaf0323abd509fb84a36dbe3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Support embedded texture data for glTF + alpha" into devel/master
Seungho BAEK [Tue, 31 Jan 2023 04:29:02 +0000 (04:29 +0000)]
Merge "Support embedded texture data for glTF + alpha" into devel/master

14 months ago(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when... 74/287474/1
Adeel Kazmi [Mon, 30 Jan 2023 10:58:16 +0000 (10:58 +0000)]
(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when running

Change-Id: Ia1f8b6c87ee75f8dee30cea64bdc6d455a918576

14 months agoMerge "Remove useless warning message when multiline TextLabel SceneOff" into devel...
Eunki Hong [Mon, 30 Jan 2023 09:58:08 +0000 (09:58 +0000)]
Merge "Remove useless warning message when multiline TextLabel SceneOff" into devel/master

14 months agoMerge "Doxygen check version and block low version" into devel/master
Eunki Hong [Mon, 30 Jan 2023 02:27:20 +0000 (02:27 +0000)]
Merge "Doxygen check version and block low version" into devel/master

14 months agoMerge "Cleanup .gitignore file" into devel/master
Eunki Hong [Mon, 30 Jan 2023 02:26:48 +0000 (02:26 +0000)]
Merge "Cleanup .gitignore file" into devel/master

14 months agoSupport embedded texture data for glTF + alpha 36/286936/22
seungho baek [Tue, 17 Jan 2023 06:12:12 +0000 (15:12 +0900)]
Support embedded texture data for glTF + alpha

 - Supports embedded gltf
   - Supports data: iri for image.uri
   - Supports data: iri for buffer.uri
   - Supports image.bufferView.
 - Additional Fix
   - Changes default value of Sampler.wrapS, wrapT to Refeat
   - Adds function to decode base64 to std::vector<uint_8>
   - Fixes base64 decoder to do not cut end part.

Change-Id: I413d1f1b48a8a4234ea4c9faf3b3309536e5a53f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months agoDoxygen check version and block low version 18/287418/3
Eunki Hong [Fri, 27 Jan 2023 15:43:41 +0000 (00:43 +0900)]
Doxygen check version and block low version

Some option did not allow to be used some low version.
This patch make dali.doxy.in block them if version is low.

Change-Id: I5ca620113e7080a261cf84976d2619e231b04bab
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoAdded NavigationMesh and PathFinding using A* algorithm to dali-scene3d. 60/286960/25
Adam Bialogonski [Tue, 24 Jan 2023 16:57:07 +0000 (16:57 +0000)]
Added NavigationMesh and PathFinding using A* algorithm to dali-scene3d.

Change-Id: I66776b85e701d043afbd311c1939417fb10ab7fa
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
14 months agoRemove useless warning message when multiline TextLabel SceneOff 14/287414/1
Eunki Hong [Fri, 27 Jan 2023 14:21:24 +0000 (23:21 +0900)]
Remove useless warning message when multiline TextLabel SceneOff

When TextLabel is not single line, ScrollFinished callback called always.
And if layout is not a singline line, yellow message printed.

This patch try to remove that annoying useless message.

Change-Id: I6f76af40d797632ccaa0b9bba5827dcc41c7ea50
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoMerge "DALi Version 2.2.11" into devel/master
David Steele [Fri, 27 Jan 2023 12:26:08 +0000 (12:26 +0000)]
Merge "DALi Version 2.2.11" into devel/master

15 months ago[dali_2.2.11] Merge branch 'devel/master' 06/287406/1
Richard Huang [Fri, 27 Jan 2023 12:20:19 +0000 (12:20 +0000)]
[dali_2.2.11] Merge branch 'devel/master'

Change-Id: Icb81f587b709e4a9e1fa9aac27044810d079d9b4

15 months agoDALi Version 2.2.11 00/287400/1 dali_2.2.11
Richard Huang [Fri, 27 Jan 2023 12:19:28 +0000 (12:19 +0000)]
DALi Version 2.2.11

Change-Id: Ib7afa508934f23f3fa88cdca2c8d71166099eb0b

15 months agoFix default IBL env map type as Cube Map 40/287340/1
seungho baek [Fri, 27 Jan 2023 02:25:23 +0000 (11:25 +0900)]
Fix default IBL env map type as Cube Map

Change-Id: I7778d7cc07c8c0aab2a364b7581e874de58e563e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
15 months agoUse EnvironmentMapLoadTask to load Equirectangular projection image. 72/286172/38
seungho baek [Thu, 29 Dec 2022 15:22:07 +0000 (00:22 +0900)]
Use EnvironmentMapLoadTask to load Equirectangular projection image.
 - Changes SkymapType to EnvironmentMapType
 - TODO: To make IBL image support Equirectangular projection

Change-Id: I34dce88acdd1271dce54af18bc8080d8e452144a
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
15 months agoCleanup .gitignore file 45/287245/1
Eunki Hong [Wed, 25 Jan 2023 15:50:12 +0000 (00:50 +0900)]
Cleanup .gitignore file

Collect, merge and clean up .gitignore file for all dali repos

Change-Id: I9df3c75f5bfcb19633c7e1294786b63cb1a7fe9b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoFix tc failure 17/287117/3
Heeyong Song [Fri, 20 Jan 2023 02:09:23 +0000 (11:09 +0900)]
Fix tc failure

Change-Id: If6357dcd3b5b1aea5dbf49bcdfee0cda4da87886

15 months agoMerge "Fix occasional tc failure of glView" into devel/master
Heeyong Song [Sat, 21 Jan 2023 13:02:06 +0000 (13:02 +0000)]
Merge "Fix occasional tc failure of glView" into devel/master

15 months ago[dali_2.2.10] Merge branch 'devel/master' 63/287163/1
David Steele [Fri, 20 Jan 2023 13:10:34 +0000 (13:10 +0000)]
[dali_2.2.10] Merge branch 'devel/master'

Change-Id: Idbd7a6adffad837926097c94f16f6a3755d8ef96

15 months agoDALi Version 2.2.10 57/287157/1 dali_2.2.10
David Steele [Fri, 20 Jan 2023 13:10:06 +0000 (13:10 +0000)]
DALi Version 2.2.10

Change-Id: I9d3a2247c2405445c7d36d1b4efbc752a492945c

15 months agoFix occasional tc failure of glView 73/287073/2
Heeyong Song [Thu, 19 Jan 2023 08:59:45 +0000 (17:59 +0900)]
Fix occasional tc failure of glView

Change-Id: I6a6c6ee201bd74bc405b1c3b87b255dc78623594

15 months agoMerge "Updating Test Harness to show wait channel" into devel/master
David Steele [Thu, 19 Jan 2023 14:34:10 +0000 (14:34 +0000)]
Merge "Updating Test Harness to show wait channel" into devel/master

15 months agoUpdating Test Harness to show wait channel 25/287025/2
David Steele [Wed, 18 Jan 2023 15:21:23 +0000 (15:21 +0000)]
Updating Test Harness to show wait channel

If, during parallel execution, a child test case is pending for a
minute, then display the wait channel symbol, and kill the process.

Signed-off-by: David Steele <david.steele@samsung.com>
Change-Id: Idf5d287211464672c82232ff6e6c84c92fe341c6

15 months agoAble to load uint8_t type Joint + Able to animate 0 duration animation 61/286361/6
Eunki, Hong [Wed, 4 Jan 2023 15:17:46 +0000 (00:17 +0900)]
Able to load uint8_t type Joint + Able to animate 0 duration animation

This patch try to resolve 2 kind of unsupported feature.

1. There was possible to set JOINT_0 accessor type as unsigend byte.
Make it supported.

2. If duration of gltf was 0, the keyframe's progress value become -nan.
It may occure some problems.

Change-Id: I166be7d31880c04b9e819e9cd1acd843538c927a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoFix doxygen error + Minor coverity issue resolve 68/286968/1
Eunki Hong [Tue, 17 Jan 2023 20:42:41 +0000 (05:42 +0900)]
Fix doxygen error + Minor coverity issue resolve

Due to the unknown issue, If we set SpanType::Value as enum class +
If we return const Value, doxygen compiled failed at Accessibility::Value.

Error message :

Configuration file '/home/leaf/work/dali-toolkit/build/tizen/docs/dali.doxy' updated.

/home/leaf/work/dali-env/opt/include/dali/devel-api/atspi-interfaces/value.h:88: warning: no matching file member found for
Value * Dali::Accessibility::Value::DownCast(Accessible *obj)
Possible candidates:
 'T DownCast(BaseHandle handle)' at line 275 of file /home/leaf/work/dali-env/opt/include/dali/public-api/object/base-handle.h
 'Application DownCast(Dali::RefObject *refObject)' at line 83 of file /home/leaf/work/dali-env/opt/include/dali/devel-api/adaptor-framework/application-devel.h

Since human cannot read this error, just avoid it.

+

Due to the doxygen make trouble since const value return,
I also try to remove all const return keyword that coverity issue will be occured..

TODO : Should FontSpan::GetFamilyName return const std::string& instead of const std::string?
That API is also kind of meanless const keyword btw.

See https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/282555/ 's case 4.

Change-Id: I6e087e66a3de3ee4a5981bdc540616910ab04b6e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoMerge "Change docs and utc images doesn't print warning log" into devel/master
David Steele [Tue, 17 Jan 2023 11:59:29 +0000 (11:59 +0000)]
Merge "Change docs and utc images doesn't print warning log" into devel/master

15 months agoMerge "Remove png warning log" into devel/master
David Steele [Tue, 17 Jan 2023 11:58:46 +0000 (11:58 +0000)]
Merge "Remove png warning log" into devel/master

15 months agoRemove unnecessray Clipboard creation in text controller 48/286748/5
Bowon Ryu [Thu, 12 Jan 2023 08:20:10 +0000 (17:20 +0900)]
Remove unnecessray Clipboard creation in text controller

Change-Id: Ia6a3dcadaecefb3b5e835734338f5a8c37240f4f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoChange docs and utc images doesn't print warning log 81/286881/2
Eunki, Hong [Mon, 16 Jan 2023 07:51:02 +0000 (16:51 +0900)]
Change docs and utc images doesn't print warning log

Change-Id: I622b0723f776cbaf2a454c3528470a46f6858663
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoFix SVACE issue in text-controller 03/286903/1
Eunki, Hong [Mon, 16 Jan 2023 10:55:16 +0000 (19:55 +0900)]
Fix SVACE issue in text-controller

Make Impl as unique_ptr, so we don't need to make
Dali::Toolkit::Text::Controller::~Controller as virtual

Change-Id: I010ec8d315670ead0c7f679299c500033f3ad7f6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoMerge "Add GetSpanType API" into devel/master
Bowon Ryu [Mon, 16 Jan 2023 09:34:55 +0000 (09:34 +0000)]
Merge "Add GetSpanType API" into devel/master

15 months agoRemove png warning log 79/286879/1
Eunki, Hong [Mon, 16 Jan 2023 07:41:20 +0000 (16:41 +0900)]
Remove png warning log

libpng warning: iCCP: known incorrect sRGB profile

Change-Id: I6bc33f71b23ce428b12ae89ddde5eedf524ebe6c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoFix SVACE error in scene-view 52/286852/1
Adeel Kazmi [Fri, 13 Jan 2023 16:18:16 +0000 (16:18 +0000)]
Fix SVACE error in scene-view

Change-Id: I23fff2c90a0254de8a7f9b77026a11963653bf69

15 months ago[dali_2.2.9] Merge branch 'devel/master' 35/286835/1
Adeel Kazmi [Fri, 13 Jan 2023 09:57:03 +0000 (09:57 +0000)]
[dali_2.2.9] Merge branch 'devel/master'

Change-Id: I6cb24d39108e0deb61b1393e97e6b70ad8a4286b

15 months agoDALi Version 2.2.9 29/286829/1 dali_2.2.9
Adeel Kazmi [Fri, 13 Jan 2023 09:56:15 +0000 (09:56 +0000)]
DALi Version 2.2.9

Change-Id: Ibd51bec2d786b33a27a416bf416fca472a80b263

15 months agoChange duplicated UTC name 54/286754/1
Bowon Ryu [Thu, 12 Jan 2023 09:14:02 +0000 (18:14 +0900)]
Change duplicated UTC name

Change-Id: I069fe804c6f4d71919736733b1e712cf1a77bac9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoMerge "Asynchronous loading of Scene3D resources" into devel/master
Seungho BAEK [Thu, 12 Jan 2023 08:42:00 +0000 (08:42 +0000)]
Merge "Asynchronous loading of Scene3D resources" into devel/master

15 months agoremove unreachable code in text geometry 23/286723/1
Bowon Ryu [Thu, 12 Jan 2023 06:04:34 +0000 (15:04 +0900)]
remove unreachable code in text geometry

lineIndex can not be -1

Change-Id: I31e9c4a554e93550bbd6e63b0daca3b199556be3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoMerge "Change trace tag in Text" into devel/master
Bowon Ryu [Thu, 12 Jan 2023 05:50:05 +0000 (05:50 +0000)]
Merge "Change trace tag in Text" into devel/master

15 months agoAsynchronous loading of Scene3D resources 11/284211/35
seunghobaek [Fri, 11 Nov 2022 12:50:25 +0000 (21:50 +0900)]
Asynchronous loading of Scene3D resources

Change-Id: Idd19cbcfc1bdcfb7e8cd9d2ea6691a9060bcfb78
Signed-off-by: seunghobaek <sbsh.baek@samsung.com>
15 months agoChange trace tag in Text 11/286711/1
Bowon Ryu [Thu, 12 Jan 2023 03:17:39 +0000 (12:17 +0900)]
Change trace tag in Text

DALI_TRACE_PERFORMANCE_MARKER tag is outputting too many logs by default.
Separate tag for text : DALI_TRACE_TEXT_PERFORMANCE_MARKER

Change-Id: I2d771b2fc64dac052f6a9e6a20bbf1a72a1a22a9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoSet the text decorator's draw mode to OVERLAY_2D 61/286661/1
Bowon Ryu [Wed, 11 Jan 2023 10:18:07 +0000 (19:18 +0900)]
Set the text decorator's draw mode to OVERLAY_2D

Text decorators should be draw as an overlay.
* TextSelectionPopup, GrabHandle, and SelectionHandle

Change-Id: Ic47582890952c36d2a003fd91a7e2b829338102f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoAdd GetSpanType API 55/286155/2
ssabah [Wed, 28 Dec 2022 20:33:19 +0000 (23:33 +0300)]
Add GetSpanType API

Add GetSpanType and SpanType enum
This API help casting from BaseSpan to one of sub classes

Change-Id: I75399a5dfba6d74148951fdd14b57889b86c738f

15 months agoMerge "Add GetTextBoundingRectangle API for Text Controllers" into devel/master
Bowon Ryu [Tue, 10 Jan 2023 08:20:48 +0000 (08:20 +0000)]
Merge "Add GetTextBoundingRectangle API for Text Controllers" into devel/master

15 months agoMerge "Add GetCharacterIndexAtPosition API" into devel/master
Bowon Ryu [Tue, 10 Jan 2023 08:16:42 +0000 (08:16 +0000)]
Merge "Add GetCharacterIndexAtPosition API" into devel/master

15 months agoMerge "Use AsyncTaskManager in animated-vector-image" into devel/master
sunghyun kim [Sun, 8 Jan 2023 23:54:28 +0000 (23:54 +0000)]
Merge "Use AsyncTaskManager in animated-vector-image" into devel/master

15 months ago[dali_2.2.8] Merge branch 'devel/master' 65/286465/1
Adam Bialogonski [Fri, 6 Jan 2023 10:50:56 +0000 (10:50 +0000)]
[dali_2.2.8] Merge branch 'devel/master'

Change-Id: Ic60746cf0f635e15355173cdcf7cbe3f9bb7c929

15 months agoDALi Version 2.2.8 59/286459/1 dali_2.2.8
Adam Bialogonski [Fri, 6 Jan 2023 10:49:56 +0000 (10:49 +0000)]
DALi Version 2.2.8

Change-Id: I9b384ae07e58257f21380b10945db8bbff663122

15 months agoUse AsyncTaskManager in animated-vector-image 36/286436/1
tscholb [Fri, 6 Jan 2023 03:30:02 +0000 (12:30 +0900)]
Use AsyncTaskManager in animated-vector-image

Change-Id: I05356863dd5bbf63b76bcfa15a1925abb18a4fb6

15 months agoAdd an API for 'create,window' event.
huayong.xu [Thu, 15 Dec 2022 09:50:58 +0000 (17:50 +0800)]
Add an API for 'create,window' event.

Change-Id: I47915f69884b8f609cccda19b402dae7d1f29484

15 months agoBug fix to load animation of dli in Model
seungho baek [Tue, 3 Jan 2023 06:39:15 +0000 (15:39 +0900)]
Bug fix to load animation of dli in Model

Change-Id: I5b174ebc7af111993189e41da54a4f627b277b26
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
15 months agoTrace use scope macro instead of begin-end 75/286175/1
Eunki Hong [Thu, 29 Dec 2022 15:48:07 +0000 (00:48 +0900)]
Trace use scope macro instead of begin-end

Since we don't need to follow functions usecase,
use trace scope macro instead of begin-end

Change-Id: Ie3d53f09b979f6dd8644076ad704c182ded2bf8e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months ago[Text] Add some more trace marker for text 70/286170/1
Eunki, Hong [Thu, 29 Dec 2022 13:28:01 +0000 (22:28 +0900)]
[Text] Add some more trace marker for text

Change-Id: Id0d9161cce9af8cfcbeb891d9dee18d477be2b46
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months ago[Text] Do not relayout if equal font family setted 69/286169/1
Eunki, Hong [Thu, 29 Dec 2022 13:03:30 +0000 (22:03 +0900)]
[Text] Do not relayout if equal font family setted

Change-Id: I027117ff968b8c4cbd70d9b6a23aca8ae07b2c8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoChange duplicated UTC name 53/286153/1
Eunki, Hong [Thu, 29 Dec 2022 06:57:23 +0000 (15:57 +0900)]
Change duplicated UTC name

Change-Id: I409d274b56ae91edca58ce16db9a32d79d5b6b11
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months ago[ATSPI] Lazily embed the web content subtree 55/285555/5
Lukasz Oleksak [Wed, 14 Dec 2022 13:34:20 +0000 (14:34 +0100)]
[ATSPI] Lazily embed the web content subtree

Delays necessity to make synchronous call on dbus, what reduces chances
for deadlock.

Change-Id: Ica669ca490619ca0906cc0c14c8f7dfde0925023