platform/core/uifw/dali-toolkit.git
21 months agoMerge "Support SVG thread pool" into devel/master
Heeyong Song [Thu, 7 Jul 2022 00:44:16 +0000 (00:44 +0000)]
Merge "Support SVG thread pool" into devel/master

21 months agoSupport SVG thread pool 83/277183/2
Heeyong Song [Fri, 1 Jul 2022 09:37:48 +0000 (18:37 +0900)]
Support SVG thread pool

Change-Id: Icbd6fc81adc7790f27e11f62eeb48d9fb1a09ce7

21 months agoFacial animation support 64/275164/10
Richard [Tue, 17 May 2022 12:47:00 +0000 (13:47 +0100)]
Facial animation support

Change-Id: I079348f3164b53704f7a7c6a652e22afc7195d0b

21 months agoFix RemoteSVG UTC failed due to the proxy block 56/277356/1
Eunki, Hong [Tue, 5 Jul 2022 10:55:42 +0000 (19:55 +0900)]
Fix RemoteSVG UTC failed due to the proxy block

Due to the security issue, https://bar.org/ networking blocked.
And the blocked request give us some result,
and UTC don't parse this data.

So, we change url as 127.0.0.1 (== localhost) so we can fail
to get data successfully.

Change-Id: Ib027856d674b794c9e31f066189a23f17a8cd9cf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMake sure to register blendshape weight properties for all the nodes with blendshapes 02/277202/1
Richard Huang [Fri, 1 Jul 2022 13:03:09 +0000 (14:03 +0100)]
Make sure to register blendshape weight properties for all the nodes with blendshapes

Change-Id: Ia78fe48a91ed98b5313bf90f14a2a98fe6d461ed

21 months agoMerge "DALi Version 2.1.29" into devel/master
David Steele [Fri, 1 Jul 2022 11:12:19 +0000 (11:12 +0000)]
Merge "DALi Version 2.1.29" into devel/master

21 months agoDALi Version 2.1.29 91/277191/1 dali_2.1.29
David Steele [Fri, 1 Jul 2022 11:07:04 +0000 (12:07 +0100)]
DALi Version 2.1.29

Change-Id: Ia1c36497d9c97a9fcb2db79438e7b4ad71c5ea31

21 months agoFix name of glyph compression name 74/277174/1
Eunki, Hong [Fri, 1 Jul 2022 07:58:30 +0000 (16:58 +0900)]
Fix name of glyph compression name

Change-Id: I825f6ac95ef78457513b5cd984ce00d1c220a2af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoCopyless glyph bitmap creation 32/276732/13
Eunki, Hong [Thu, 23 Jun 2022 12:54:44 +0000 (21:54 +0900)]
Copyless glyph bitmap creation

We update glyphBufferData check the buffer's ownership.
So Typesetter now can use the glyph buffer without memcpy.

Change-Id: I2fff8a10f5ed93c2e053825a61350ae5d384f3e8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoFix crash issue at VisualBase (DoAction + AnimateTo) 32/277032/4
Eunki, Hong [Wed, 29 Jun 2022 08:16:06 +0000 (17:16 +0900)]
Fix crash issue at VisualBase (DoAction + AnimateTo)

Case 1 :

When we try to change decorated properties by DoAction and UPDATE_PROPERTY,
It can be crashed due to the VisualRenderer is not DecoratedVisualRenderer.
This patch make we update properties only for valid visual types.

Case 2 :

When we try to animate with DevelVisual's animatable property, It become crashed.
This cause we miss some logic of found registered property.
Now, we can run arc-visual.example

Change-Id: Icee700608277a4133426bb39a4c30b92ab8acc8f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Fix shader compile crash issue" into devel/master
Eunki Hong [Tue, 28 Jun 2022 03:02:12 +0000 (03:02 +0000)]
Merge "Fix shader compile crash issue" into devel/master

21 months agoMerge "Support YUV decoding for JPEG" into devel/master
Heeyong Song [Tue, 28 Jun 2022 01:34:36 +0000 (01:34 +0000)]
Merge "Support YUV decoding for JPEG" into devel/master

21 months agoMerge "Allows TextField and TextEditor to propagate PanGestures." into devel/master
joogab yun [Tue, 28 Jun 2022 01:06:30 +0000 (01:06 +0000)]
Merge "Allows TextField and TextEditor to propagate PanGestures." into devel/master

21 months agoSupport YUV decoding for JPEG 04/276404/7
Heeyong Song [Thu, 16 Jun 2022 04:46:29 +0000 (13:46 +0900)]
Support YUV decoding for JPEG

