platform/core/uifw/dali-toolkit.git
17 months agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20221128.015004
Chihun Jeong [Wed, 23 Nov 2022 05:56:56 +0000 (14:56 +0900)]
Merge branch 'devel/master' into tizen

17 months agoMerge "Creates RenderTask when it connects on Scene and Remove it when it is disconne...
David Steele [Tue, 22 Nov 2022 14:36:19 +0000 (14:36 +0000)]
Merge "Creates RenderTask when it connects on Scene and Remove it when it is disconnected." into devel/master

17 months agoCreates RenderTask when it connects on Scene and Remove it when it is disconnected. 85/284585/6
seungho baek [Mon, 21 Nov 2022 09:29:38 +0000 (18:29 +0900)]
Creates RenderTask when it connects on Scene and Remove it when it is disconnected.

Change-Id: Ie571a7a8a10224d5740239d8d651a7ce48ddfa51
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
17 months agoMerge "Fix SVACE Issue" into devel/master
Seungho BAEK [Tue, 22 Nov 2022 06:38:07 +0000 (06:38 +0000)]
Merge "Fix SVACE Issue" into devel/master

17 months agoNew with additional behaviour flag for text controls 13/284113/6
Bowon Ryu [Thu, 10 Nov 2022 02:54:59 +0000 (11:54 +0900)]
New with additional behaviour flag for text controls

Add new "New" function that we can append additional ControlBehaviour

This code works in TextField and TextEditor

Change-Id: I28df965491bf6e6abff95ed3dc1a2a83f03588a5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
17 months agoTextFit check without candidate listup 58/284558/1
Eunki, Hong [Fri, 18 Nov 2022 13:47:19 +0000 (22:47 +0900)]
TextFit check without candidate listup

Previous code required O((maxPointSize - minPointSize) / pointInterval) memory.
Now we make to pick valid pointsize without listup.
Also, make binary search as overflow-safety.

Change-Id: I6542c1692e94395fdab07a91fd7322b718a510e1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoDALi Version 2.2.2 47/284547/1 dali_2.2.2
David Steele [Fri, 18 Nov 2022 11:49:48 +0000 (11:49 +0000)]
DALi Version 2.2.2

Change-Id: I1289a8060d160791a018edbc653318d94e844112

17 months agoMerge "Deprecate camera plane distance setter + Allow to setup OrthographicSize....
Eunki Hong [Wed, 16 Nov 2022 08:09:12 +0000 (08:09 +0000)]
Merge "Deprecate camera plane distance setter + Allow to setup OrthographicSize." into devel/master

17 months agoDeprecate camera plane distance setter + Allow to setup OrthographicSize. 41/283941/5
Eunki, Hong [Mon, 7 Nov 2022 11:19:29 +0000 (20:19 +0900)]
Deprecate camera plane distance setter + Allow to setup OrthographicSize.

Set each Left/Right/Top/Bottom plane distance setter is deprecated.
Instead of that API, we make to use OrthographicSize.

Change-Id: I7da73713b112502f08820b78bfdf58cf999462e6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoSync test util 91/278991/3
Heeyong Song [Fri, 29 Jul 2022 02:39:01 +0000 (11:39 +0900)]
Sync test util

Change-Id: I92102ab838a43792fd3022f775ab67fd5fdeb23f

17 months ago(GlView) Add BindTextureResources method 46/278946/6
Heeyong Song [Thu, 28 Jul 2022 10:32:47 +0000 (19:32 +0900)]
(GlView) Add BindTextureResources method

Change-Id: I544e052f1637ad015bf5b046473c3469d7b150af

17 months agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20221116.120926 accepted/tizen/unified/20221116.164440
Wonsik Jung [Tue, 15 Nov 2022 02:40:42 +0000 (11:40 +0900)]
Merge branch 'devel/master' into tizen

17 months agoRevert "[Tizen] Add Asynchronous loading for Model and SceneView"
Wonsik Jung [Tue, 15 Nov 2022 02:40:34 +0000 (11:40 +0900)]
Revert "[Tizen] Add Asynchronous loading for Model and SceneView"

This reverts commit 8397d6d373df874d6d6b2ab296e37a629105655c.

17 months agoRevert "[Tizen] Fix build error"
Wonsik Jung [Tue, 15 Nov 2022 02:40:30 +0000 (11:40 +0900)]
Revert "[Tizen] Fix build error"

This reverts commit 0debee6955b119704ea123737cf98f4c042ce3e3.

17 months agoRevert "[Tizen] Fix Svace issue for 64bit"
Wonsik Jung [Tue, 15 Nov 2022 02:40:28 +0000 (11:40 +0900)]
Revert "[Tizen] Fix Svace issue for 64bit"

