platform/core/uifw/dali-toolkit.git
20 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>
20 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

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

20 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

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

21 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

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

21 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

21 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

21 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

21 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

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

21 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

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

21 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

21 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

21 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

21 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

21 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

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

21 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

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

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

21 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

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

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

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

21 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

21 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

21 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

22 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

22 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

22 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

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

22 months agoAdd GetTextBoundingRectangle API for Text Controllers 95/284795/8
sarajammal [Sun, 27 Nov 2022 16:00:26 +0000 (19:00 +0300)]
Add GetTextBoundingRectangle API for Text Controllers

API was already implemented, this patch adds it n Text Label, Field and Editor.
To be able to add it on NUI too.

Change-Id: I98120cc70c805a2bb1fee7abaf6625cc3ec42d65

22 months agoAdd GetCharacterIndexAtPosition API 04/284604/9
sarajammal [Mon, 21 Nov 2022 16:28:54 +0000 (19:28 +0300)]
Add GetCharacterIndexAtPosition API

Retrieve the character index based on a given visual X and Y values.

Function prototype: int GetCharacterIndexAtPosition(ModelPtr textModel, float visualX, float visualY);

Add new API to TextGeometry.

Change-Id: Idea36f92053cd475e48e15c3bbdd57c79311f4c3

22 months agoDALi Version 2.2.7 87/285987/1 dali_2.2.7
Adeel Kazmi [Fri, 23 Dec 2022 11:34:57 +0000 (11:34 +0000)]
DALi Version 2.2.7

Change-Id: I8b3c6691ccca0c8881c91b6676dbe2a913a950cf

22 months agoFix coverity issue 70/285870/2
Eunki, Hong [Thu, 22 Dec 2022 03:28:50 +0000 (12:28 +0900)]
Fix coverity issue

 - sizeof(int) != sizeof(float) case in json parsing
 - mCompletedTaskIds iterator usage issue

Change-Id: I473ed3c61e3218a98aae61b9a8ca0df15f10c32c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Use Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode...
Seungho BAEK [Thu, 22 Dec 2022 00:44:12 +0000 (00:44 +0000)]
Merge "Use Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode" into devel/master

22 months agoMerge "Spannable: Add StrikethroughSpan" into devel/master
Bowon Ryu [Wed, 21 Dec 2022 10:08:11 +0000 (10:08 +0000)]
Merge "Spannable: Add StrikethroughSpan" into devel/master

22 months agoMerge "Modify ColorMode Policy for SceneView and Model" into devel/master
Seungho BAEK [Wed, 21 Dec 2022 07:45:11 +0000 (07:45 +0000)]
Merge "Modify ColorMode Policy for SceneView and Model" into devel/master

22 months agoSpannable: Add StrikethroughSpan 09/285409/3
ssabah [Sun, 11 Dec 2022 12:04:15 +0000 (15:04 +0300)]
Spannable: Add StrikethroughSpan

StrikethroughSpan: Span to change the strikethrough properties (Color,Heighth) of characters

This patch should be preceded by the patch below:

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/285217

Change-Id: Id7823ea49b19fed3ae1a0a9a73e55538ccd2ad2e

22 months agoModify ColorMode Policy for SceneView and Model 11/285811/3
seungho baek [Tue, 20 Dec 2022 13:26:41 +0000 (22:26 +0900)]
Modify ColorMode Policy for SceneView and Model

 - For Model, Use ColorMode::USE_OWN_MULTIPLY_PARENT_ALPHA for ColorMode
 - Actor::Property::COLOR will affect its children Actors.
 - For SceneView, Use ColorMode::USE_OWN_COLOR when mUseFrameBuffer is true.
 - When Opacity of SceneView is animated, it looks natural.
 - But, use ColorMode::USE_OWN_MULTIPLY_PARENT_ALPHA when mUseFrameBuffer is false.
 - Then, Opacity animation is works (but slightly looks unnatural.)

