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
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
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
Eunki Hong [Mon, 20 Feb 2023 02:22:43 +0000 (02:22 +0000)]
Merge "Generate tangent as Vector4 for gltf" 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
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>
David Steele [Fri, 17 Feb 2023 13:51:45 +0000 (13:51 +0000)]
DALi Version 2.2.14
Change-Id: I39d1c294a624c14438db97acf8db6eabe3641891
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>
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>
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>
Bowon Ryu [Wed, 15 Feb 2023 12:32:03 +0000 (12:32 +0000)]
Merge "Fix the valid condition of text update" into devel/master
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>
Adeel Kazmi [Wed, 15 Feb 2023 11:23:22 +0000 (11:23 +0000)]
Merge "Add PathFinder algorithm using SPFA" into devel/master
Adeel Kazmi [Fri, 10 Feb 2023 14:15:41 +0000 (14:15 +0000)]
DALi Version 2.2.13
Change-Id: I0bc43f89b418c198ed0776575ad4ce91390ee900
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>
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>
Adam Bialogonski [Fri, 3 Feb 2023 12:41:29 +0000 (12:41 +0000)]
DALi Version 2.2.12
Change-Id: I7be1046b11780bb1816b310c7a33b76540e37a76
Adeel Kazmi [Wed, 1 Feb 2023 17:02:01 +0000 (17:02 +0000)]
Fixed SVACE issue in gltf2-loader
Change-Id: I6e12e6f9ce3c9286a24436195ae88a04ce32ea0b
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>
Seungho BAEK [Tue, 31 Jan 2023 04:29:02 +0000 (04:29 +0000)]
Merge "Support embedded texture data for glTF + alpha" into devel/master
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
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
Eunki Hong [Mon, 30 Jan 2023 02:27:20 +0000 (02:27 +0000)]
Merge "Doxygen check version and block low version" into devel/master
Eunki Hong [Mon, 30 Jan 2023 02:26:48 +0000 (02:26 +0000)]
Merge "Cleanup .gitignore file" into devel/master
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>
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>
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>
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>
David Steele [Fri, 27 Jan 2023 12:26:08 +0000 (12:26 +0000)]
Merge "DALi Version 2.2.11" into devel/master
Richard Huang [Fri, 27 Jan 2023 12:19:28 +0000 (12:19 +0000)]
DALi Version 2.2.11
Change-Id: Ib7afa508934f23f3fa88cdca2c8d71166099eb0b
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>
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>
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>
Heeyong Song [Fri, 20 Jan 2023 02:09:23 +0000 (11:09 +0900)]
Fix tc failure
Change-Id: If6357dcd3b5b1aea5dbf49bcdfee0cda4da87886
Heeyong Song [Sat, 21 Jan 2023 13:02:06 +0000 (13:02 +0000)]
Merge "Fix occasional tc failure of glView" into devel/master
David Steele [Fri, 20 Jan 2023 13:10:06 +0000 (13:10 +0000)]
DALi Version 2.2.10
Change-Id: I9d3a2247c2405445c7d36d1b4efbc752a492945c
Heeyong Song [Thu, 19 Jan 2023 08:59:45 +0000 (17:59 +0900)]
Fix occasional tc failure of glView
Change-Id: I6a6c6ee201bd74bc405b1c3b87b255dc78623594
David Steele [Thu, 19 Jan 2023 14:34:10 +0000 (14:34 +0000)]
Merge "Updating Test Harness to show wait channel" into devel/master
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
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>
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>
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
David Steele [Tue, 17 Jan 2023 11:58:46 +0000 (11:58 +0000)]
Merge "Remove png warning log" into devel/master
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>
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>
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>
Bowon Ryu [Mon, 16 Jan 2023 09:34:55 +0000 (09:34 +0000)]
Merge "Add GetSpanType API" into devel/master
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>
Adeel Kazmi [Fri, 13 Jan 2023 16:18:16 +0000 (16:18 +0000)]
Fix SVACE error in scene-view
Change-Id: I23fff2c90a0254de8a7f9b77026a11963653bf69
Adeel Kazmi [Fri, 13 Jan 2023 09:56:15 +0000 (09:56 +0000)]
DALi Version 2.2.9
Change-Id: Ibd51bec2d786b33a27a416bf416fca472a80b263
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>
Seungho BAEK [Thu, 12 Jan 2023 08:42:00 +0000 (08:42 +0000)]
Merge "Asynchronous loading of Scene3D resources" into devel/master
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>
Bowon Ryu [Thu, 12 Jan 2023 05:50:05 +0000 (05:50 +0000)]
Merge "Change trace tag in Text" into devel/master
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>
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>
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>
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
Bowon Ryu [Tue, 10 Jan 2023 08:20:48 +0000 (08:20 +0000)]
Merge "Add GetTextBoundingRectangle API for Text Controllers" into devel/master
Bowon Ryu [Tue, 10 Jan 2023 08:16:42 +0000 (08:16 +0000)]
Merge "Add GetCharacterIndexAtPosition API" 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
Adam Bialogonski [Fri, 6 Jan 2023 10:49:56 +0000 (10:49 +0000)]
DALi Version 2.2.8
Change-Id: I9b384ae07e58257f21380b10945db8bbff663122
tscholb [Fri, 6 Jan 2023 03:30:02 +0000 (12:30 +0900)]
Use AsyncTaskManager in animated-vector-image
Change-Id: I05356863dd5bbf63b76bcfa15a1925abb18a4fb6
huayong.xu [Thu, 15 Dec 2022 09:50:58 +0000 (17:50 +0800)]
Add an API for 'create,window' event.
Change-Id: I47915f69884b8f609cccda19b402dae7d1f29484
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>
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>
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>
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>
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>
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
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
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
Adeel Kazmi [Fri, 23 Dec 2022 11:34:57 +0000 (11:34 +0000)]
DALi Version 2.2.7
Change-Id: I8b3c6691ccca0c8881c91b6676dbe2a913a950cf
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>
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
Bowon Ryu [Wed, 21 Dec 2022 10:08:11 +0000 (10:08 +0000)]
Merge "Spannable: Add StrikethroughSpan" 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
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
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>
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
Bowon Ryu [Tue, 20 Dec 2022 11:08:50 +0000 (11:08 +0000)]
Merge "Spannable: Add ItalicSpan" into devel/master
Bowon Ryu [Tue, 20 Dec 2022 10:53:05 +0000 (10:53 +0000)]
Merge "Spannable: Add BoldSpan" into devel/master
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>
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
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
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>
Eunki Hong [Mon, 19 Dec 2022 19:10:15 +0000 (19:10 +0000)]
Merge "Fix Scene3D shader cache miss" into devel/master
David Steele [Mon, 19 Dec 2022 18:55:41 +0000 (18:55 +0000)]
Merge "Sync UTC harness" into devel/master
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
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>
Eunki Hong [Mon, 19 Dec 2022 08:37:26 +0000 (08:37 +0000)]
Merge "Fix utc compile error for gcc-11" into devel/master
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>
Bowon Ryu [Mon, 19 Dec 2022 05:52:24 +0000 (05:52 +0000)]
Merge "Spannable: Add CharacterSpacing span" into devel/master
Heeyong Song [Mon, 19 Dec 2022 05:34:22 +0000 (05:34 +0000)]
Merge "Change DebugPriority name" into devel/master
Bowon Ryu [Mon, 19 Dec 2022 04:37:28 +0000 (04:37 +0000)]
Merge "Add Filter in InputFilter" into devel/master
Heeyong Song [Thu, 15 Dec 2022 09:12:23 +0000 (18:12 +0900)]
Change DebugPriority name
Change-Id: I6558c8cebec6a26119afd93d7b427490081de9fc
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>
sarajammal [Wed, 14 Dec 2022 12:17:48 +0000 (15:17 +0300)]
Spannable: Add CharacterSpacing span
Change-Id: Ie9a6245719c5dced94d4e43599cfc54588126a0d
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
Adeel Kazmi [Fri, 16 Dec 2022 17:02:46 +0000 (17:02 +0000)]
Merge "(Vector) Fix occasional tc failure" into devel/master