This reverts commit f85ae74ac2faca6eebc34a0f3724616ce27b0e50.

17 months agoRevert "[Tizen] Fix NPatch memory leak"
Wonsik Jung [Tue, 15 Nov 2022 02:40:25 +0000 (11:40 +0900)]
Revert "[Tizen] Fix NPatch memory leak"

This reverts commit f565614a120b9f1a428e49fcad16ebad0d86fb63.

17 months agoMerge "Fix SVACE issue" into devel/master
Heeyong Song [Mon, 14 Nov 2022 05:37:36 +0000 (05:37 +0000)]
Merge "Fix SVACE issue" into devel/master

17 months agoMerge "DALi Version 2.2.1" into devel/master
David Steele [Fri, 11 Nov 2022 11:23:39 +0000 (11:23 +0000)]
Merge "DALi Version 2.2.1" into devel/master

17 months agoDALi Version 2.2.1 96/284196/1 dali_2.2.1
Adeel Kazmi [Fri, 11 Nov 2022 10:49:40 +0000 (10:49 +0000)]
DALi Version 2.2.1

Change-Id: I85f384675bdf37d53e99e07a5d39dbafe8419e86

17 months agoFix SVACE issue 85/284185/1
Heeyong Song [Fri, 11 Nov 2022 07:01:42 +0000 (16:01 +0900)]
Fix SVACE issue

SIGN_EXTENSION
INVALID_ASSIGNMENT_WITH_UNSIGNED_VALUES

Change-Id: Ib5af38e07c1e6b08a2c1915c9029376a53ca729c

17 months ago(Scene3D) Change model's default behavior 73/284173/2
Eunki, Hong [Fri, 11 Nov 2022 04:38:51 +0000 (13:38 +0900)]
(Scene3D) Change model's default behavior

1. Make mRootModel's KEYBOARD_FOCUSABLE as false in default.
2. Set ParentOrigin at Intialize timing, not ModelLoad completed

Change-Id: I11ef708f75948584d493f184fa3d929300ef57af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoFix SVACE Issue 29/284129/1
seungho [Thu, 10 Nov 2022 07:14:59 +0000 (16:14 +0900)]
Fix SVACE Issue

Change-Id: If9c627644cc798851f8272deaecffe0542078cc7
Signed-off-by: seungho <sbsh.baek@samsung.com>
17 months agoFix UtcDaliToolkitTextLabelSetSpannedText 93/284093/1
ssabah [Wed, 9 Nov 2022 12:51:47 +0000 (15:51 +0300)]
Fix UtcDaliToolkitTextLabelSetSpannedText

We cannot guarantee the order of adding the attached colors for runs
Fixed TC to check logic of Set Spanned Text only
Used one color instead of two colors

Change-Id: Ie88b778f223be75d15add0db2410161c09d183bd

17 months agoRefactoring of SceneView and Model. 05/283605/11
seungho [Mon, 31 Oct 2022 06:48:39 +0000 (15:48 +0900)]
Refactoring of SceneView and Model.

 - Loosen the coupling between SceneView and Model using observer.
 - Add Priority of IBL. Model IBL has higher priority than SceneView.

Change-Id: I65ebd109911df22704a7106f0e3421a01c342637
Signed-off-by: seungho <sbsh.baek@samsung.com>
17 months agoFix NPatch memory leak 01/284001/3
Eunki, Hong [Tue, 8 Nov 2022 08:41:16 +0000 (17:41 +0900)]
Fix NPatch memory leak

Make NPatchInfo hold unique_ptr of NPatchData.
and delete copy assign operator so we can guard
untracked unique_ptr<NPatchData> memory movement.

Change-Id: I7d003cc08a51b60f91d0d8fdb33ce74b5d5cd562
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months ago[Tizen] Fix NPatch memory leak 03/284003/1 accepted/tizen/unified/20221110.181503
Eunki, Hong [Tue, 8 Nov 2022 08:41:16 +0000 (17:41 +0900)]
[Tizen] Fix NPatch memory leak

Change-Id: I7d003cc08a51b60f91d0d8fdb33ce74b5d5cd562
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoSpannable-Core: Add SetSpannedText API 07/282807/15
ssabah [Tue, 11 Oct 2022 22:30:29 +0000 (01:30 +0300)]
Spannable-Core: Add SetSpannedText API

  Copy text from Spanned-Text into TextController and apply styles on it.

  void SetSpannedText(TextController textController, const Spanned& spannedText);

  TextController: TextLabel, TextEditor or TextField

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