Change-Id: Ibf098d991e21813c0a388c66e7420a51f628706d

21 months agoMerge "fix incorrect index range in emoji-helper" into devel/master
Bowon Ryu [Mon, 27 Jun 2022 05:30:24 +0000 (05:30 +0000)]
Merge "fix incorrect index range in emoji-helper" into devel/master

21 months agoDALi Version 2.1.28 90/276790/1 dali_2.1.28
Adeel Kazmi [Fri, 24 Jun 2022 13:08:43 +0000 (14:08 +0100)]
DALi Version 2.1.28

Change-Id: I0811bddaf558ef7312e68fcd1b92bf67a48e95a0

21 months agoAllows TextField and TextEditor to propagate PanGestures. 15/276715/5
joogab.yun [Thu, 23 Jun 2022 08:33:34 +0000 (17:33 +0900)]
Allows TextField and TextEditor to propagate PanGestures.

This is because TextField and TextEditor use PanGesture, parent actors will not be able to receive PanGesture.

So let's propagate the pan gesture to the parent unless the text is being scrolled by the pan gesture.

Change-Id: Ia3b9995fab97287cbf4db271f3912712b7f78695

21 months agofix incorrect index range in emoji-helper 20/276720/2
Bowon Ryu [Thu, 23 Jun 2022 09:56:41 +0000 (18:56 +0900)]
fix incorrect index range in emoji-helper

Length lastCharacter = startIndex + numberOfCharacters;

Previous lastCharacter's actual value is "lastCharacter + 1"
This incorrect value makes the whole code misleading.

Change-Id: Idcb2582b05b2e36d064779f85942cea6d967a755
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoFix shader compile crash issue 40/276640/2
Eunki, Hong [Wed, 22 Jun 2022 09:27:23 +0000 (18:27 +0900)]
Fix shader compile crash issue

Due to the unknown reason, we got crash during glShaderSource.
To "avoid" that crash, we fix the code that we don't use !defined(~)

Change-Id: I54c7278baffb16ee63481ea92ccc67baa227b071
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoFix remote UTC SIGKILL issue. 29/276529/1
Eunki, Hong [Mon, 20 Jun 2022 05:37:22 +0000 (14:37 +0900)]
Fix remote UTC SIGKILL issue.