Change-Id: Iaa993f5857f5bd9e2cf3b79b463f2fc5e5db3249
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 months agoSpannable: Add BackgroundSpan 49/285049/7
abedalrhman rasem [Mon, 5 Dec 2022 08:36:04 +0000 (11:36 +0300)]
Spannable: Add BackgroundSpan

BackgroundSpan: Span to change the back groundSpan of characters.

Example:
===========================================================================================

    Dali::Toolkit::Text::SpannableString ss =
    Dali::Toolkit::Text::SpannableString::New("Testing");
    auto greenSpan = Dali::Toolkit::Text::BackgroundColorSpan::New(Color::GREEN);
      ss.AttachSpan(
      greenSpan,
      Dali::Toolkit::Text::Range::New(0u, 3u));
    Dali::Toolkit::Text::SetSpannedText(textLabel,ss);

==========================================================================================

Change-Id: I3f5414ee5268799ad8e174db4b693c70f4b9b1b3

22 months agoMerge "Spannable: Add ItalicSpan" into devel/master
Bowon Ryu [Tue, 20 Dec 2022 11:08:50 +0000 (11:08 +0000)]
Merge "Spannable: Add ItalicSpan" into devel/master

22 months agoMerge "Spannable: Add BoldSpan" into devel/master
Bowon Ryu [Tue, 20 Dec 2022 10:53:05 +0000 (10:53 +0000)]
Merge "Spannable: Add BoldSpan" into devel/master

22 months agoUse Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode 04/285404/5
seungho baek [Mon, 12 Dec 2022 08:01:19 +0000 (17:01 +0900)]
Use Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode

Change-Id: Iefc5fe27786f64a3892502f17898faca874d03f9
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 months agoSpannable: Add ItalicSpan 01/284901/9
abedalrhman rasem [Wed, 30 Nov 2022 07:04:32 +0000 (10:04 +0300)]
Spannable: Add ItalicSpan

ItalicSpan: Span to change the font slant of characters.

Example:
===========================================================================================

    Dali::Toolkit::Text::SpannableString ss =
    Dali::Toolkit::Text::SpannableString::New("Testing italic span");
    auto italicSpan =Dali::Toolkit::Text::ItalicSpan::New();
    ss.AttachSpan(italicSpan,Dali::Toolkit::Text::Range::New(0u, 8u));
    Dali::Toolkit::Text::SetSpannedText(textLabel,ss);

==========================================================================================

Change-Id: I9832203ed07433be292ca2dc66d82899ced288ce

22 months agoSpannable: Add BoldSpan 39/284739/13
abedalrhman rasem [Wed, 23 Nov 2022 12:25:44 +0000 (15:25 +0300)]
Spannable: Add BoldSpan

BoldSpan: Span to change the font weight of characters.

Example:
===========================================================================================

    Dali::Toolkit::Text::SpannableString ss =Dali::Toolkit::Text::SpannableString::New("Testing");
    auto boldspan =Dali::Toolkit::Text::BoldSpan::New();
    ss.AttachSpan(boldspan,Dali::Toolkit::Text::Range::New(0u, 3u));
    Dali::Toolkit::Text::SetSpannedText(textLabel,ss);

===========================================================================================

Change-Id: I583648a7bb850ec36b3dd4ade3d84995113d192f

22 months agoMinor coverity issue fixes 55/282555/24
Eunki, Hong [Wed, 5 Oct 2022 14:02:09 +0000 (23:02 +0900)]
Minor coverity issue fixes

Fix some minor coverity issues that might has meanful

1. Implement missing move operation.
2. Remove float equal checks by ==, != operator.
3. Remove useless std::move.
4. Remove const keyword for function return value.
5. Resolve some value has same name.
6. Use referenced iterator so we don't copy value.
7. Remove cyclic header include (a.k.a gltf-loader.h -> scene3d-view-impl.h -> gltf-loader.h)