//Example:

    Dali::Toolkit::Text::SpannableString ss = Dali::Toolkit::Text::SpannableString::New("Hello مرحبا");

    auto isAddedBlue = ss.AttachSpan(
      Dali::Toolkit::Text::ForegroundColorSpan::New(Color::BLUE),
      Dali::Toolkit::Text::Range::New(2u, 4u));

    Dali::Toolkit::Text::SetSpannedText(textLabel, ss);

Change-Id: I03202eb27376d78403050a284a1448f01c4ac120

17 months agoMerge "Spannable-Core: Add SpannableString and ForegroundColorSpan" into devel/master
Bowon Ryu [Tue, 8 Nov 2022 02:20:23 +0000 (02:20 +0000)]
Merge "Spannable-Core: Add SpannableString and ForegroundColorSpan" into devel/master

17 months agoAdd GetCharacterBoundingRectangle API. 72/282872/21
sarajammal [Wed, 12 Oct 2022 11:01:34 +0000 (14:01 +0300)]
Add GetCharacterBoundingRectangle API.

Calculate the character size and position:
- X, the left starting point of the character.
- Y, the left top point of the character.
- Width.
- Height.

Function prototype: GetCharacterBoundingRectangle(ModelPtr model, uint32_t charIndex);

Add new API to TextGeometry.

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

Change-Id: Ifcdcca5ae3af52da79af899b26d3a273713e012d

17 months agoSpannable-Core: Add SpannableString and ForegroundColorSpan 06/282806/13
ssabah [Wed, 14 Sep 2022 10:26:48 +0000 (13:26 +0300)]
Spannable-Core: Add SpannableString and ForegroundColorSpan

  Create core module for Spannable
  - Interfaces: CharacterSequence, Spanned, Spannable, BaseSpan
  - Classes: SpannableString, ForegroundColorSpan, Range
  - APIs:
    - Vector<uint32_t> GetCharacters() const;
    - uint32_t GetNumberOfCharacters() const;
    - std::string ToString() const;
    - bool AttachSpan(const Dali::Toolkit::Text::BaseSpan& styleSpan, const Dali::Toolkit::Text::Range& range);
    - bool DetachSpan(const Dali::Toolkit::Text::BaseSpan& styleSpan);
    - std::vector<Dali::Toolkit::Text::BaseSpan> GetAllSpans() const;
    - void RetrieveAllSpansAndRanges(std::vector<Dali::Toolkit::Text::BaseSpan>& spans, std::vector<Dali::Toolkit::Text::Range>& ranges) const;

//Example:

    Dali::Toolkit::Text::SpannableString ss = Dali::Toolkit::Text::SpannableString::New("Hello مرحبا");

    auto chars = ss.GetCharacters();
    auto num   = ss.GetNumberOfCharacters();
    auto str   = ss.ToString();

    auto greenSpan = Dali::Toolkit::Text::ForegroundColorSpan::New(Color::GREEN);

    auto isAddedGreen = ss.AttachSpan(
      greenSpan,
      Dali::Toolkit::Text::Range::New(5u, 7u));

    auto isAddedBlue = ss.AttachSpan(
      Dali::Toolkit::Text::ForegroundColorSpan::New(Color::BLUE),
      Dali::Toolkit::Text::Range::New(4u, 2u));

    auto isAddedRed = ss.AttachSpan(
      Dali::Toolkit::Text::ForegroundColorSpan::New(Color::RED),
      Dali::Toolkit::Text::Range::New(15u, 2u));

    ss.DetachSpan(greenSpan);

    auto spans = ss.GetAllSpans();

    ss.DetachSpan(spans[0]);
    spans = ss.GetAllSpans();

Change-Id: I5e0df43d1a2e2afc8b11aa61d50e28b7e35036a4

17 months ago[Tizen] Fix Svace issue for 64bit 10/283910/1
Eunki, Hong [Fri, 4 Nov 2022 15:05:10 +0000 (00:05 +0900)]
[Tizen] Fix Svace issue for 64bit

Solve some convert from size_t to uint32_t case.

Change-Id: Ic7f013742e9d14d58d1b85fdc9c4a9025f368f50
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoMerge "Add GetLineBoundingRectangle API." into devel/master
Bowon Ryu [Mon, 7 Nov 2022 04:52:52 +0000 (04:52 +0000)]
Merge "Add GetLineBoundingRectangle API." into devel/master

18 months agoFix Svace issue for 64bit 85/283885/1
Eunki, Hong [Fri, 4 Nov 2022 15:05:10 +0000 (00:05 +0900)]
Fix Svace issue for 64bit