Due to the utc can test maximum 60 seconds,
We cannot test 2 or more network sample.
(Current dali's CONNECTION_TIMEOUT_SECOND is 30 seconds)

Change-Id: I7bf6e1bbbb685f3439b88f96b31cd5ae344ce5eb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoMerge "Fix uint16 max issue in TextLabel" into devel/master
Bowon Ryu [Mon, 20 Jun 2022 04:40:19 +0000 (04:40 +0000)]
Merge "Fix uint16 max issue in TextLabel" into devel/master

21 months agoFix uint16 max issue in TextLabel 75/276475/4
Bowon Ryu [Fri, 17 Jun 2022 06:16:16 +0000 (15:16 +0900)]
Fix uint16 max issue in TextLabel

If the size of TextLabel is bigger than uint16 max value,
there is a problem that assert occurs in Texture::New.

We can avoid the assert by setting the VisualTransform size to uint16 max,
but this also doesn't guaranteed rendering behavior.

To guaranteed the behavior, VisualTransform size is limitted to maxTextureSize.

Change-Id: I68523c89aecc71a9158e59948bca037d5c73c95a
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
21 months agoMerge "DALi Version 2.1.27" into devel/master
David Steele [Fri, 17 Jun 2022 10:40:10 +0000 (10:40 +0000)]
Merge "DALi Version 2.1.27" into devel/master

21 months agoDALi Version 2.1.27 97/276497/1 dali_2.1.27
David Steele [Fri, 17 Jun 2022 10:28:05 +0000 (11:28 +0100)]
DALi Version 2.1.27

Change-Id: I255331086656ae9578381d4ac1f64b269129fe00

21 months agoMerge "If the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit...
joogab yun [Fri, 17 Jun 2022 08:36:41 +0000 (08:36 +0000)]
Merge "If the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit::Control::KeyboardFocus::RIGHT, deviceName);" because nextFocus is automatically found." into devel/master

22 months agoIf the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit::Contr... 23/276423/3
joogab.yun [Thu, 16 Jun 2022 07:25:37 +0000 (16:25 +0900)]
If the default algorithm is enabled, there is no need to do "MoveFocus(Toolkit::Control::KeyboardFocus::RIGHT, deviceName);" because nextFocus is automatically found.

So we add conditional statements.

Change-Id: I7b4cafd7f514d38141e4918c1651f229b063d595

22 months agoMerge "It may be outside the range of type int. Change to uint64_t." into devel/master
joogab yun [Thu, 16 Jun 2022 07:25:39 +0000 (07:25 +0000)]
Merge "It may be outside the range of type int. Change to uint64_t." into devel/master

22 months agofix incorrect calculaion of natural size in text 13/276413/1
Bowon Ryu [Thu, 16 Jun 2022 02:16:34 +0000 (11:16 +0900)]
fix incorrect calculaion of natural size in text

In DoRelayout of GetNaturalSize/GetHeightForWidth,
operationsPending should inlcude LAYOUT.
Without this, incorrect size calculations will occur.

Change-Id: I4cfcf392d07eac2b5929b7b2cc36d08c8fc519a8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoIt may be outside the range of type int. 03/276403/3
joogab.yun [Thu, 16 Jun 2022 04:51:11 +0000 (13:51 +0900)]
It may be outside the range of type int.
Change to uint64_t.

Change-Id: I41cc20a97e7213f8a27de6281bc861f6b9292867

22 months agoAdd observer during ProcessLoadQueue 26/276326/6
Eunki, Hong [Tue, 14 Jun 2022 12:21:44 +0000 (21:21 +0900)]
Add observer during ProcessLoadQueue

Due to we request LoadTexture multiple time during ProcessLoadQueue,
same AnimatedImageLoading can be requested on multiple ImageLoadThread.

Decode same textureId in multiple thread is just waste the CPU resource.

This patch make we add observer in ProcessLoadQueue.

Change-Id: I5656befa209db967e0a6f1ccd90959f38ff731fc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoThe FocusChanged event callback is called before the FocusLost 89/276289/7
joogab.yun [Tue, 14 Jun 2022 05:37:42 +0000 (14:37 +0900)]
The FocusChanged event callback is called before the FocusLost

Change-Id: I131c7e32a4372b54b2b57c5acf53bfdc5a82c15a

22 months agoMerge "[AT-SPI] Fix EditableTextControlAccessible::InsertText()" into devel/master
Lukasz Oleksak [Mon, 13 Jun 2022 06:31:58 +0000 (06:31 +0000)]
Merge "[AT-SPI] Fix EditableTextControlAccessible::InsertText()" into devel/master

22 months agoDALi Version 2.1.26 74/276174/1 dali_2.1.26
Adam Bialogonski [Fri, 10 Jun 2022 08:53:42 +0000 (09:53 +0100)]
DALi Version 2.1.26

Change-Id: I653b9e9c59e0273ff52582a065e13d836f00cf04

22 months ago[AT-SPI] Fix EditableTextControlAccessible::InsertText() 82/276082/5
Artur Świgoń [Thu, 9 Jun 2022 09:31:37 +0000 (11:31 +0200)]
[AT-SPI] Fix EditableTextControlAccessible::InsertText()

This method did not work when appending to the end of the text
(including the case where the text was initially empty).

Change-Id: I981531feb1eea3d067a06292104145d48de0a76f

22 months agoMerge "Fix text AutoScroll ellipsis issue" into devel/master
Bowon Ryu [Thu, 9 Jun 2022 10:28:54 +0000 (10:28 +0000)]
Merge "Fix text AutoScroll ellipsis issue" into devel/master

22 months agoMerge "Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and...
Bowon Ryu [Thu, 9 Jun 2022 09:49:27 +0000 (09:49 +0000)]
Merge "Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and set layout direction RTL" into devel/master

22 months agoMerge "Remove useless iteration when debug mode" into devel/master
Eunki Hong [Thu, 9 Jun 2022 09:30:56 +0000 (09:30 +0000)]
Merge "Remove useless iteration when debug mode" into devel/master

22 months agoRemove useless iteration when debug mode 68/276068/2
Eunki, Hong [Thu, 9 Jun 2022 06:24:54 +0000 (15:24 +0900)]
Remove useless iteration when debug mode

Some API; like fontClient.GetDescription, are very slow.
But these result values only used for debug log printing.

This patch make some useless iteration will not works for
normal debug mode + NoLogging level.

Change-Id: I1feafda4d18b46902724a3cd305a1a87e030bfd5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix include path value of scene-loader 71/276071/1
Heeyong Song [Thu, 9 Jun 2022 06:41:44 +0000 (15:41 +0900)]
Fix include path value of scene-loader

Change-Id: I9753119ea72cc3db33f7251ef5d9235389f6c5a8

22 months agoMerge "Free GlyphData buffer" into devel/master
Adeel Kazmi [Wed, 8 Jun 2022 15:39:40 +0000 (15:39 +0000)]
Merge "Free GlyphData buffer" into devel/master

22 months agoResolve incorrect position for Ellipsis when mixed LTR & RTL languages and set layout... 95/275895/6
ssabah [Sun, 5 Jun 2022 12:08:04 +0000 (15:08 +0300)]
Resolve incorrect position for Ellipsis when mixed LTR & RTL languages and set layout direction RTL

Here's sample code for issues:
    //Case 1:
    TextLabel textLabel = TextLabel::New("Projector استكشاف");
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS, true);
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS_POSITION, Dali::Toolkit::DevelText::EllipsisPosition::END);
    textLabel.SetProperty(Dali::Actor::Property::LAYOUT_DIRECTION, LayoutDirection::RIGHT_TO_LEFT);
    textLabel.SetProperty(Actor::Property::SIZE, Vector2(145.0f, 60.0f)); // minimize width until the ellipsis comes between two languages

    //Case 2:
    TextLabel textLabel = TextLabel::New("استكشاف Projector");
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS, true);
    textLabel.SetProperty(Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS_POSITION, Dali::Toolkit::DevelText::EllipsisPosition::START);
    textLabel.SetProperty(Dali::Actor::Property::LAYOUT_DIRECTION, LayoutDirection::RIGHT_TO_LEFT);
    textLabel.SetProperty(Actor::Property::SIZE, Vector2(145.0f, 60.0f)); // minimize width until the ellipsis comes between two languages

