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

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

17 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

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

17 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

17 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

17 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

17 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

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

18 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

18 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

18 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

18 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

18 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

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

18 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

18 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>
18 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>
18 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>
18 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>
18 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>
19 months agoMerge "Moved world transform/color calc to Core." into devel/master
David Steele [Mon, 26 Sep 2022 10:44:50 +0000 (10:44 +0000)]
Merge "Moved world transform/color calc to Core." into devel/master

19 months agoDALi Version 2.1.41 56/281956/1 dali_2.1.41
David Steele [Fri, 23 Sep 2022 10:56:35 +0000 (11:56 +0100)]
DALi Version 2.1.41

Change-Id: Ib61e590fef3fd91ce8b669aee6c40f9937bf9f56

19 months agoMoved world transform/color calc to Core. 67/281867/1
David Steele [Thu, 22 Sep 2022 15:50:35 +0000 (16:50 +0100)]
Moved world transform/color calc to Core.

Moved the actor world transform event side calculation and
the actor world color event side calculation to Devel API in
dali-core.

Change-Id: If3fb5bdb44eea493ce9743c7c20c51eb4c587e89
Signed-off-by: David Steele <david.steele@samsung.com>
19 months ago(Scene3D) Remove SceneView::RENDERING_BUFFER when framebuffer not used. 03/280903/7
Eunki, Hong [Tue, 6 Sep 2022 13:14:34 +0000 (22:14 +0900)]
(Scene3D) Remove SceneView::RENDERING_BUFFER when framebuffer not used.

Change-Id: I15c7c56239b1a3488a5592dd5571f13473e4e25b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoChange ModelView to Model 12/281212/12
seungho [Wed, 14 Sep 2022 07:51:43 +0000 (16:51 +0900)]
Change ModelView to Model

 - with several minor fix

Change-Id: I3e4c99c8a30c3c9bfdc5bb0cb61f00a09720e34f
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoAdjust text fit condition 43/281643/1
Bowon Ryu [Tue, 20 Sep 2022 06:29:01 +0000 (15:29 +0900)]
Adjust text fit condition

If the calculated text size and layout size are the same in the text fit case,
there is an issue of ellisis processing due to the influence of some glyph's advance.
So in most cases the layout needs a bit larger size.
This patch adds a condition to prevent this issue.

Change-Id: I4592c8741d19cce6d33474288d55957a3944149d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoAdd Set/Get ImageBasedLight ScaleFactor 01/281201/8
seungho [Wed, 14 Sep 2022 07:12:58 +0000 (16:12 +0900)]
Add Set/Get ImageBasedLight ScaleFactor

Change-Id: I559cc0684b2c05b4af7639e226e4c4ea0a4dbf9e
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoMerge "Fix GetTextBoundingRectangle size issue" into devel/master
Bowon Ryu [Mon, 19 Sep 2022 01:16:45 +0000 (01:16 +0000)]
Merge "Fix GetTextBoundingRectangle size issue" into devel/master

19 months agoMerge "DALi Version 2.1.40" into devel/master
Adeel Kazmi [Fri, 16 Sep 2022 11:23:30 +0000 (11:23 +0000)]
Merge "DALi Version 2.1.40" into devel/master

19 months agoDALi Version 2.1.40 04/281404/1 dali_2.1.40
Adeel Kazmi [Fri, 16 Sep 2022 11:05:00 +0000 (12:05 +0100)]
DALi Version 2.1.40

Change-Id: Ief7808691db6185cc080088c3231852a961d1cfe

19 months agoFix GetTextBoundingRectangle size issue 70/281370/2
Bowon Ryu [Fri, 16 Sep 2022 05:54:18 +0000 (14:54 +0900)]
Fix GetTextBoundingRectangle size issue

TextGeometry calculates the size and position of the actual text with glyphAdvance.
This means that sometimes the x position will be negative,
or the text's line width may be greater than the control's width.

While this is an accurate value,
it is not suitable for calculating the minimum bounding rect of text.
Because the text appears to be outside the control.

This patch adjusts the return value of GetTextBoundingRectangle()
so that it does not exceed the bounds of the text control.

Change-Id: Ie80ac1a8b5cec5f8c21013744645254381c78fb6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoMerge "Add ResourceReady for Control" into devel/master
Seungho BAEK [Fri, 16 Sep 2022 07:31:27 +0000 (07:31 +0000)]
Merge "Add ResourceReady for Control" into devel/master

19 months agoMerge "Fix cursor position update issue" into devel/master
Bowon Ryu [Fri, 16 Sep 2022 05:50:00 +0000 (05:50 +0000)]
Merge "Fix cursor position update issue" into devel/master

19 months agoAdd ResourceReady for Control 00/280800/14
seungho [Mon, 5 Sep 2022 08:11:52 +0000 (17:11 +0900)]
Add ResourceReady for Control