Change-Id: I57ad541310b43413ee0d52b1f8c56a95df12bbd9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Fix Scene3D shader cache miss" into devel/master
Eunki Hong [Mon, 19 Dec 2022 19:10:15 +0000 (19:10 +0000)]
Merge "Fix Scene3D shader cache miss" into devel/master

22 months agoMerge "Sync UTC harness" into devel/master
David Steele [Mon, 19 Dec 2022 18:55:41 +0000 (18:55 +0000)]
Merge "Sync UTC harness" into devel/master

22 months agoMerge "Reduce default visual-base-data memory - Allocate only if we use decoration...
Eunki Hong [Mon, 19 Dec 2022 18:14:07 +0000 (18:14 +0000)]
Merge "Reduce default visual-base-data memory - Allocate only if we use decoration." into devel/master

22 months agoFix Scene3D shader cache miss 97/285297/6
Eunki, Hong [Thu, 8 Dec 2022 09:53:01 +0000 (18:53 +0900)]
Fix Scene3D shader cache miss

1. Hash include THREE_TEX eash items.
   It will reduce some shader hash collision.
2. Make vertex color use ifdef in shader level.
   (Since we'd better skip to allocate vertex color attribs in usal case)

TODO : Current shader-define-factory.cpp implement has various problem.
We should refactorize this code, and re-open UTC soon

Change-Id: I53858118dc98ae16ede4d48bd234ebc24e112933
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Fix utc compile error for gcc-11" into devel/master
Eunki Hong [Mon, 19 Dec 2022 08:37:26 +0000 (08:37 +0000)]
Merge "Fix utc compile error for gcc-11" into devel/master

22 months agoReduce default visual-base-data memory - Allocate only if we use decoration. 27/285627/2
Eunki, Hong [Thu, 15 Dec 2022 12:56:20 +0000 (21:56 +0900)]
Reduce default visual-base-data memory - Allocate only if we use decoration.

Borderline relative properties has (4+1+1)*4 = 24 byte and
CornerRadius relative properties has (4+1)*4 = 20 byte.

But most usual visuals don't required that kind of things.
And also, some visual like Text / Npatch doesnt support decoration feature.

So let we make only required visual use that values by allocation.

Now default memory per visual reduced from 44 to 4~8 byte.

Change-Id: Ib27118bcd66339a3d50f78661c133f6588ab9085
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Spannable: Add CharacterSpacing span" into devel/master
Bowon Ryu [Mon, 19 Dec 2022 05:52:24 +0000 (05:52 +0000)]
Merge "Spannable: Add CharacterSpacing span" into devel/master

22 months agoMerge "Change DebugPriority name" into devel/master
Heeyong Song [Mon, 19 Dec 2022 05:34:22 +0000 (05:34 +0000)]
Merge "Change DebugPriority name" into devel/master

22 months agoMerge "Add Filter in InputFilter" into devel/master
Bowon Ryu [Mon, 19 Dec 2022 04:37:28 +0000 (04:37 +0000)]
Merge "Add Filter in InputFilter" into devel/master

22 months agoChange DebugPriority name 13/285613/3
Heeyong Song [Thu, 15 Dec 2022 09:12:23 +0000 (18:12 +0900)]
Change DebugPriority name

Change-Id: I6558c8cebec6a26119afd93d7b427490081de9fc

22 months agoFix utc compile error for gcc-11 07/285707/2
Eunki Hong [Sun, 18 Dec 2022 15:22:16 +0000 (00:22 +0900)]
Fix utc compile error for gcc-11

Change-Id: I260ae8f9202a5f7cdb7e146291897e81fdbf7a69
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
22 months agoSpannable: Add CharacterSpacing span 54/285554/6
sarajammal [Wed, 14 Dec 2022 12:17:48 +0000 (15:17 +0300)]
Spannable: Add CharacterSpacing span

Change-Id: Ie9a6245719c5dced94d4e43599cfc54588126a0d

22 months agoMerge "Allow duplicated name and use Actor ID as a unique key to define animation...
Adeel Kazmi [Fri, 16 Dec 2022 19:11:19 +0000 (19:11 +0000)]
Merge "Allow duplicated name and use Actor ID as a unique key to define animation." into devel/master

22 months agoMerge "(Vector) Fix occasional tc failure" into devel/master
Adeel Kazmi [Fri, 16 Dec 2022 17:02:46 +0000 (17:02 +0000)]
Merge "(Vector) Fix occasional tc failure" into devel/master

22 months agoMerge "[AT-SPI] Add child_bus attribute to parents having remote accessibility object...
Lukasz Oleksak [Fri, 16 Dec 2022 14:34:16 +0000 (14:34 +0000)]
Merge "[AT-SPI] Add child_bus attribute to parents having remote accessibility object child" into devel/master

22 months agoMerge "DALi Version 2.2.6" into devel/master
Adeel Kazmi [Fri, 16 Dec 2022 12:35:09 +0000 (12:35 +0000)]
Merge "DALi Version 2.2.6" into devel/master

22 months agoDALi Version 2.2.6 90/285690/1 dali_2.2.6
David Steele [Fri, 16 Dec 2022 12:12:48 +0000 (12:12 +0000)]
DALi Version 2.2.6

Change-Id: I2a1ec8f84c3eb400bc96ad0f20b7a0cf26353461

22 months ago[AT-SPI] Add child_bus attribute to parents having remote accessibility object child 20/285420/2
Artur Świgoń [Mon, 12 Dec 2022 10:24:13 +0000 (11:24 +0100)]
[AT-SPI] Add child_bus attribute to parents having remote accessibility object child

This will allow AT-clients to query in a single dbus call (via collection iface) all busses used for UI embedding.
Result of such query may be used by AT-client to limit its dbus calls to:

a) active window process
b) processes that provide UIs embedded in active window