Change-Id: Ia645d143083074383f4db3b8b2407810b69e4862

22 months agoMake visualOffset as Absolute scale. 18/276018/1
Eunki, Hong [Wed, 8 Jun 2022 12:05:13 +0000 (21:05 +0900)]
Make visualOffset as Absolute scale.

offset / uSize.xy might make some precision issue.
For example, tiling use TRANSFORM_OFFSET.
If tiling has some high value, vertex position might missmatched.

This patch will reduce precision.

Change-Id: I185595680c882d75e989d864053079f801d14440
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix text AutoScroll ellipsis issue 97/275997/1
Bowon Ryu [Tue, 7 Jun 2022 16:19:50 +0000 (01:19 +0900)]
Fix text AutoScroll ellipsis issue

Text should ellipsis while AutoScroll is running
when text length is bigger than MaxTextureSize.

this issue occurs as a side effect of another patch.
74f7af1b08ce65dde5959d22b2d533cbc64b9d2e

the height comparison condition is for another AutoScroll ellipsis issue
and this should not be removed.

Change-Id: I18a4011bec882e483bc0c184417403661a9fa635
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoFree GlyphData buffer 79/275979/1
Eunki, Hong [Wed, 8 Jun 2022 04:55:40 +0000 (13:55 +0900)]
Free GlyphData buffer

We make GlyphData's buffer as malloc.
So, we need to change the release method as free.

Change-Id: Id3c1b7ed9f6b8683b05440edc1c6f52fca5fb6c1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Fix bug when we use bitmap font." into devel/master
Adeel Kazmi [Tue, 7 Jun 2022 15:33:13 +0000 (15:33 +0000)]
Merge "Fix bug when we use bitmap font." into devel/master

22 months agoFix bug when we use bitmap font. 68/275968/2
Eunki, Hong [Tue, 7 Jun 2022 13:42:50 +0000 (22:42 +0900)]
Fix bug when we use bitmap font.

We can use custom bitmap font without using glyph.
In this case, glyphBuffer can be RGBA.

Current logic assume that glyphBuffer only L8 if isColor is false.
This patch it that case works well

Change-Id: Ia68bfb4a292cb4bc34f4041b55f2a9d661e58df7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMake some visual use DecoratedVisualRenderer 63/274263/16
Eunki, Hong [Mon, 25 Apr 2022 10:41:39 +0000 (19:41 +0900)]
Make some visual use DecoratedVisualRenderer

Make some visual use DecoratedVisualRenderer s.t. use some properties as default :
 CORNER_RADIUS
 CORNER_RADIUS_POLICY
 BORDERLINE_WIDTH
 BORDERLINE_COLOR
 BORDERLINE_OFFSET
 BLUR_RADIUS