Change-Id: I3fd129e05d53451383411ec904c09c5d3e41e3be
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoFix cursor position update issue 03/281303/2
Bowon Ryu [Thu, 15 Sep 2022 10:02:37 +0000 (19:02 +0900)]
Fix cursor position update issue

When a text controller has focus and loses keyboard focus,
the controller is in the INACTIVE state.
But in this case, when the cursor position is updated from a key event,
there is an issue that the position is not updated due to the wrong state.

This patch changes the state of controller to EDITING in the issue case.

Change-Id: Idea21a5486a7c076a59ad5dcd74c5b3343c1e2fe
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoFix SceneView about Camera 07/280907/4
seungho [Tue, 6 Sep 2022 13:47:27 +0000 (22:47 +0900)]
Fix SceneView about Camera

 - Compute Orthographic properties according to the topPlane

Change-Id: Ie67238c6703945c6684b2f01efaf78a086a2992a
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoDALi Version 2.1.39 86/281086/1 dali_2.1.39
Adam Bialogonski [Fri, 9 Sep 2022 09:05:42 +0000 (10:05 +0100)]
DALi Version 2.1.39

Change-Id: I5779a8fd76d301f5364b50ebc8a543fd070cb1e2

19 months agoMerge "Remove mask internally in texture manager" into devel/master
sunghyun kim [Thu, 8 Sep 2022 04:45:58 +0000 (04:45 +0000)]
Merge "Remove mask internally in texture manager" into devel/master

19 months agoMerge "Caching texture instead of textureSet in TextureManager" into devel/master
sunghyun kim [Thu, 8 Sep 2022 04:45:47 +0000 (04:45 +0000)]
Merge "Caching texture instead of textureSet in TextureManager" into devel/master

19 months agoRemove mask internally in texture manager 10/276710/11
tscholb [Thu, 23 Jun 2022 07:19:14 +0000 (16:19 +0900)]
Remove mask internally in texture manager

texture manager know the information of mask, so it can remove its mask
internally

Change-Id: Ife69614793c6a8fad7b605af14a41a5290a090ee

19 months agoUse stencil buffer when use SceneView's FrameBuffer 30/280630/2
Eunki, Hong [Thu, 1 Sep 2022 11:07:48 +0000 (20:07 +0900)]
Use stencil buffer when use SceneView's FrameBuffer

There is no reason to block the Stencil buffer for FBO.

Change-Id: I272d4143f47a9ed27e49719fb8294d4c3ee646da
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoDALi Version 2.1.38 31/280731/1 dali_2.1.38
Richard Huang [Fri, 2 Sep 2022 12:00:25 +0000 (13:00 +0100)]
DALi Version 2.1.38

Change-Id: I6c643a012a3b5c56c20d4d66c55b7a2ec52e93c3

19 months agoRemove 3D layer from ModelView 32/279732/13
seungho [Wed, 17 Aug 2022 04:57:05 +0000 (13:57 +0900)]
Remove 3D layer from ModelView

Change-Id: I215018b54d7495753b3c99d98f8d99e5c564e292
Signed-off-by: seungho <sbsh.baek@samsung.com>
19 months agoAdd SceneView 94/278294/52
seungho [Mon, 18 Jul 2022 08:13:31 +0000 (17:13 +0900)]
Add SceneView

Change-Id: I383ae6bca7664c3d7cdb88d4f99fd6b8dc746da9
Signed-off-by: seungho <sbsh.baek@samsung.com>
20 months agoDALi Version 2.1.37 09/280309/1 dali_2.1.37
David Steele [Fri, 26 Aug 2022 11:15:25 +0000 (12:15 +0100)]
DALi Version 2.1.37

Change-Id: Iec0d205f52fc90d150abe280452e9665624840e9

20 months agoMerge "Let CornerRadius / Borderline works on very small visual" into devel/master
Adeel Kazmi [Thu, 25 Aug 2022 15:56:06 +0000 (15:56 +0000)]
Merge "Let CornerRadius / Borderline works on very small visual" into devel/master

20 months agoMerge "Fix texture coordinate error when visualSize < 1.0" into devel/master
Adeel Kazmi [Thu, 25 Aug 2022 15:54:42 +0000 (15:54 +0000)]
Merge "Fix texture coordinate error when visualSize < 1.0" into devel/master

20 months agoCaching texture instead of textureSet in TextureManager 35/276135/18
tscholb [Fri, 10 Jun 2022 04:17:03 +0000 (13:17 +0900)]
Caching texture instead of textureSet in TextureManager

To avoid duplicate loading, Caching texture instead of textureSet in TextureManager.

Change-Id: Icb24284fd66ab1968de352453880b754a5d3c7f5