and avoid dbus calls to processes being in background, which respond very slowly.

Change-Id: Iacccb00087380e3f2e33cd8feb7b5120068922c7

22 months ago(Vector) Fix occasional tc failure 78/285678/2
Heeyong Song [Fri, 16 Dec 2022 08:37:16 +0000 (17:37 +0900)]
(Vector) Fix occasional tc failure

Change-Id: Ifc1e52d7f2cc13d38ca18623cb57a9529b152c37

22 months agoFix Scene3d::Loader bugs 30/284930/9
seungho baek [Thu, 1 Dec 2022 05:51:41 +0000 (14:51 +0900)]
Fix Scene3d::Loader bugs

 - Make Renderer translucent when AlphaMode is Blend
 - Use discard for AlphaMode.Mask in shader
 - Fixed ConvertSampler bug.
 - Fixed crash when there isn't "scene" property in glTF
 - Fixed wrong loading of buffer when the bufferView uses stride.
 - Returns MeshDefinition::Blob::GetBufferSize() only mLength
   This is because every use case of this method is to set real buffer size without considering stride.
 - Fix texture order of Specular and Specular color.

Change-Id: I244b366a9d4c36ad478ea8908725187ffd3277f6
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 months agoMerge "Fix issue using broken image" into devel/master
sunghyun kim [Fri, 16 Dec 2022 02:21:06 +0000 (02:21 +0000)]
Merge "Fix issue using broken image" into devel/master

22 months agoMerge "Prepare Doxygen version update 1.9.1" into devel/master
Adeel Kazmi [Thu, 15 Dec 2022 17:02:41 +0000 (17:02 +0000)]
Merge "Prepare Doxygen version update 1.9.1" into devel/master

22 months agoMerge "Equirectangular projection support for Skybox in SceneView" into devel/master
Adeel Kazmi [Thu, 15 Dec 2022 15:29:28 +0000 (15:29 +0000)]
Merge "Equirectangular projection support for Skybox in SceneView" into devel/master