Now BORDERLINE_WIDTH and BLUR_RADIUS informations can be accessed in
dali-core level. So we can calculate update size

Change-Id: Ib9d20d202a939acf70eac12f602b05c1451e1030
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Minor reduce textlabel creation time." into devel/master
Adeel Kazmi [Tue, 7 Jun 2022 09:59:22 +0000 (09:59 +0000)]
Merge "Minor reduce textlabel creation time." into devel/master

22 months agoDelete useless define of default shaders 56/275156/5
Eunki, Hong [Tue, 17 May 2022 09:51:37 +0000 (18:51 +0900)]
Delete useless define of default shaders

We can use #if defined(~~) instead of #ifndef ~~ #define ~~ 0
Now we can check the shader more clean environment.

Change-Id: Icaf79367ccdeb0a3bd53d47aaacd00ad8f352a64
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMinor reduce textlabel creation time. 81/275581/11
Eunki, Hong [Thu, 26 May 2022 12:54:19 +0000 (21:54 +0900)]
Minor reduce textlabel creation time.

1. Reduce the multiply operations during TypeSetter
combine each glyph on bitmap.

2. Every textlabel hold it's own TextController
and each TextController try to get StyleManager's configure.

In this case, there was some operation
from const Property::Map to Property::Map. It required vector copy.
So I make that we don't copy the vector anymore.

Change-Id: Ie2853b54d8dc0e6685bb11afe7d91faaae0b5acd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Fix visual defect during text scroll" into devel/master
Eunki Hong [Fri, 3 Jun 2022 11:37:42 +0000 (11:37 +0000)]
Merge "Fix visual defect during text scroll" into devel/master

22 months agoSync UTC with text shape method. 69/275869/1
Eunki, Hong [Fri, 3 Jun 2022 09:10:49 +0000 (18:10 +0900)]
Sync UTC with text shape method.

Harfbuzz shape algorithm have some bug if we use Emoji.
So, make UTC don't check advance value if we test Emoji.

Change-Id: I502c6b9ed4233b27723d9f379c958fb718d9c928
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoFix visual defect during text scroll 14/275814/2
Eunki, Hong [Thu, 2 Jun 2022 05:54:18 +0000 (14:54 +0900)]
Fix visual defect during text scroll

Change-Id: Idf9d2f3bbf08dcb0832b1493ce9c3526f12440ae
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "DALi Version 2.1.25" into devel/master
David Steele [Wed, 1 Jun 2022 10:56:18 +0000 (10:56 +0000)]
Merge "DALi Version 2.1.25" into devel/master

22 months agoDALi Version 2.1.25 71/275771/1 dali_2.1.25
Richard Huang [Wed, 1 Jun 2022 10:15:11 +0000 (11:15 +0100)]
DALi Version 2.1.25

Change-Id: I87da0bfd9384da3a3d9c3a1192d7e6234925cd11

22 months agoMerge "Fix svace issue for dli-extra" into devel/master
David Steele [Wed, 1 Jun 2022 08:42:40 +0000 (08:42 +0000)]
Merge "Fix svace issue for dli-extra" into devel/master

22 months agoMerge "Refactoring related-runs for the mutable-markup (Spannable)" into devel/master
Bowon Ryu [Tue, 31 May 2022 10:55:22 +0000 (10:55 +0000)]
Merge "Refactoring related-runs for the mutable-markup (Spannable)" into devel/master

22 months agoRefactoring related-runs for the mutable-markup (Spannable) 00/275100/3
ssabah [Mon, 16 May 2022 13:51:13 +0000 (16:51 +0300)]
Refactoring related-runs for the mutable-markup (Spannable)

We created common abstract class to inherit all run class that are needed for mutable-markup (Spannable)
  - ColorRun
  - CharacterSpacingCharacterRun
  - FontDescriptionRun
  - UnderlinedCharacterRun
  - StrikethroughCharacterRun
  - BoundedParagraphRun

Change-Id: I47cea29e0c9d833068b731402de68ae20cabb9d9

22 months agoIgnore vertical line alignment when the line spacing is negative 03/274903/5
ssabah [Wed, 11 May 2022 14:21:06 +0000 (17:21 +0300)]
Ignore vertical line alignment when the line spacing is negative

This is to resolved cut-off in first-line when line-spacing is negative
 and vertical line alignment is bottom or middle.

Testing code:
https://github.com/wonrst/NUI-Test/blob/main/text-vertical-line-align/verticalline.cs

This patch should be preceded by the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/274097