20 months agocleanup auto scroll in text label 10/280110/4
Bowon Ryu [Tue, 23 Aug 2022 23:15:20 +0000 (08:15 +0900)]
cleanup auto scroll in text label

1. fixed a bug where auto scroll did not work
when the property value changed after the label was disconnected from the scene

2. keep StopScrolling() depending only on TextScroller class properties as is

Change-Id: I6f92ded38f9c671787e72798cbc1602f9709f0df
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
20 months agoMerge "stop text scrolling when label is disconnected from scene" into devel/master
Bowon Ryu [Tue, 23 Aug 2022 05:20:02 +0000 (05:20 +0000)]
Merge "stop text scrolling when label is disconnected from scene" into devel/master

20 months agoMerge "Fix nullptr for the text geometry." into devel/master
Bowon Ryu [Mon, 22 Aug 2022 23:40:11 +0000 (23:40 +0000)]
Merge "Fix nullptr for the text geometry." into devel/master

20 months agoLet CornerRadius / Borderline works on very small visual 01/279801/5
Eunki, Hong [Thu, 18 Aug 2022 05:10:52 +0000 (14:10 +0900)]
Let CornerRadius / Borderline works on very small visual

We setup the range of anti-alias as fixed value; 1.0.
It cause we only assume that user will use this visual at pixel-unit.

But if we try to use ImageView / Control in 3D world,
The size of visual can be smaller than 1.0.
In this case, CornerRadius / Borderline break down.

This patch make the range of anti-alias relative with visual size.
So even if we setup the view size smaller than 1.0,
it will show the result like 50x50 size of visual.

Change-Id: I17614783c2ec8c4a38b51330ba166160d7d4db16
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoFix texture coordinate error when visualSize < 1.0 95/279795/5
Eunki, Hong [Thu, 18 Aug 2022 04:46:02 +0000 (13:46 +0900)]
Fix texture coordinate error when visualSize < 1.0

For 3D case, the size of visual can be smaller than 1.0.

To avoid numeric error, we remove division by visualSize
instead of borderline case.

Change-Id: I8d689140c969d273df8fb21bd416f0a284f6ad9d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agostop text scrolling when label is disconnected from scene 75/279975/5
Bowon Ryu [Sun, 21 Aug 2022 22:59:26 +0000 (07:59 +0900)]
stop text scrolling when label is disconnected from scene

Change-Id: I8909dc858467d85574310ba50c30ffa143b2eb8d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
20 months agoMerge "Multiply scale factor not divide (bvh-loader)" into devel/master
Seungho BAEK [Mon, 22 Aug 2022 01:27:59 +0000 (01:27 +0000)]
Merge "Multiply scale factor not divide (bvh-loader)" into devel/master

20 months agoMerge "(Canvas) Unregister processor properly" into devel/master
Heeyong Song [Mon, 22 Aug 2022 01:02:46 +0000 (01:02 +0000)]
Merge "(Canvas) Unregister processor properly" into devel/master

20 months agoMerge "DALi Version 2.1.36" into devel/master
David Steele [Fri, 19 Aug 2022 12:07:57 +0000 (12:07 +0000)]
Merge "DALi Version 2.1.36" into devel/master

20 months agoDALi Version 2.1.36 52/279952/1 dali_2.1.36
Adam Bialogonski [Fri, 19 Aug 2022 10:07:59 +0000 (11:07 +0100)]
DALi Version 2.1.36

Change-Id: I4d6c19cecd494ca013309a3a916d73694c810f81

20 months agoMerge "[AT-SPI] Do not set Popup's sub-role to "Alert"" into devel/master
Seoyeon Kim [Fri, 19 Aug 2022 09:27:16 +0000 (09:27 +0000)]
Merge "[AT-SPI] Do not set Popup's sub-role to "Alert"" into devel/master

20 months ago(Canvas) Unregister processor properly 42/279942/1
Heeyong Song [Fri, 19 Aug 2022 08:58:16 +0000 (17:58 +0900)]
(Canvas) Unregister processor properly

Change-Id: I45c5667b28913517e87ba1e2a30a19b6e9686e5f

20 months agoFix nullptr for the text geometry. 77/279777/4
sarajammal [Wed, 17 Aug 2022 11:59:06 +0000 (14:59 +0300)]
Fix nullptr for the text geometry.

Added if statement for handling the null values of glyph and characters.
That happens when the function GetTextGeometry is called before lay-outing.

Change-Id: I5faa96349c7da69d261902e1b6c14cfbacdaa159

20 months ago[AT-SPI][Text] Remove libunibreak dependency on accessible 07/279707/3
Eunki, Hong [Tue, 16 Aug 2022 12:06:58 +0000 (21:06 +0900)]
[AT-SPI][Text] Remove libunibreak dependency on accessible

libunibreak in AT-SPI only used some special case.
I think we don't make it as Accessible's own API.

