platform/core/uifw/dali-toolkit.git
21 months agoMinor optimize for Text (Add API for length of text + Cache DPI) 40/289840/6
Eunki, Hong [Tue, 14 Mar 2023 12:00:30 +0000 (21:00 +0900)]
Minor optimize for Text (Add API for length of text + Cache DPI)

Since we don't need whole text information at UpdateRenderer,
just get length of text.
(Actually, we only need whether text is empty or not)

+

When we use PIXEL_SIZE instead of POINT_SIZE, FontClient::Get() give some overhead.
To avoid singletone service access, get DPI only one time, and cache it.

TODO : Should we consider DPI changed case?

Change-Id: If1e5b29b8c0b243753c19be20fbef432e6f62f15
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoIgnore non-exist property reanimated 80/289780/1
Eunki, Hong [Tue, 14 Mar 2023 08:30:32 +0000 (17:30 +0900)]
Ignore non-exist property reanimated

Change-Id: Ia3681f333e63f7c9f72cd910fb58a805e7be71ef
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoChange namings of gltf-util 67/289667/1
seungho baek [Mon, 13 Mar 2023 06:30:44 +0000 (15:30 +0900)]
Change namings of gltf-util

Change-Id: I833fd223c58ace2da4f6528542356909d88fb0ff
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
21 months agoMerge "Coverity issue fixes" into devel/master
Adeel Kazmi [Fri, 10 Mar 2023 10:54:42 +0000 (10:54 +0000)]
Merge "Coverity issue fixes" into devel/master

21 months agoMerge "DALi Version 2.2.17" into devel/master
Adeel Kazmi [Fri, 10 Mar 2023 10:36:55 +0000 (10:36 +0000)]
Merge "DALi Version 2.2.17" into devel/master

21 months agoDALi Version 2.2.17 19/289619/1 dali_2.2.17
Adeel Kazmi [Fri, 10 Mar 2023 10:29:49 +0000 (10:29 +0000)]
DALi Version 2.2.17

Change-Id: I7deb53256547432686a2d4d8eb4b29455a3b67b6

21 months agoMerge "Fix text autoscroll issue" into devel/master
Bowon Ryu [Fri, 10 Mar 2023 03:43:35 +0000 (03:43 +0000)]
Merge "Fix text autoscroll issue" into devel/master

21 months agoCoverity issue fixes 39/289539/5
Adam Bialogonski [Thu, 9 Mar 2023 11:39:25 +0000 (11:39 +0000)]
Coverity issue fixes

Change-Id: I6aa1f1ead1a27ee1c4ab3d7dd0fff762e16a2e9c
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
21 months agoFix text autoscroll issue 41/289541/1
Bowon Ryu [Thu, 9 Mar 2023 09:19:42 +0000 (18:19 +0900)]
Fix text autoscroll issue

This patch fixes the side effect of the previous condition and
prevents useless meassge in multiline case.

Change-Id: I7314903b8f0395578954d49459aa134180580c3b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoDetermine priority type for each task 43/289443/5
Eunki, Hong [Tue, 7 Mar 2023 23:32:57 +0000 (08:32 +0900)]
Determine priority type for each task

For example, remote image loading might be heavy process.
So let we give some hints for this tasks priority as LOW.
If we set priority as low, Remote image loading didn't use
whole AsyncTaskManager's threads.

Change-Id: Ife22517deff47b7f4da769bad2b97f472fa8efef
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Remove useless uniform register" into devel/master
Eunki Hong [Thu, 9 Mar 2023 06:15:50 +0000 (06:15 +0000)]
Merge "Remove useless uniform register" into devel/master

21 months agoMake safe conversion from uint32_t to streamsize 65/289465/1
seungho baek [Wed, 8 Mar 2023 06:23:52 +0000 (15:23 +0900)]
Make safe conversion from uint32_t to streamsize

Change-Id: I575d11e330723fe53528a72b3abfaccef4c39523
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
21 months agoRemove useless uniform register 36/289436/2
Eunki, Hong [Tue, 7 Mar 2023 17:17:32 +0000 (02:17 +0900)]
Remove useless uniform register

Current image visual didn't use uPixelAlign. We can remove this property.

Change-Id: Ie61e299e77c8ff1ccce8edcea7575640dd863e91
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoClean up Scene3D namespace and header definition 32/289432/3
Eunki, Hong [Tue, 7 Mar 2023 16:17:01 +0000 (01:17 +0900)]
Clean up Scene3D namespace and header definition

Change-Id: I28f91a4fb9af661ff61a12f00c1f6fd900cbdeec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge changes I048d8903,Ib84dd28c into devel/master
Adeel Kazmi [Tue, 7 Mar 2023 14:06:14 +0000 (14:06 +0000)]
Merge changes I048d8903,Ib84dd28c into devel/master

* changes:
  Add glb-loader to load gltf2-binary
  Add model-loader to abstract gltf2-loader and dli-loader

21 months agoAdd glb-loader to load gltf2-binary 71/288871/20
seungho baek [Fri, 24 Feb 2023 01:40:25 +0000 (10:40 +0900)]
Add glb-loader to load gltf2-binary

 - extract gltf2-util to share it in gltf2-loader and glb-loader

Change-Id: I048d8903d27fea47a322dcf4d4cc56a16c10acec

21 months agoAdd model-loader to abstract gltf2-loader and dli-loader 07/288607/30
seungho baek [Mon, 20 Feb 2023 08:19:39 +0000 (17:19 +0900)]
Add model-loader to abstract gltf2-loader and dli-loader

 - Like glb, we need to add some new type of model.
 - This abstraction can make easy to add new model file format.

Change-Id: Ib84dd28c082903295ff1295a5c2d4da9a74ef8ca

21 months agoGet NaturalSize only if required 93/289393/2
Eunki, Hong [Tue, 7 Mar 2023 04:35:49 +0000 (13:35 +0900)]
Get NaturalSize only if required

Since "GetClosestImageSize" spend a lot of time,
let we setup fitting mode only if we use it.

Change-Id: Id08c0d08c1784b60f4c3bccecf9affecdda8fc61
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Enable automated tests that load the exercise DLI model" into devel/master
Adeel Kazmi [Fri, 3 Mar 2023 11:20:00 +0000 (11:20 +0000)]
Merge "Enable automated tests that load the exercise DLI model" into devel/master

21 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

21 months agoEnable automated tests that load the exercise DLI model 03/289203/1
Richard [Thu, 2 Mar 2023 11:04:45 +0000 (11:04 +0000)]
Enable automated tests that load the exercise DLI model

Change-Id: Ife30d9c271d28589b52e3f0079638bd612cce3f6

21 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>
21 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

21 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

21 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

22 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

22 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

22 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

22 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>
22 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>
22 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

22 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

22 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

22 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

22 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

22 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>
22 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

22 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

22 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

22 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>
22 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

22 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

22 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

22 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

22 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

22 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>
22 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

22 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>
22 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>
22 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

22 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>
22 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

22 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>
22 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

22 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

22 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>
22 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>
22 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

22 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

22 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>
22 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

22 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

22 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

22 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

22 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

22 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>
22 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>
22 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>
22 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>
22 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

22 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

22 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>
23 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>
23 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>
23 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

23 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

23 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

23 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

23 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

23 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

23 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>
23 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>
23 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

23 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

23 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>
23 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>
23 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>
23 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

23 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>
23 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

23 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

23 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>
23 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

23 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>
23 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

23 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>
23 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>
23 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>
23 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

23 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