Change-Id: I80e6d838ad08f7f34d79f6018bb44ae467c7a89a

22 months agofix issue with VerticalLineAlignment with multiple font sizes 97/274097/6
Abdulleh Ghujeh [Wed, 20 Apr 2022 10:07:07 +0000 (13:07 +0300)]
fix issue with VerticalLineAlignment with multiple font sizes

when having multi-line, every line contains text that have different font size.
VerticalLineAlignment does not work properly.

Change-Id: I89b2a1b0c3a01c6cd79dc8de3c0e42876e2b7251

22 months agoFix svace issue for dli-extra 80/275680/1
seungho [Mon, 30 May 2022 04:55:50 +0000 (13:55 +0900)]
Fix svace issue for dli-extra

Change-Id: Ide4188cd0df8b114428175c0a490f46dc0d43a54
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoEnable to use GPU masking in image visual 26/275226/16
seungho [Wed, 18 May 2022 12:08:22 +0000 (21:08 +0900)]
Enable to use GPU masking in image visual

Change-Id: I37673b02dfa6764a1ebf87a68193c839a6b6212d
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoMerge "DALi Version 2.1.24" into devel/master
Adeel Kazmi [Fri, 27 May 2022 12:18:51 +0000 (12:18 +0000)]
Merge "DALi Version 2.1.24" into devel/master

22 months agoMerge "GPU Alpha Masking for Animated Image Visual" into devel/master
Seungho BAEK [Fri, 27 May 2022 12:13:16 +0000 (12:13 +0000)]
Merge "GPU Alpha Masking for Animated Image Visual" into devel/master

22 months agoDALi Version 2.1.24 38/275638/1 dali_2.1.24
Adeel Kazmi [Fri, 27 May 2022 12:01:05 +0000 (13:01 +0100)]
DALi Version 2.1.24

Change-Id: I84e156bccaccb2b977b1ddca2c59d6f58a75bf86

22 months agoGPU Alpha Masking for Animated Image Visual 61/275061/14
seungho [Mon, 16 May 2022 06:09:59 +0000 (15:09 +0900)]
GPU Alpha Masking for Animated Image Visual

Change-Id: I7d0f44a73063a16d1e57acf40739c58239487c43
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoFix automated test failures about the SvgVisual 05/275605/1
Heeyong Song [Fri, 27 May 2022 02:52:42 +0000 (11:52 +0900)]
Fix automated test failures about the SvgVisual

Change-Id: I4aef4278e54337e484ef66a4dfa5229c407fbd5e

22 months agoMerge "Apply premultiply in animated image visual" into devel/master
sunghyun kim [Thu, 26 May 2022 10:10:30 +0000 (10:10 +0000)]
Merge "Apply premultiply in animated image visual" into devel/master

22 months agoMerge "Fix key event propagation in text controller" into devel/master
Bowon Ryu [Thu, 26 May 2022 09:38:52 +0000 (09:38 +0000)]
Merge "Fix key event propagation in text controller" into devel/master

22 months agoMerge "Trigger svg loading early" into devel/master
Heeyong Song [Thu, 26 May 2022 01:08:39 +0000 (01:08 +0000)]
Merge "Trigger svg loading early" into devel/master

22 months agoTrigger svg loading early 61/275161/4
Heeyong Song [Tue, 17 May 2022 10:41:10 +0000 (19:41 +0900)]
Trigger svg loading early

Change-Id: Ie715e242d32ca68060c8503809222960f545ae60

22 months agoApply premultiply in animated image visual 08/275308/4
tscholb [Fri, 20 May 2022 09:38:29 +0000 (18:38 +0900)]
Apply premultiply in animated image visual

animated-image-visual not properly apply premultiply.
so i make this patch to apply it.

Change-Id: I8b0a2b123ba6789f91163169ded93e07c6170e49

22 months agoThe FocusChanged event callback is called before the FocusLost and FocusGained event... 56/275456/2
joogab.yun [Wed, 25 May 2022 05:15:23 +0000 (14:15 +0900)]
The FocusChanged event callback is called before the FocusLost and FocusGained event callbacks.

Change-Id: Idb145bdd0f9f74e84287ab783a34a72485667ae8

22 months agoFix key event propagation in text controller 11/275411/3
Bowon Ryu [Tue, 24 May 2022 12:05:06 +0000 (21:05 +0900)]
Fix key event propagation in text controller

The KeyEvent::UP of DALI_KEY_BACK is not propagated from text controller,
this interferes with the behavior of the parent view in some cases.