Change-Id: I345453c90e52360c49b77d718c82341172b232db
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoMerge "(Vector) Support SYNCHRONOUS_LOADING" into devel/master
Heeyong Song [Tue, 16 Aug 2022 02:34:15 +0000 (02:34 +0000)]
Merge "(Vector) Support SYNCHRONOUS_LOADING" into devel/master

20 months agoMerge "DALi Version 2.1.35" into devel/master
Adeel Kazmi [Fri, 12 Aug 2022 11:36:22 +0000 (11:36 +0000)]
Merge "DALi Version 2.1.35" into devel/master

20 months agoDALi Version 2.1.35 40/279640/1 dali_2.1.35
Adeel Kazmi [Fri, 12 Aug 2022 11:23:06 +0000 (12:23 +0100)]
DALi Version 2.1.35

Change-Id: I0cdd4f30939b3c2a7c9d2dabcce1d28fd5fd59f3

20 months agoMultiply scale factor not divide (bvh-loader) 30/279630/3
seungho [Fri, 12 Aug 2022 10:17:27 +0000 (19:17 +0900)]
Multiply scale factor not divide (bvh-loader)

Change-Id: I8860931c0121df018d442ae1352785cbd0eef315
Signed-off-by: seungho <sbsh.baek@samsung.com>
20 months ago(Vector) Support SYNCHRONOUS_LOADING 21/279621/1
Heeyong Song [Fri, 12 Aug 2022 09:06:35 +0000 (18:06 +0900)]
(Vector) Support SYNCHRONOUS_LOADING

By deault, SYNCHRONOUS_LOADING is true not to break previous behavior

Change-Id: I1145c89c22dfb10d895c5fb39d0d35a4a071d62d

20 months agoUpdateProperty action set some missed DecoratedVisualRenderer properties 93/279593/2
Eunki, Hong [Fri, 12 Aug 2022 04:45:13 +0000 (13:45 +0900)]
UpdateProperty action set some missed DecoratedVisualRenderer properties

Bug fix when CornerRadius / BorderlinewWidth = 0.0f
so visual didn't regist uniforms.

Change-Id: I48e5a6eea2a9611264ab3f4835e463bda5650b14
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[AT-SPI] Do not set Popup's sub-role to "Alert" 16/279516/2
Artur Świgoń [Wed, 10 Aug 2022 13:46:49 +0000 (15:46 +0200)]
[AT-SPI] Do not set Popup's sub-role to "Alert"

Change-Id: I562dec124b0523bd2b79953c374e4fcab37485b9

20 months agoMerge "Add an API for getting web view when request is intercepted." into devel/master
dongsug song [Thu, 11 Aug 2022 09:08:01 +0000 (09:08 +0000)]
Merge "Add an API for getting web view when request is intercepted." into devel/master

20 months agoMerge "DALi Version 2.1.34" into devel/master
Adeel Kazmi [Fri, 5 Aug 2022 12:52:46 +0000 (12:52 +0000)]
Merge "DALi Version 2.1.34" into devel/master

20 months agoDALi Version 2.1.34 26/279326/1 dali_2.1.34
David Steele [Fri, 5 Aug 2022 11:51:10 +0000 (12:51 +0100)]
DALi Version 2.1.34

Change-Id: Ia790c3af4e96b842a5715df26cc604a443369a39

20 months ago[Shader Generator] Remove empty first line 36/279236/3
Eunki, Hong [Thu, 4 Aug 2022 06:09:01 +0000 (15:09 +0900)]
[Shader Generator] Remove empty first line

Trim the empty first line, so let the shader code start with
"#version ~~~"

Change-Id: I304f8690c66f66c3d90effcbc43b4ae895ba9691
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoAdd an API for getting web view when request is intercepted. 99/278799/12
huayong.xu [Tue, 26 Jul 2022 07:33:32 +0000 (15:33 +0800)]
Add an API for getting web view when request is intercepted.

Change-Id: Id0fef8fc8f2afc606d648728ca54771c46b3692f

20 months agoDALi Version 2.1.33 19/279019/1 dali_2.1.33
Richard Huang [Fri, 29 Jul 2022 11:12:17 +0000 (12:12 +0100)]
DALi Version 2.1.33

Change-Id: I3eccff4e2428e7c39e3c88417e04bb091d783e07

21 months agoMerge "Remove std::vector dependency for dali-signal.h" into devel/master
Eunki Hong [Thu, 28 Jul 2022 03:15:38 +0000 (03:15 +0000)]
Merge "Remove std::vector dependency for dali-signal.h" into devel/master

21 months agoRemove std::vector dependency for dali-signal.h 70/278770/3
Eunki, Hong [Tue, 26 Jul 2022 04:28:43 +0000 (13:28 +0900)]
Remove std::vector dependency for dali-signal.h

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