Solve some convert from size_t to uint32_t case.

Change-Id: Ic7f013742e9d14d58d1b85fdc9c4a9025f368f50
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoDALi Version 2.2.0 66/283866/1 dali_2.2.0
Adam Bialogonski [Fri, 4 Nov 2022 10:35:45 +0000 (10:35 +0000)]
DALi Version 2.2.0

Change-Id: I8d2651fbe32d483239ebf2a96c67c04d25fa1e43

18 months agoAdd GetLineBoundingRectangle API. 92/282292/25
sarajammal [Sun, 25 Sep 2022 15:26:12 +0000 (18:26 +0300)]
Add GetLineBoundingRectangle API.

Calculate the line size and position:
- X, the left starting point of the line.
- Y, the left top point of the line.
- Width.
- Height.

Function prototype: GetLineBoundingRectangle(ModelPtr model, uint32_t lineIndex);

Add new API to TextGeometry.

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

Change-Id: I742a44bd406bc13d1c3ec35bce3049b467d21962

18 months ago[Tizen] Fix build error 75/283775/1
Eunki, Hong [Wed, 2 Nov 2022 11:30:40 +0000 (20:30 +0900)]
[Tizen] Fix build error

Minor fix

Change-Id: I6b5cfb997ef5ce3112aa52b5524b3e0390d805a8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Add Asynchronous loading for Model and SceneView 61/283761/2
seungho [Wed, 2 Nov 2022 09:56:33 +0000 (18:56 +0900)]
[Tizen] Add Asynchronous loading for Model and SceneView

This reverts commit ee3275dfdf14134cd54631c39484e29d01a2fad7.

Change-Id: I06fa34335760826c1e1e4d2b5331db946d5aaf1c

18 months agoMerge branch 'devel/master' into tizen
tscholb [Wed, 2 Nov 2022 07:52:42 +0000 (16:52 +0900)]
Merge branch 'devel/master' into tizen

18 months agoRevert "[Tizen] Add Asynchronous loading for Model and SceneView"
tscholb [Wed, 2 Nov 2022 07:51:56 +0000 (16:51 +0900)]
Revert "[Tizen] Add Asynchronous loading for Model and SceneView"

This reverts commit 70f10889bc6e8c08b061a3c8e092932504b427c5.

18 months agoRevert "[Tizen] Modify window position data type"
tscholb [Wed, 2 Nov 2022 07:51:50 +0000 (16:51 +0900)]
Revert "[Tizen] Modify window position data type"

This reverts commit e0b23b20adfe7b3d41971a2117e3225c7fa93493.

18 months agoRevert "[Tizen] Rotate camera when screen orientation is changed."
tscholb [Wed, 2 Nov 2022 07:51:42 +0000 (16:51 +0900)]
Revert "[Tizen] Rotate camera when screen orientation is changed."

This reverts commit 2a18c29f97e51139b4509691b321f6aeccacc2ea.

18 months agoRevert "[Tizen] Apply ProjectionDirection property when SceneView size changed"
tscholb [Wed, 2 Nov 2022 07:51:39 +0000 (16:51 +0900)]
Revert "[Tizen] Apply ProjectionDirection property when SceneView size changed"

This reverts commit 3db76e856702eb7153b9cac77d4b4eb04a3374d0.

18 months agoRevert "[Tizen](Vector) Support desired size"
tscholb [Wed, 2 Nov 2022 07:51:36 +0000 (16:51 +0900)]
Revert "[Tizen](Vector) Support desired size"

This reverts commit ccde201431dc3525786ce0220902c5208777e1a5.

18 months agoRevert "[Tizen](SVG) Support desired size"
tscholb [Wed, 2 Nov 2022 07:51:33 +0000 (16:51 +0900)]
Revert "[Tizen](SVG) Support desired size"

This reverts commit af65398903c4746d0075232911444af8f3b695d8.

18 months agoAdd Skybox in SceneView 03/283303/12
seungho [Fri, 21 Oct 2022 16:24:00 +0000 (01:24 +0900)]
Add Skybox in SceneView

Change-Id: I37483af74efe3f0514d00cd1c7bc103066d455ee
Signed-off-by: seungho <sbsh.baek@samsung.com>
18 months agoAdded SINCE_2_2 doxygen tag 98/283598/2
joogab.yun [Mon, 31 Oct 2022 06:01:08 +0000 (15:01 +0900)]
Added SINCE_2_2 doxygen tag

Change-Id: I0523050e20b68d8e0872755e6c5e36497e47d371