Change-Id: Ib20c6f91203af2c27d1030cc2025964f87834195
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge "Add text selection popup style" into devel/master
Bowon Ryu [Mon, 23 May 2022 05:11:56 +0000 (05:11 +0000)]
Merge "Add text selection popup style" into devel/master

22 months agoMerge "DALi Version 2.1.23" into devel/master
Adeel Kazmi [Fri, 20 May 2022 12:26:35 +0000 (12:26 +0000)]
Merge "DALi Version 2.1.23" into devel/master

22 months agoDALi Version 2.1.23 12/275312/1 dali_2.1.23
Adam Bialogonski [Fri, 20 May 2022 10:16:31 +0000 (11:16 +0100)]
DALi Version 2.1.23

Change-Id: I1699d66d1291c2cc98b22a5bd4ada63b25aa10be

22 months ago[AT-SPI] Make DevelControl::GetAccessibilityRelations() equivalent to Accessible... 35/275035/5
Artur Świgoń [Fri, 13 May 2022 11:42:32 +0000 (13:42 +0200)]
[AT-SPI] Make DevelControl::GetAccessibilityRelations() equivalent to Accessible::GetRelationSet()

The previous std::vector<std::vector<Address>> return type, in which the
RelationType enumeration value served as an index to the outer vector,
can be changed to std::vector<Relation>, which is more compact (there
are very few relations per control in practice). Also, the relation
target type is now Accessible*, which is more useful than Address.

Change-Id: I9f7b86d7415e1711b8a81cd66e271ff9cdffd5c2

22 months agoAdd text selection popup style 01/273601/9
Bowon Ryu [Fri, 8 Apr 2022 09:59:45 +0000 (18:59 +0900)]
Add text selection popup style

Change-Id: I8d9a34784d485a70fb244b1eaecca0e299a4b90b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoFix text render issue when use tiling 22/275222/1
Eunki, Hong [Wed, 18 May 2022 11:22:32 +0000 (20:22 +0900)]
Fix text render issue when use tiling

Due to the "uTextColorAnimatable" uniform values are not registered
into tiling renderer, It show some strange color when we required
some tiling text feature.

This patch make that all other renderers in mRenderList also have
there own constraint relative with TextLabel's TEXT_COLOR index
so tilied renderes also rendering well

Change-Id: I36198372f1a585529b25080919bf96be939577fa
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoStore VisualUrl's hash result, and reuse it 71/275071/2
Eunki, Hong [Mon, 16 May 2022 08:48:14 +0000 (17:48 +0900)]
Store VisualUrl's hash result, and reuse it

When we request load of animated image visual,
It will generate the image url's hash for every frame.

This patch cache the VisualUrl's hash result so
We don't need to re-calculate hash for the same image url.

Change-Id: I637e7d2dc141f25164fb96337d76031f44c2152f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Change conflict of some visual's Impl namespace" into devel/master
Eunki Hong [Wed, 18 May 2022 09:09:18 +0000 (09:09 +0000)]
Merge "Change conflict of some visual's Impl namespace" into devel/master

22 months agoMerge "Optimize some text-typesetter rendering operations" into devel/master
Eunki Hong [Wed, 18 May 2022 08:04:33 +0000 (08:04 +0000)]
Merge "Optimize some text-typesetter rendering operations" into devel/master

22 months agoMerge "Fix Textlabel bug if size height is bigger than 16384" into devel/master
Eunki Hong [Wed, 18 May 2022 08:04:08 +0000 (08:04 +0000)]
Merge "Fix Textlabel bug if size height is bigger than 16384" into devel/master

22 months agoOptimize some text-typesetter rendering operations 09/275009/11
Eunki, Hong [Fri, 13 May 2022 06:30:25 +0000 (15:30 +0900)]
Optimize some text-typesetter rendering operations

1. Make pixelwise iterations range more tightly.
ex) for(i=0;~~) if(i<X) continue; --> for(i=X;~~)

2. Make some pixelwise operations use precalculated color
ex) in DrawBackgroundColor, we don't change the target color.
So, we can specificate that color will be writed for each pixel.

It can reduce some float point data operations.

3. Make CombineImageBuffer reuse the memory.
CombineImageBuffer only used in Typesetter class. (It was private API)
and this API never use it's member value.
And also, All that API caller replace one of pixel buffer
either top or bottom.

So now, I move this API in unnamed namespace function +
store the result into already exist pixel buffer
so we can reduce some memory allocation time.

