David Steele [Fri, 13 May 2022 15:43:39 +0000 (15:43 +0000)]
Merge "Apply EncodedImageBuffer with Atlas" into devel/master
Adeel Kazmi [Fri, 13 May 2022 11:06:29 +0000 (11:06 +0000)]
Merge "DALi Version 2.1.22" into devel/master
Richard Huang [Fri, 13 May 2022 11:01:20 +0000 (12:01 +0100)]
DALi Version 2.1.22
Change-Id: I89d8996908f0852cd10939a7223c6a02036cedc5
joogab.yun [Tue, 3 May 2022 09:43:16 +0000 (18:43 +0900)]
1. Rather than DoMoveFocusWithinLayoutControl() being done from the parent If the currently focused actor is also a layout Control,
DoMoveFocusWithinLayoutControl() should be performed starting from the currently focused actor.
2. If the actor returned through GetNextKeyboardFocusableActor() is itself, it becomes an infinite loop.
So It should recurse DoMoveFocusWithinLayoutControl() only when not yourself.
Change-Id: I8ad1f868151337a9e13869682c99c5a19b82bb0f
joogab.yun [Fri, 13 May 2022 03:25:36 +0000 (12:25 +0900)]
Reverts the patch that prevents focus set when parent is visible when false due to backward compatibility issue.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/274317/
Change-Id: I5a2152395238596dbccd4e6b064c990a0d802930
Eunki Hong [Fri, 13 May 2022 03:00:54 +0000 (03:00 +0000)]
Merge "Cache animated image's frame index" into devel/master
Eunki Hong [Fri, 15 Oct 2021 07:05:58 +0000 (00:05 -0700)]
Apply EncodedImageBuffer with Atlas
Allow to use atlas with EncodedImageBuffer.
Change-Id: Id98ac9507327215c8a8c4b6b04b3460214ac654d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Lukasz Oleksak [Thu, 12 May 2022 13:03:26 +0000 (13:03 +0000)]
Merge "[AT-SPI] Call EmbedAtkSocket() from WebViewAccessible" into devel/master
Eunki, Hong [Thu, 21 Apr 2022 07:34:31 +0000 (16:34 +0900)]
Cache animated image's frame index
There is no reason to multiple decoding for same-image's same-frame loading.
It just increase our memory useage and CPU usage.
This patch cache animated image's frame index so
we can re-use already decoded frame informations.
+
For more, Due to the animated image decoding can hold big amount of observers
in one frame, we need to reduce runtime of NotifyObservers API.
This patch also reduce NotifyObservers time complexity from O(N^2) to O(N).
Note : We can't add additional observer due to the mQueueLoadFlag flag is true.
Change-Id: I829704c638ce7b6a5feca13cc1bcf75b4bd9e35e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Artur Świgoń [Fri, 29 Apr 2022 17:12:36 +0000 (19:12 +0200)]
[AT-SPI] Call EmbedAtkSocket() from WebViewAccessible
This is necessary for the ATK-based AT-SPI subtree of the web content to
know the address of its parent.
Change-Id: I98ad98bc5d016df9a827d733451a4ceda5b429c3
Eunki, Hong [Wed, 11 May 2022 14:10:11 +0000 (23:10 +0900)]
Delete YGNode only root of Flex::Node
YGNode remove the memory recursively internally.
If we delete childe node's YGNode, it become double free.
This patch make Flex::Node free only it's own YGNode.
Change-Id: I1f68552ee79d1aa6a503ae67f1b3c1d45c77985b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Thu, 28 Apr 2022 05:54:59 +0000 (14:54 +0900)]
CPU Alpha Masking for Animated Image Visual
Change-Id: I3b6abac73d248f70998bb992945b96a25c6fb7c8
Signed-off-by: seungho <sbsh.baek@samsung.com>
Shinwoo Kim [Tue, 10 May 2022 05:14:27 +0000 (05:14 +0000)]
Merge "[AT-SPI] remove isRoot param from Accessible::Get" into devel/master
Seungho BAEK [Mon, 9 May 2022 02:17:14 +0000 (02:17 +0000)]
Merge "Fix glTF loading issue." into devel/master
Shinwoo Kim [Mon, 9 May 2022 01:54:57 +0000 (10:54 +0900)]
[AT-SPI] remove isRoot param from Accessible::Get
The Accessibility::Accessible::Get for a window could be called
before getting accessible to add window accessible.
So far, we thought that the next part creates an accessible for
window for the first time.
accessible = Accessibility::Accessible::Get(rootLayer, true);
bridge->AddTopLevelWindow(accessible);
However, there is a case where it is created before this part
caused by following symbol
CSharp_Dali_Toolkit_DevelControl_GetAccessibilityStates+0x144
In this case, isRoot is set to `false`. Then window will have
incorrect accessible information.
For more information, please refer to the following.
https://github.sec.samsung.net/tizen/atspi/issues/60
[Dependency]
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/274737/
Change-Id: Iadca9c42aa2027f372838247ac23b27d484e4c8d
Heeyong Song [Mon, 9 May 2022 00:59:26 +0000 (00:59 +0000)]
Merge "Check window validity" into devel/master
David Steele [Fri, 6 May 2022 11:37:19 +0000 (12:37 +0100)]
DALi Version 2.1.21
Change-Id: Ifd1fa240f5e970e38c3cc3b41c263467b5e93013
seungho [Fri, 6 May 2022 05:17:53 +0000 (14:17 +0900)]
Fix glTF loading issue.
Change-Id: Ie6de25d1723d1dcbf739230dc9ea89b411958989
Signed-off-by: seungho <sbsh.baek@samsung.com>
Heeyong Song [Tue, 26 Apr 2022 03:24:59 +0000 (12:24 +0900)]
Check window validity
Change-Id: I104882efa0cd8506388ddb92328adc4152cdc1b1
Bowon Ryu [Wed, 4 May 2022 07:27:38 +0000 (07:27 +0000)]
Merge "Changed default font family of 7.0 IoT UX" into devel/master
Heeyong Song [Wed, 4 May 2022 07:05:43 +0000 (07:05 +0000)]
Merge "Remove ResourceReady before rasterization in SvgVisual" into devel/master
Bowon Ryu [Wed, 4 May 2022 06:14:31 +0000 (15:14 +0900)]
Changed default font family of 7.0 IoT UX
SamsungOneUI -> BreezeSans
SamsungOneUI font can not be used as default due to license problem
Change-Id: Ic07defb74bd2205d9aaaae121d405d6f77a8fa65
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab yun [Tue, 3 May 2022 06:56:51 +0000 (06:56 +0000)]
Merge "Allows you to specify the root when calculating the focus movement algorithm." into devel/master
Shinwoo Kim [Tue, 3 May 2022 03:31:22 +0000 (03:31 +0000)]
Merge "[AT-SPI] ScrollView: Use child postion for ScrollToChild" into devel/master
joogab.yun [Thu, 28 Apr 2022 01:55:01 +0000 (10:55 +0900)]
Allows you to specify the root when calculating the focus movement algorithm.
Change-Id: Id0b1a191301008c979cc00258a75d380e25ca99e
Heeyong Song [Tue, 19 Apr 2022 03:23:40 +0000 (12:23 +0900)]
Remove ResourceReady before rasterization in SvgVisual
It will use a default size of the content file if the size is not set.
Change-Id: I5dbfe79146a461d412c39ab5dcf37fabd94b683c
seungho [Mon, 2 May 2022 01:53:28 +0000 (10:53 +0900)]
Fix svace error about initialization of member variable
- ShaderDefinition::mUseBuiltInShader
Change-Id: Iec6b11efb6324aac84cf7215dfec7424d68a1ea0
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 11 Feb 2022 13:36:39 +0000 (22:36 +0900)]
Refactoring TextureManager cache as Dali::FreeList
Apply additional container as Dali::FreeList as TextureIdConverter;
From TextureId to TextureCacheIndex.
and add mTextureHashContainer, key is TextureHash and value is list of TextureId.
These things will make us access mTextureInfoContainer more faster.
Previous code iterate whole std::vector list to find cached texture.
This patch make we can get cacheIndex from textureId as O(1) by Dali::FreeList
and get textureId from textureHash as O(1 * collision)
by std::unordered_map<TextureHash, vector<TextureId>>.
This patch make TextureCacheIndex as a kind of structure. named TextureCacheIndexData.
This data use 4 bit as "TextueCacheIndexType" and 28 bit as "Index".
By this structure, we can use only one TextureIdConverter.
We can know what this TextureId come from ;
NormalImage or ExternalTextures or EncodedImageBuffer.
So now, we can do all API things as near O(1). Without useless iteratating.
It will reduce ImageView's SceneOn and SceneOff time.
And also, reduce AsyncLoadComplete API runtime, that animated image used
every image frame.
Note : After this patch, TextureId will not be unique anymore.
TODO : Masking feature still works on O(N). We need to make new container for it in future.
Change-Id: I37777ccc05fc0541e1f0e65f1d6306d9436c1245
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 29 Apr 2022 12:22:47 +0000 (12:22 +0000)]
Merge "DALi Version 2.1.20" into devel/master
Adam Bialogonski [Fri, 29 Apr 2022 09:52:55 +0000 (10:52 +0100)]
DALi Version 2.1.20
Change-Id: If7d4f644122b73eef460e41fa7ca3c261f8723ad
sunghyun kim [Fri, 29 Apr 2022 06:58:41 +0000 (06:58 +0000)]
Merge "Fix webp&gif issue" into devel/master
sunghyun kim [Fri, 29 Apr 2022 06:58:21 +0000 (06:58 +0000)]
Merge "Caching cropToMask in texture manager" into devel/master
Seungho BAEK [Fri, 29 Apr 2022 06:48:30 +0000 (06:48 +0000)]
Merge changes I7b63ee17,I61bd1ed2 into devel/master
* changes:
Use default PBR shader to the scene-loader
Fix Scene3d-View light issue
sunghyun kim [Thu, 17 Mar 2022 06:11:41 +0000 (15:11 +0900)]
Caching cropToMask in texture manager
cropToMask need to be cahing,
so i added this patch
Change-Id: I6fecdfd8bc12a0c5d270c50da50340331ce0917f
Bowon Ryu [Thu, 28 Apr 2022 08:51:47 +0000 (08:51 +0000)]
Merge "Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext" into devel/master
seungho [Fri, 15 Apr 2022 08:31:41 +0000 (17:31 +0900)]
Use default PBR shader to the scene-loader
- glTF uses built-in shader for rendering.
- glTF features of Emission and Ambient Occlusion are added.
Change-Id: I7b63ee171b8c66c777e1d8a0732860f7a35240e2
Signed-off-by: seungho <sbsh.baek@samsung.com>
Shinwoo Kim [Wed, 27 Apr 2022 10:44:01 +0000 (19:44 +0900)]
[AT-SPI] ScrollView: Use child postion for ScrollToChild
It was not able to scroll in a child of scroll view if the child is
not a child of the first depth.
(1) [scroll pane],[(class=ScrollView)],[364,199,656,36],[TextSelectionScrollView]
(2) [table],[(class=TableView)],[364,101,901,134],[]
(3) [push button],[(class=PushButton)],[364,101,447,134],[Select all]
(4) [image],[(class=ImageView)(highlight=)],[364,101,447,134],[]
(5) [unknown],[(class=Control)],[811,107,1,122],[]
(6) [push button],[(class=PushButton)],[812,101,265,134],[Copy]
(7) [unknown],[(class=Control)],[1077,107,1,122],[]
(8) [push button],[(class=PushButton)],[1078,101,187,134],[Cut]
The node (8) was not able to bring in even though it has highlight.
This patch makes node (8) bring in when it grabs highlight.
Change-Id: I862a8adcc2bd6212464ffc833a2a0d0cf0a4480c
joogab yun [Wed, 27 Apr 2022 10:29:06 +0000 (10:29 +0000)]
Merge "If VISIBLE is false, the focus cannot be set and code clean." into devel/master
joogab.yun [Tue, 26 Apr 2022 06:48:04 +0000 (15:48 +0900)]
If VISIBLE is false, the focus cannot be set and code clean.
Change-Id: I92d65ad4ab87368bce3a85d0a112955e306a104a
seungho [Mon, 18 Apr 2022 09:02:30 +0000 (18:02 +0900)]
Fix Scene3d-View light issue
Change-Id: I61bd1ed2ec4dacec5952e82666ad476480fed774
Signed-off-by: seungho <sbsh.baek@samsung.com>
Bowon Ryu [Tue, 26 Apr 2022 09:49:36 +0000 (09:49 +0000)]
Merge "Resolved incorrect size when call GetTextSize(TextLabel) for one glyph" into devel/master
Bowon Ryu [Tue, 26 Apr 2022 09:38:01 +0000 (09:38 +0000)]
Merge "Enhance texteditor background drawing performance" into devel/master
Bowon Ryu [Tue, 26 Apr 2022 05:02:47 +0000 (14:02 +0900)]
Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext
added selection callback from IMF for tizen 7.0 new feature support
adaptor: https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/274302/
Change-Id: If565fc1061a98b47bfa6040b59ce26b2955a1c24
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab yun [Mon, 25 Apr 2022 23:47:58 +0000 (23:47 +0000)]
Merge "If the currently focused actor is hidden or disabled, it should lose focus." into devel/master
David Steele [Mon, 25 Apr 2022 15:54:41 +0000 (15:54 +0000)]
Merge "Block the changeness of PreMultiplied for some visuals" into devel/master
Eunki, Hong [Mon, 25 Apr 2022 10:54:04 +0000 (19:54 +0900)]
Block the changeness of PreMultiplied for some visuals
Svg, AnimatedVector, Text, and Gradient Visuals always use
PreMultiplied texture.
But PreMultiplied option is Visual::Base property.
So it was possible to change premultiplied option as false
even It's visual type is not allow it
This patch make some kind of visual that should not change the
PreMultiplied alpha flags don't change it.
Change-Id: I22e8416796493b34d2907f8043f57d31039be587
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Lukasz Oleksak [Mon, 25 Apr 2022 10:55:32 +0000 (10:55 +0000)]
Merge "[AT-SPI] Set child's parent in WebViewAccessible" into devel/master
joogab.yun [Thu, 14 Apr 2022 08:39:56 +0000 (17:39 +0900)]
If the currently focused actor is hidden or disabled, it should lose focus.
Change-Id: I9ccc144a266982085b4aae43cbd87bd1e3d2391e
Bowon Ryu [Mon, 25 Apr 2022 05:56:04 +0000 (05:56 +0000)]
Merge "fix incorrect selection highlight position with postive line spacing" into devel/master
Bowon Ryu [Fri, 22 Apr 2022 06:05:43 +0000 (15:05 +0900)]
add theme to TextSelectionPopup according to 7.0 UX
Change-Id: Ia39f62cb8183109be4bd5c6046b488aeed3f682b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Artur Świgoń [Fri, 15 Apr 2022 12:47:39 +0000 (14:47 +0200)]
[AT-SPI] Set child's parent in WebViewAccessible
A related dali-adaptor patch makes ProxyAccessible's parent settable.
Change-Id: Ifff884b6b20302617720ca25eedf16bdf275ef0e
David Steele [Fri, 22 Apr 2022 13:10:07 +0000 (13:10 +0000)]
Merge "DALi Version 2.1.19" into devel/master
Adeel Kazmi [Fri, 22 Apr 2022 12:54:28 +0000 (13:54 +0100)]
DALi Version 2.1.19
Change-Id: I69bbfe529b1d2bd2589bbb12517d3a7b5cd1d1ff
David Steele [Fri, 22 Apr 2022 12:15:08 +0000 (12:15 +0000)]
Merge "Ambient occlusion support in DLI model" into devel/master
Richard Huang [Thu, 21 Apr 2022 12:52:56 +0000 (13:52 +0100)]
Ambient occlusion support in DLI model
Change-Id: If4378a8ecffbc37755b711805cc0f241dbd6e592
Eunki, Hong [Fri, 22 Apr 2022 08:44:06 +0000 (17:44 +0900)]
Create visual's border property map for only valid type
Now we don't insert property map when it's type is not valid
Something like NPatch, Text, Mesh
Change-Id: I95935dd2afa4332063cf474ac47ee234754055b3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ssabah [Wed, 20 Apr 2022 09:03:48 +0000 (12:03 +0300)]
Resolved incorrect size when call GetTextSize(TextLabel) for one glyph
GetTextSize(TextLabel) for one glyph return zero size with ellipsis end.
But it works fine with GetTextSize(TextEditor).
To check it:
===========================================================
Window window = application.GetWindow();
window.SetBackgroundColor(Color::WHITE);
textLabel = TextLabel::New();
textLabel.SetProperty(TextLabel::Property::POINT_SIZE, 7.f);
textLabel.SetProperty(Actor::Property::SIZE, Vector2(200.f, 200.f));
textLabel.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_LEFT);
textLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
textLabel.SetProperty(TextLabel::Property::TEXT, "H");
window.Add(textLabel);
...
Vector<Vector2> sizesList = DevelTextLabel::GetTextSize(textLabel, 0u, 0u);
===========================================================
Change-Id: I38f6177c46f7485663412d55d95a5ffc318341f9
Abdulleh Ghujeh [Thu, 21 Apr 2022 07:40:26 +0000 (10:40 +0300)]
fix incorrect selection highlight position with postive line spacing
Change-Id: I411127b55c2bbbf0a1b5a6a1cdeb95d32ae8a429
Seungho BAEK [Thu, 21 Apr 2022 05:13:50 +0000 (05:13 +0000)]
Merge "Transfer uploadOnly flag to the core and update manager" into devel/master
seungho [Mon, 18 Apr 2022 07:16:26 +0000 (16:16 +0900)]
Transfer uploadOnly flag to the core and update manager
Change-Id: I096fc8b2bac265e1aa78f5a45b439ec16d1d1b8e
Signed-off-by: seungho <sbsh.baek@samsung.com>
sunghyun kim [Tue, 22 Feb 2022 05:13:01 +0000 (14:13 +0900)]
Fix webp&gif issue
1. Change Fitting mode
- animated image visual use FIT_KEEP_ASPECT_RATIO by default, but image visual use FILL.
i think we need to use same fitting mode by default.
2. use npatch in webp and gif
- if webp and gif use npatch, it need to be change regular type
Change-Id: Ib29234e86d5d2efaa38dce9ef391a79a1065dd5d
Bowon Ryu [Tue, 19 Apr 2022 15:05:20 +0000 (00:05 +0900)]
Fix incorrect calc of GetHeightForWidth in TextLabel
the recent change of CalculateLayoutSizeOnRequiredControllerSize()
causes compatibility issues in TextLabel.
avoiding backup/restore of visual-model fields after GetNaturalSize/GetHeightForWidth is
usually to resolve broken index of editable controls.
this patch DoRelayout() with minimal operation when non-editable case.
it's almost like legacy code.
Change-Id: Ib918c96ad45fc3567941bec17dffe910b8b45134
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Heeyong Song [Tue, 19 Apr 2022 03:16:09 +0000 (03:16 +0000)]
Merge "Add CHROMINANCE pixel format" into devel/master
Abdulleh Ghujeh [Wed, 13 Apr 2022 06:02:35 +0000 (09:02 +0300)]
Enhance texteditor background drawing performance
Change-Id: Ib2e2bce28431e4845adcfc0328844765bc8df1a7
David Steele [Thu, 14 Apr 2022 11:24:42 +0000 (11:24 +0000)]
Merge "Call ResourceReady callback even image loading failed." into devel/master
Richard Huang [Thu, 14 Apr 2022 10:35:10 +0000 (11:35 +0100)]
DALi Version 2.1.18
Change-Id: I1736c18ac5e0ea69ef9657703f63aa0292ff5c94
Heeyong Song [Thu, 14 Apr 2022 10:03:34 +0000 (19:03 +0900)]
Add CHROMINANCE pixel format
Change-Id: I4ec7df3e842a957007dd224ab8a78e3bcd5bd228
Eunki, Hong [Fri, 1 Apr 2022 12:14:10 +0000 (21:14 +0900)]
Call ResourceReady callback even image loading failed.
image-visual and svg-visual and npatch-visual call ResourceReady callback even
they fail to load image.
But when animated image load faild, it doesn't call ResourceReady.
This patch make both image-used visuals call ResourceReady callback
even if load state is failed.
Change-Id: I7f0a267b7103d0d4df0753236cc90b2e467c707d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Wed, 13 Apr 2022 17:03:46 +0000 (17:03 +0000)]
Merge "Make broken alpha mask image show image" into devel/master
Eunki, Hong [Tue, 5 Apr 2022 14:00:04 +0000 (23:00 +0900)]
Refactoring npatch-loader so it works well both sync-async loading
Make async loading always call LoadComplete when we try to load n-patch image.
+
Releative with both sync-async case,
Fix minor reference count issue for NPatchData.
Previous logic only control refrence count as Observer. It was not good.
+
Fix minor caching issue with border.
Previous code logic have problem when we use same Url and different border.
Change-Id: Ic54dd522e44f5db64f3e9d08aa44db224ab4d506
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 5 Apr 2022 03:32:45 +0000 (12:32 +0900)]
Make broken alpha mask image show image
Previous code only assume that ALPHA_MASK_URL load success.
When we use alpha mask image invalid, the result become strange ;
Most of image view not showing anything, but somtimes 1~2 image show broken.
This patch make when we use that maskTextureId is load failed case.
Change-Id: Ifd157d8b3a74c3a813d13ed3072c945d8ae8cda8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seungho BAEK [Tue, 12 Apr 2022 12:48:25 +0000 (12:48 +0000)]
Merge "Refactoring Animated image visual" into devel/master
David Steele [Mon, 11 Apr 2022 14:20:19 +0000 (14:20 +0000)]
Merge "Test harness sync" into devel/master
Bowon Ryu [Mon, 11 Apr 2022 02:07:24 +0000 (02:07 +0000)]
Merge "Refactored text selection popup to reduce loc" into devel/master
David Steele [Fri, 8 Apr 2022 16:18:19 +0000 (17:18 +0100)]
Test harness sync
Change-Id: I6799eccd1e813351c87446dda4c379162e1b4f4d
Adeel Kazmi [Fri, 8 Apr 2022 14:00:44 +0000 (14:00 +0000)]
Merge "GlView using DirectRendering" into devel/master
Bowon Ryu [Fri, 8 Apr 2022 12:19:36 +0000 (21:19 +0900)]
Refactored text selection popup to reduce loc
- refactored property setters/getters
- I plan to bind the TextSelectionPopup to NUI.
before that, I will reduce loc with some refactoring.
Change-Id: I7f790153ed845a50a68591c97211d240b662e77e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
David Steele [Fri, 8 Apr 2022 12:01:40 +0000 (12:01 +0000)]
Merge "DALi Version 2.1.17" into devel/master
David Steele [Fri, 8 Apr 2022 11:54:46 +0000 (12:54 +0100)]
DALi Version 2.1.17
Change-Id: Id2ddb789190bb060330ac6c0ff263cdf79ade17b
Adam Bialogonski [Thu, 31 Mar 2022 15:25:46 +0000 (16:25 +0100)]
GlView using DirectRendering
Added GlView::BackendMode enum
The backend mode can be changed only upon the GlView creation. There is no way to change the backend after that.
Change-Id: I0e6c072e9b9b03c65324177ba1c2df9f6cf8d458
Bowon Ryu [Fri, 8 Apr 2022 04:50:14 +0000 (04:50 +0000)]
Merge "Add vertical alignment for text editor" into devel/master
Bowon Ryu [Wed, 30 Mar 2022 03:07:15 +0000 (12:07 +0900)]
Add vertical alignment for text editor
- Support VerticalAlignment for TextEditor
- If the layout size is bigger than control size,
there is no meaning in calculating the vertical offset.
- But when the text is empty,
the cursor position should be updated according to the vertical alignment.
Change-Id: I219abf970ff4cb3ce0540244a3f6fd4ed41d24e8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Richard Huang [Tue, 5 Apr 2022 09:31:38 +0000 (10:31 +0100)]
Adjust node scale for avatar models generated by glTF Tools for M-Renderer
Change-Id: I4bbfd455aafd4772e8b0433e469f07e981bcf9d4
seungho [Tue, 23 Nov 2021 08:46:41 +0000 (17:46 +0900)]
Refactoring Animated image visual
- Animated image file will be opened when the visual is on scene.
- Only the first frame is cached to cache single frame image as the image visual do.
- Pause timer when next frame is not cached yet. And resume it after the frame is ready.
- Load policy and release policy is now supported.
Change-Id: I39a1d93396865f56d6c7e0b54b9d9fffecdc88ef
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki, Hong [Tue, 5 Apr 2022 11:58:11 +0000 (20:58 +0900)]
Fix NPatch Auxiliary UTC
Change-Id: I8aa5907f50375933d4f8f54dd2fb3bdc71345283
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 1 Apr 2022 13:27:23 +0000 (22:27 +0900)]
Make n-patch image show broken image
Due to the visual-factory-cache.cpp's UpdateBorkenImageRenderer assumed that
inputed renderer is normal image's renderer,
n-patch visual didn't show broken image well.
This patch re-create renderer when we use not-image-renderer.
Change-Id: I93ee8e7c87901e0bed5c843adb38066b8c184342
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ssabah [Sun, 27 Mar 2022 21:23:46 +0000 (00:23 +0300)]
Refactoring and documenting the markup tags and attributes
Moved all tags and attributes to separate file.
Added doxygen description for each tag and attribute.
To check doxygen documentation:
1) Build dali-toolkit
2)Generate the internal documentation for DALi Toolkit
https://github.com/dalihub/dali-toolkit/tree/master/docs/generated-internal
3) Goto: Files > File List > dali-toolkit > internal > text > markup-tags-and-attributes.h
Change-Id: I42693d0c1ce1169614ccad9391ef4f60a04b3f66
David Steele [Fri, 1 Apr 2022 12:07:53 +0000 (12:07 +0000)]
Merge "DALi Version 2.1.16" into devel/master
Adam Bialogonski [Fri, 1 Apr 2022 11:51:39 +0000 (12:51 +0100)]
DALi Version 2.1.16
Change-Id: I7bb3200279a1572562c27eac1ad8007441164919
Bowon Ryu [Fri, 1 Apr 2022 10:12:20 +0000 (10:12 +0000)]
Merge "fix issue in negative line spacing with key arrow down" into devel/master
Bowon Ryu [Fri, 1 Apr 2022 10:04:30 +0000 (10:04 +0000)]
Merge "Support paragraph attribute: relative line height" into devel/master
Bowon Ryu [Fri, 1 Apr 2022 10:04:07 +0000 (10:04 +0000)]
Merge "fix linespacing calculation in TextLabel" into devel/master
Bowon Ryu [Fri, 1 Apr 2022 08:33:19 +0000 (08:33 +0000)]
Merge "Supports USER_INTERACTION_ENABLED for text components" into devel/master
Bowon Ryu [Wed, 30 Mar 2022 03:41:35 +0000 (12:41 +0900)]
Supports USER_INTERACTION_ENABLED for text components
Handles the behaviour of text components according to USER_INTERACTION_ENABLED.
Fixed the following bug :
If editable is false, all decorators should be disabled.
The prev behaviour is that some decorators are not disabled.
Change-Id: I7aeef2b2c238903723eec83e92b5945b06d0f6df
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab.yun [Fri, 1 Apr 2022 01:52:16 +0000 (10:52 +0900)]
If USER_INTERACTION_ENABLED is disabled, it shouldn't even be focused.
Change-Id: If9fd87747511bf6926bd5d7de19f951bb2b9596a
joogab yun [Fri, 1 Apr 2022 07:11:50 +0000 (07:11 +0000)]
Merge "Changed to not always clearFocus when a touch occurs." into devel/master
joogab.yun [Tue, 29 Mar 2022 01:02:33 +0000 (10:02 +0900)]
If the Focusable of TextField and TextEditor is set to true, it is modified so that it works well.
Change-Id: Ie3264a8caec3caeba3903d2467017c48f1436c8c
Abdulleh Ghujeh [Thu, 31 Mar 2022 11:16:13 +0000 (14:16 +0300)]
fix issue in negative line spacing with key arrow down
when setting negative line spacing property with multiline text.
using arrow down to move the main cursor will skip some line.
Change-Id: Ia69d008203348776c860d5a8e7d1e5833a0e5f30
joogab.yun [Mon, 28 Mar 2022 10:13:28 +0000 (19:13 +0900)]
Changed to not always clearFocus when a touch occurs.
Do ClearFocus when focus movement is possible.
Otherwise, only the FocusIndicator is cleared.
Change-Id: I7e482e78e0af590304d066549a554d4fa39d3613
Adeel Kazmi [Tue, 29 Mar 2022 18:48:29 +0000 (19:48 +0100)]
Changed the style of the buttons
Change-Id: Icf485af242a836825778bcf033aa68bd83ed73fd