18 months agoMerge "DALi Version 2.1.46" into devel/master
David Steele [Fri, 28 Oct 2022 10:27:31 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master

18 months agoDALi Version 2.1.46 49/283549/1 dali_2.1.46
Richard Huang [Fri, 28 Oct 2022 10:25:28 +0000 (11:25 +0100)]
DALi Version 2.1.46

Change-Id: I7cf4eecdd6bc18173a59066ab9494e4f380cfa18

18 months agoMerge "Fix svace issues" into devel/master
Bowon Ryu [Fri, 28 Oct 2022 01:36:29 +0000 (01:36 +0000)]
Merge "Fix svace issues" into devel/master

18 months agoMerge "Fix race-condition when window is resized or rotated." into devel/master
Wonsik Jung [Fri, 28 Oct 2022 01:00:22 +0000 (01:00 +0000)]
Merge "Fix race-condition when window is resized or rotated." into devel/master

18 months agoFix svace issues 67/283467/4
Bowon Ryu [Thu, 27 Oct 2022 09:39:56 +0000 (18:39 +0900)]
Fix svace issues

added some castings.

Change-Id: I3faf830d41c3e25211381a768eec1c30e9f67d07
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months agoChanges required after Window::DownCast addition 88/283388/1
Adeel Kazmi [Tue, 25 Oct 2022 15:09:36 +0000 (16:09 +0100)]
Changes required after Window::DownCast addition

Change-Id: Ibf6e18fa9b05fa226846bbcd25178f9f58454fe4

18 months agoDALi Version 2.1.45 84/283284/1 dali_2.1.45
David Steele [Fri, 21 Oct 2022 10:47:27 +0000 (11:47 +0100)]
DALi Version 2.1.45

Change-Id: I92889409726aae57cab5361fe4d4be7dc3fc62d9

18 months agoFix race-condition when window is resized or rotated. 72/281872/4
Wonsik Jung [Thu, 22 Sep 2022 21:49:52 +0000 (06:49 +0900)]
Fix race-condition when window is resized or rotated.

Internal dali window module has some variables and flags.
They are set by both main thread and render thread.
It has the effect of race condition when window is resized or rotated serval times.
This patch is to fix them.

Change-Id: Iba405199015dc00fec4d7d6f6ff2ecf6f997abcb

18 months agoMerge "DALi Version 2.1.44" into devel/master
David Steele [Fri, 14 Oct 2022 12:03:06 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" into devel/master

18 months agoMerge "Modify window position data type" into devel/master
Eunki Hong [Fri, 14 Oct 2022 10:11:04 +0000 (10:11 +0000)]
Merge "Modify window position data type" into devel/master

18 months agoDALi Version 2.1.44 98/282998/1 dali_2.1.44
Adam Bialogonski [Fri, 14 Oct 2022 09:25:38 +0000 (10:25 +0100)]
DALi Version 2.1.44

Change-Id: I400ea1060fc004fc381f91df64500685822c3b97

18 months agoFix TextUpdateInfo::Clear() issue 67/282967/2
Bowon Ryu [Fri, 14 Oct 2022 02:43:59 +0000 (11:43 +0900)]
Fix TextUpdateInfo::Clear() issue

The Clear method sets (uint)mCharacterIndex to -1,
so it makes a maximum uint value.
This causes many problems, but since it was implemented,
all index logic is related to it, so it is difficult to fix.

This patch avoids this issue by backup/restore of mCharacterIndex like TextEditor.
But we should consider changing mCharacterIndex to an integer.

Change-Id: Ida2c2af83438e71f6f05713a7de927f7b15aa7bd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months agoModify window position data type 51/282051/7
Wonsik Jung [Mon, 26 Sep 2022 10:49:44 +0000 (19:49 +0900)]
Modify window position data type

Current WindowPosition has the unsigned int data type.
It means that current data type can not support the negative coordinate.
This patch is to support it.

Change-Id: I2865ab926bb19853c7ecb4babd82384b5d673623

18 months agoApply ProjectionDirection property when SceneView size changed 95/282395/7
Eunki, Hong [Fri, 30 Sep 2022 12:39:50 +0000 (21:39 +0900)]
Apply ProjectionDirection property when SceneView size changed

SceneView's internal calculation need to be changed
if camera's whether projection direction is VERTICAL or HORIZONTAL.

Change-Id: I270ddaa0ab3e052155bed2871b42ebfdfa1d32ac
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoDALi Version 2.1.43 57/282657/1 dali_2.1.43
Adeel Kazmi [Fri, 7 Oct 2022 11:23:26 +0000 (12:23 +0100)]
DALi Version 2.1.43

Change-Id: I6b34a69fd02b72e9c3e6b4664c30d8e9c27b12c5

19 months agoFix Svace issue 73/282573/1
seungho [Thu, 6 Oct 2022 06:03:27 +0000 (15:03 +0900)]
Fix Svace issue

 - Check null in the dli-loader

Change-Id: Ib6f33aa1e09c05a5ae4a3b9ff900fe4727350c38
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoRotate camera when window orientation is changed. 92/282392/7
seungho [Fri, 30 Sep 2022 11:36:35 +0000 (20:36 +0900)]
Rotate camera when window orientation is changed.

Change-Id: I90d0c99abc83479316f323ae198e62fbb0775dd6
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoMerge "(SVG) Support desired size" into devel/master
Heeyong Song [Wed, 5 Oct 2022 02:56:04 +0000 (02:56 +0000)]
Merge "(SVG) Support desired size" into devel/master

19 months agoMerge "(Vector) Support desired size" into devel/master
Heeyong Song [Wed, 5 Oct 2022 02:55:57 +0000 (02:55 +0000)]
Merge "(Vector) Support desired size" into devel/master

19 months ago[Tizen](SVG) Support desired size accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105956 accepted/tizen/unified/20221005.144446 tizen_7.0_m2_release
Eunki, Hong [Tue, 4 Oct 2022 09:34:48 +0000 (18:34 +0900)]
[Tizen](SVG) Support desired size

This reverts commit d395ce821896f06bee774a90ac2c1a60ddc43935.

Change-Id: I29909a756182adcfb4759bc8e90aa15974363196

19 months ago[Tizen](Vector) Support desired size
Eunki, Hong [Tue, 4 Oct 2022 09:34:32 +0000 (18:34 +0900)]
[Tizen](Vector) Support desired size

This reverts commit 0b487c5080b1f46e00be8af6ec0a419c6dce9d1c.

Change-Id: I5a4ab1fa808a97e0b254c05758180a02269c4cc8

19 months ago[Tizen] Apply ProjectionDirection property when SceneView size changed
Eunki, Hong [Tue, 4 Oct 2022 09:33:27 +0000 (18:33 +0900)]
[Tizen] Apply ProjectionDirection property when SceneView size changed

This reverts commit ede25d85639ad61dfa4a915b9175620bdd20f1cb.

Change-Id: Ife7c5099dd89e1d348063272600bcacf27e7a6b1

19 months ago[Tizen] Rotate camera when screen orientation is changed.
Eunki, Hong [Tue, 4 Oct 2022 09:33:15 +0000 (18:33 +0900)]
[Tizen] Rotate camera when screen orientation is changed.

This reverts commit 4fed653d5f5822476348f0967eacc6fe6dba795d.

Change-Id: Ia6af014aa3fe28b97878c5dbdf25c610a7594e1a

19 months ago[Tizen] Modify window position data type
Eunki, Hong [Tue, 4 Oct 2022 09:32:59 +0000 (18:32 +0900)]
[Tizen] Modify window position data type

This reverts commit 6f9ba55ae931df805b3dee8df991008cd87d1bf1.

Change-Id: Ib1401885629fbc60d6da333d648f037cfb3fe2b2

19 months ago[Tizen] Add Asynchronous loading for Model and SceneView
Eunki, Hong [Tue, 4 Oct 2022 09:32:01 +0000 (18:32 +0900)]
[Tizen] Add Asynchronous loading for Model and SceneView

This reverts commit 570e3ee34bf31053131cbf9d1a3c3125d2ae228a.

Change-Id: I80df8b088232425d403e1ceca6ed2c10cba8fbec

19 months agoMerge branch 'devel/master' into tizen
Eunki, Hong [Tue, 4 Oct 2022 09:28:05 +0000 (18:28 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I67ef8f1159bc77c9d4d62db1a3972308b75967ae

19 months agoRevert "[Tizen] Add Asynchronous loading for Model and SceneView"
Eunki, Hong [Tue, 4 Oct 2022 09:27:44 +0000 (18:27 +0900)]
Revert "[Tizen] Add Asynchronous loading for Model and SceneView"

This reverts commit 7b0b453dd38b28522a390a5e9181a81fb481e486.

19 months agoRevert "[Tizen]Fix maskTextureId remove issue"
Eunki, Hong [Tue, 4 Oct 2022 09:27:41 +0000 (18:27 +0900)]
Revert "[Tizen]Fix maskTextureId remove issue"

This reverts commit a8891f4e674567be9b9ffb8092f882b3a22d601a.

19 months agoRevert "[Tizen] Modify window position data type"
Eunki, Hong [Tue, 4 Oct 2022 09:27:38 +0000 (18:27 +0900)]
Revert "[Tizen] Modify window position data type"

This reverts commit 392f27f24eaf73c6c415ecee3c3116cd41ae99da.

19 months agoRevert "[Tizen] Rotate camera when screen orientation is changed."
Eunki, Hong [Tue, 4 Oct 2022 09:27:36 +0000 (18:27 +0900)]
Revert "[Tizen] Rotate camera when screen orientation is changed."

This reverts commit 39d85d965ba322b9d73fc41ddfaa66ce672bb1cd.

19 months agoRevert "[Tizen] Create ProjectionDirection property at CameraActor"
Eunki, Hong [Tue, 4 Oct 2022 09:27:32 +0000 (18:27 +0900)]
Revert "[Tizen] Create ProjectionDirection property at CameraActor"

This reverts commit 99436ccd6d8a141f27793d6f8dd7eed98a22086d.

19 months agoRevert "[Tizen](Vector) Support desired size"
Eunki, Hong [Tue, 4 Oct 2022 09:27:30 +0000 (18:27 +0900)]
Revert "[Tizen](Vector) Support desired size"

This reverts commit 3181bd1869aad7b649422341b9e267aa2f6595fb.

19 months agoRevert "[Tizen](SVG) Support desired size"
Eunki, Hong [Tue, 4 Oct 2022 09:27:28 +0000 (18:27 +0900)]
Revert "[Tizen](SVG) Support desired size"

This reverts commit 7b808962b9b0eb2b79d5a8fa4fce3dad8bb8992c.

19 months ago[Tizen](SVG) Support desired size 92/282492/1
Heeyong Song [Tue, 4 Oct 2022 02:58:40 +0000 (11:58 +0900)]
[Tizen](SVG) Support desired size

Change-Id: I2b27ac032f6fa322525af76ddb9b38012b24746d

19 months ago[Tizen](Vector) Support desired size 91/282491/1
Heeyong Song [Fri, 30 Sep 2022 03:06:40 +0000 (12:06 +0900)]
[Tizen](Vector) Support desired size

Change-Id: I0cb81a3c273b4cffd51928fca971050d9e2ee3c3

19 months ago[Tizen] Create ProjectionDirection property at CameraActor 73/282473/4
Eunki, Hong [Fri, 30 Sep 2022 12:39:50 +0000 (21:39 +0900)]
[Tizen] Create ProjectionDirection property at CameraActor

SceneView's internal calculation need to be changed

Change-Id: I270ddaa0ab3e052155bed2871b42ebfdfa1d32ac
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoMerge "[Tizen] Rotate camera when screen orientation is changed." into tizen
Seungho BAEK [Tue, 4 Oct 2022 07:00:31 +0000 (07:00 +0000)]
Merge "[Tizen] Rotate camera when screen orientation is changed." into tizen

19 months agoMerge "(Scene3D) Allow/Block model view's children hit-test events" into devel/master
Eunki Hong [Tue, 4 Oct 2022 04:51:27 +0000 (04:51 +0000)]
Merge "(Scene3D) Allow/Block model view's children hit-test events" into devel/master

19 months ago[Tizen] Rotate camera when screen orientation is changed. 41/282441/2
seungho [Fri, 30 Sep 2022 11:36:35 +0000 (20:36 +0900)]
[Tizen] Rotate camera when screen orientation is changed.

Change-Id: I90d0c99abc83479316f323ae198e62fbb0775dd6
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months ago(SVG) Support desired size 51/282451/1
Heeyong Song [Tue, 4 Oct 2022 02:58:40 +0000 (11:58 +0900)]
(SVG) Support desired size

Change-Id: I2b27ac032f6fa322525af76ddb9b38012b24746d

19 months ago(Vector) Support desired size 38/282338/2
Heeyong Song [Fri, 30 Sep 2022 03:06:40 +0000 (12:06 +0900)]
(Vector) Support desired size

Change-Id: I0cb81a3c273b4cffd51928fca971050d9e2ee3c3

19 months ago[Tizen] Modify window position data type 47/282447/1
Wonsik Jung [Tue, 4 Oct 2022 02:30:58 +0000 (11:30 +0900)]
[Tizen] Modify window position data type

Current WindowPosition has the unsigned int data type.
It means that current data type can not support the negative coordinate.
This patch is to support it.

Change-Id: I31d7f1b11c83e1c94b141ac3fd376d17fabd40ac

19 months agoMerge "Fix Svace Issue of dli-loader" into devel/master
Seungho BAEK [Tue, 4 Oct 2022 01:14:10 +0000 (01:14 +0000)]
Merge "Fix Svace Issue of dli-loader" into devel/master

19 months agoMake MASK_CANCELLED loadstate + minor log info 45/282345/2
Eunki, Hong [Fri, 30 Sep 2022 04:41:51 +0000 (13:41 +0900)]
Make MASK_CANCELLED loadstate + minor log info

When we remove the image during ApplyMask job,
the loadstate become "CANCELLED".
And, if we re-load the same image,
the loadstate revived as "LOADING".

Without MASK_CANCELLED state, that image will send
ApplyMask one more times.
That mean, alpha mask applied double times.

This patch seperate the cancelled situation
so we can revive the loadstate well.

+

Add some more informations for log

Change-Id: I055bb9807d2c1afe7192daa29aca08cd47910968
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoFix Svace Issue of dli-loader 97/282397/1
seungho [Fri, 30 Sep 2022 13:17:30 +0000 (22:17 +0900)]
Fix Svace Issue of dli-loader

Change-Id: I58601b0318d32c6a3c7c2b25863c95f39125b445
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoMerge "Guard textureId during CheckForWaitingTexture" into devel/master
David Steele [Fri, 30 Sep 2022 11:59:38 +0000 (11:59 +0000)]
Merge "Guard textureId during CheckForWaitingTexture" into devel/master

19 months agoDALi Version 2.1.42 80/282380/1 dali_2.1.42
Richard Huang [Fri, 30 Sep 2022 10:28:29 +0000 (11:28 +0100)]
DALi Version 2.1.42

Change-Id: Ic4910b0383472f06ce3b51cf94698df8074baa0e

19 months ago(Scene3D) Allow/Block model view's children hit-test events 80/280680/17
Eunki, Hong [Fri, 2 Sep 2022 06:08:48 +0000 (15:08 +0900)]
(Scene3D) Allow/Block model view's children hit-test events

Most of model has a lot of children as Actor format.
If we don't setup something on the model view,
hit-test always try to access this child tree.

For optimization, we need to make some flag to ignore this traversal.

Change-Id: I189dfe9138c883ee43d84804dda6fa1663556dd5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoGuard textureId during CheckForWaitingTexture 07/282307/3
Eunki, Hong [Thu, 29 Sep 2022 12:33:32 +0000 (21:33 +0900)]
Guard textureId during CheckForWaitingTexture

We can remove & assign textures during NotifyObserver.
In this case, we might have some timing issue of
same-texture-id.

This patch increase for each textureId's reference
so we can assume that this textureId is valid during
CheckForWaitingTexture API running.

Change-Id: Ia77ea0d9d49564f7ec179a9ca731fa568a573ed6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoMinor refactor about load/remove queue 22/281922/5
Eunki, Hong [Fri, 23 Sep 2022 07:14:54 +0000 (16:14 +0900)]
Minor refactor about load/remove queue

1. Fix crash issue when we try to load mask image during ResourceReady
2. Remove useless duplicated codes for mRemoveQueue.
3. Make some API works even observer is nullptr (for mask case)
4. Notify observers timing changed when mask image postload

Change-Id: I73f4816c628d3808d7355e17d358226af2985db8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoDo not clear ColorRuns in SetDefaultColor 87/282187/1
Bowon Ryu [Wed, 28 Sep 2022 04:07:47 +0000 (13:07 +0900)]
Do not clear ColorRuns in SetDefaultColor

There is an issue that the markup color is cleared when setting the TextColor property.
This patch guarantees markup color.

Change-Id: Ibec47ca4b956709def4216e203ccbc8a7d829397
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoMerge "Prevent render of outline, shadow when transparent" into devel/master
Bowon Ryu [Wed, 28 Sep 2022 01:17:20 +0000 (01:17 +0000)]
Merge "Prevent render of outline, shadow when transparent" into devel/master

19 months agoPrevent render of outline, shadow when transparent 41/282141/1
Bowon Ryu [Tue, 27 Sep 2022 08:44:58 +0000 (17:44 +0900)]
Prevent render of outline, shadow when transparent

Change-Id: I2b154228fd5338053aefe66606cfe08135c42c44
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoFix maskTextureId remove issue 94/281894/3
Eunki, Hong [Fri, 23 Sep 2022 04:48:41 +0000 (13:48 +0900)]
Fix maskTextureId remove issue

After remove maskTextureInfo at TextureCacheManager,
original textureInfo reference can be broken.

This patch make validate the textureInfo's reference well.

Change-Id: I69e83bff5da237fe0a0ff66ce892de0f5e6ddb58
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>