Change-Id: Id20b2b75e39ccf56b7d08f0b8c8e1e6bea4b7820
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months agoMerge "Make highp for some variable for 3d model shader" into devel/master
Seungho BAEK [Tue, 17 May 2022 10:53:44 +0000 (10:53 +0000)]
Merge "Make highp for some variable for 3d model shader" into devel/master

23 months agoFix Textlabel bug if size height is bigger than 16384 54/275154/4
Eunki, Hong [Tue, 17 May 2022 09:12:36 +0000 (18:12 +0900)]
Fix Textlabel bug if size height is bigger than 16384

Instance fix bug.
text-style shader requied both style texture and overlay style texture.
But for some special case, overlay style texture didnt applied.

TODO : Actually, we need to shrink text relative shaders.
It should be done in future.

Change-Id: Ib2239d5e3b13b946cac964e494027dbaebfe6a02
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months agoMerge "Support asynchronous svg loading" into devel/master
Heeyong Song [Tue, 17 May 2022 10:11:45 +0000 (10:11 +0000)]
Merge "Support asynchronous svg loading" into devel/master

23 months agoMake highp for some variable for 3d model shader 98/275098/3
seungho [Mon, 16 May 2022 13:54:41 +0000 (22:54 +0900)]
Make highp for some variable for 3d model shader

Change-Id: Iecff23b041466ef4d9086989813da85715a2c115
Signed-off-by: seungho <sbsh.baek@samsung.com>
23 months agoMake shader version be top of the code 87/275087/2
seungho [Mon, 16 May 2022 11:35:30 +0000 (20:35 +0900)]
Make shader version be top of the code

Change-Id: Iaa2ab8e68bd43ea8e439cbfbc1fd04f0a45349a5
Signed-off-by: seungho <sbsh.baek@samsung.com>
23 months agoChange conflict of some visual's Impl namespace 78/275078/1
Eunki, Hong [Mon, 16 May 2022 10:33:40 +0000 (19:33 +0900)]
Change conflict of some visual's Impl namespace

ConnectionTracker now use struct Impl.
So, some namespaces conflict with that names usage.

Change-Id: Iae4e1d165e624c331e7c6e6035727a29bcdd9e20
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months agoModify default shader according to the gltf pbr spec 75/274275/27
seungho [Mon, 25 Apr 2022 14:38:15 +0000 (23:38 +0900)]
Modify default shader according to the gltf pbr spec

 - Add uColorFactor.
   In glTF, color factor can be used as a color when there isn't color texture,
   but it is also used to be multiplied with base color that is sampled from color texture.
   In previous implementation, when there isn't color texture, color factor is converted
   as single pixel texture.
   If the texture is from color factor, we shouldn't multiply color factor again.
   But, we couldn't notify whether the texture is from image file or color factor.

 - Add vertex color

 - Add uMetallicFactor, uRoughnessFactor

 - Use #ifdef instead of single value texture.

 - Use pre-computed brdf texture.

 - Modify alpha mode

Change-Id: I048b793a4481b65da5ce07d0d3e263ae74b2ab59
Signed-off-by: seungho <sbsh.baek@samsung.com>
23 months agoMerge "Apply EncodedImageBuffer with Atlas" into devel/master
David Steele [Fri, 13 May 2022 15:43:39 +0000 (15:43 +0000)]
Merge "Apply EncodedImageBuffer with Atlas" into devel/master

23 months agoMerge "DALi Version 2.1.22" 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

23 months agoDALi Version 2.1.22 20/275020/1 dali_2.1.22
Richard Huang [Fri, 13 May 2022 11:01:20 +0000 (12:01 +0100)]
DALi Version 2.1.22

Change-Id: I89d8996908f0852cd10939a7223c6a02036cedc5

23 months agoSupport asynchronous svg loading 81/274881/4
Heeyong Song [Wed, 11 May 2022 09:54:06 +0000 (18:54 +0900)]
Support asynchronous svg loading

Change-Id: I46e977fa00fd9a173663b253867e198ac9c40cc8

23 months ago1. Rather than DoMoveFocusWithinLayoutControl() being done from the parent If the... 11/274611/5
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

23 months agoReverts the patch that prevents focus set when parent is visible when false due to... 74/274974/1
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

23 months agoMerge "Cache animated image's frame index" into devel/master
Eunki Hong [Fri, 13 May 2022 03:00:54 +0000 (03:00 +0000)]
Merge "Cache animated image's frame index" into devel/master

23 months agoApply EncodedImageBuffer with Atlas 46/265346/14
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>