David Steele [Fri, 18 Nov 2022 11:50:16 +0000 (11:50 +0000)]
[dali_2.2.2] Merge branch 'devel/master'
Change-Id: Ie743879a4c1254d41a5d4896ba6706148e8b9d73
David Steele [Fri, 18 Nov 2022 11:49:48 +0000 (11:49 +0000)]
DALi Version 2.2.2
Change-Id: I1289a8060d160791a018edbc653318d94e844112
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
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>
Heeyong Song [Fri, 29 Jul 2022 02:39:01 +0000 (11:39 +0900)]
Sync test util
Change-Id: I92102ab838a43792fd3022f775ab67fd5fdeb23f
Heeyong Song [Thu, 28 Jul 2022 10:32:47 +0000 (19:32 +0900)]
(GlView) Add BindTextureResources method
Change-Id: I544e052f1637ad015bf5b046473c3469d7b150af
Heeyong Song [Mon, 14 Nov 2022 05:37:36 +0000 (05:37 +0000)]
Merge "Fix SVACE issue" 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
Adeel Kazmi [Fri, 11 Nov 2022 10:50:26 +0000 (10:50 +0000)]
[dali_2.2.1] Merge branch 'devel/master'
Change-Id: I4e77e2f4c094a72d31d08b7f771e2139c3d78e06
Adeel Kazmi [Fri, 11 Nov 2022 10:49:40 +0000 (10:49 +0000)]
DALi Version 2.2.1
Change-Id: I85f384675bdf37d53e99e07a5d39dbafe8419e86
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
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>
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
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>
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>
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
Bowon Ryu [Tue, 8 Nov 2022 02:20:23 +0000 (02:20 +0000)]
Merge "Spannable-Core: Add SpannableString and ForegroundColorSpan" into devel/master
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
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
Bowon Ryu [Mon, 7 Nov 2022 04:52:52 +0000 (04:52 +0000)]
Merge "Add GetLineBoundingRectangle API." into devel/master
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>
Adam Bialogonski [Fri, 4 Nov 2022 10:36:33 +0000 (10:36 +0000)]
[dali_2.2.0] Merge branch 'devel/master'
Change-Id: Iab56250146fdc54c24dc6e4e8991cd13558a2665
Adam Bialogonski [Fri, 4 Nov 2022 10:35:45 +0000 (10:35 +0000)]
DALi Version 2.2.0
Change-Id: I8d2651fbe32d483239ebf2a96c67c04d25fa1e43
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
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>
joogab.yun [Mon, 31 Oct 2022 06:01:08 +0000 (15:01 +0900)]
Added SINCE_2_2 doxygen tag
Change-Id: I0523050e20b68d8e0872755e6c5e36497e47d371
David Steele [Fri, 28 Oct 2022 10:27:31 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master
Richard Huang [Fri, 28 Oct 2022 10:26:16 +0000 (11:26 +0100)]
[dali_2.1.46] Merge branch 'devel/master'
Change-Id: I96fffedbe90a42142d548233f50c62288eb09246
Richard Huang [Fri, 28 Oct 2022 10:25:28 +0000 (11:25 +0100)]
DALi Version 2.1.46
Change-Id: I7cf4eecdd6bc18173a59066ab9494e4f380cfa18
Bowon Ryu [Fri, 28 Oct 2022 01:36:29 +0000 (01:36 +0000)]
Merge "Fix svace issues" 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
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>
Adeel Kazmi [Tue, 25 Oct 2022 15:09:36 +0000 (16:09 +0100)]
Changes required after Window::DownCast addition
Change-Id: Ibf6e18fa9b05fa226846bbcd25178f9f58454fe4
David Steele [Fri, 21 Oct 2022 10:47:55 +0000 (11:47 +0100)]
[dali_2.1.45] Merge branch 'devel/master'
Change-Id: I03f0fb8159acc0615c7676e8dd767f761b3024e8
David Steele [Fri, 21 Oct 2022 10:47:27 +0000 (11:47 +0100)]
DALi Version 2.1.45
Change-Id: I92889409726aae57cab5361fe4d4be7dc3fc62d9
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
David Steele [Fri, 14 Oct 2022 12:03:06 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" 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
Adam Bialogonski [Fri, 14 Oct 2022 09:26:24 +0000 (10:26 +0100)]
[dali_2.1.44] Merge branch 'devel/master'
Change-Id: I1f09ad089a2dfbe27d2ee25c02cfca05759a4938
Adam Bialogonski [Fri, 14 Oct 2022 09:25:38 +0000 (10:25 +0100)]
DALi Version 2.1.44
Change-Id: I400ea1060fc004fc381f91df64500685822c3b97
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>
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
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>
Adeel Kazmi [Fri, 7 Oct 2022 11:24:14 +0000 (12:24 +0100)]
[dali_2.1.43] Merge branch 'devel/master'
Change-Id: I6f7f3f467446be624d32d67360f0d71e63e5678c
Adeel Kazmi [Fri, 7 Oct 2022 11:23:26 +0000 (12:23 +0100)]
DALi Version 2.1.43
Change-Id: I6b34a69fd02b72e9c3e6b4664c30d8e9c27b12c5
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>
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>
Heeyong Song [Wed, 5 Oct 2022 02:56:04 +0000 (02:56 +0000)]
Merge "(SVG) 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
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
Heeyong Song [Tue, 4 Oct 2022 02:58:40 +0000 (11:58 +0900)]
(SVG) Support desired size
Change-Id: I2b27ac032f6fa322525af76ddb9b38012b24746d
Heeyong Song [Fri, 30 Sep 2022 03:06:40 +0000 (12:06 +0900)]
(Vector) Support desired size
Change-Id: I0cb81a3c273b4cffd51928fca971050d9e2ee3c3
Seungho BAEK [Tue, 4 Oct 2022 01:14:10 +0000 (01:14 +0000)]
Merge "Fix Svace Issue of dli-loader" into devel/master
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>
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>
David Steele [Fri, 30 Sep 2022 11:59:38 +0000 (11:59 +0000)]
Merge "Guard textureId during CheckForWaitingTexture" into devel/master
Richard Huang [Fri, 30 Sep 2022 10:29:18 +0000 (11:29 +0100)]
[dali_2.1.42] Merge branch 'devel/master'
Change-Id: I3f0b3575115588e6985702abc30290026792869d
Richard Huang [Fri, 30 Sep 2022 10:28:29 +0000 (11:28 +0100)]
DALi Version 2.1.42
Change-Id: Ic4910b0383472f06ce3b51cf94698df8074baa0e
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>
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>
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>
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>
Bowon Ryu [Wed, 28 Sep 2022 01:17:20 +0000 (01:17 +0000)]
Merge "Prevent render of outline, shadow when transparent" into devel/master
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>
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>
David Steele [Mon, 26 Sep 2022 10:44:50 +0000 (10:44 +0000)]
Merge "Moved world transform/color calc to Core." into devel/master
David Steele [Fri, 23 Sep 2022 10:57:03 +0000 (11:57 +0100)]
[dali_2.1.41] Merge branch 'devel/master'
Change-Id: I939d8d44de1a129cd98114c75cbd8f4bae0196a9
David Steele [Fri, 23 Sep 2022 10:56:35 +0000 (11:56 +0100)]
DALi Version 2.1.41
Change-Id: Ib61e590fef3fd91ce8b669aee6c40f9937bf9f56
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>
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>
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>
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>
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>
Bowon Ryu [Mon, 19 Sep 2022 01:16:45 +0000 (01:16 +0000)]
Merge "Fix GetTextBoundingRectangle size issue" into devel/master
Adeel Kazmi [Fri, 16 Sep 2022 11:24:16 +0000 (11:24 +0000)]
Merge "[dali_2.1.40] Merge branch 'devel/master'"
Adeel Kazmi [Fri, 16 Sep 2022 11:23:30 +0000 (11:23 +0000)]
Merge "DALi Version 2.1.40" into devel/master
Adeel Kazmi [Fri, 16 Sep 2022 11:05:45 +0000 (12:05 +0100)]
[dali_2.1.40] Merge branch 'devel/master'
Change-Id: I4dc55671fa518569a7e9da1ca0d7b63fdd34c137
Adeel Kazmi [Fri, 16 Sep 2022 11:05:00 +0000 (12:05 +0100)]
DALi Version 2.1.40
Change-Id: Ief7808691db6185cc080088c3231852a961d1cfe
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>
Seungho BAEK [Fri, 16 Sep 2022 07:31:27 +0000 (07:31 +0000)]
Merge "Add ResourceReady for Control" 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
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>
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>
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>
Adam Bialogonski [Fri, 9 Sep 2022 09:06:29 +0000 (10:06 +0100)]
[dali_2.1.39] Merge branch 'devel/master'
Change-Id: I6d5048d0466daac227df97e34f20e98d7afc7717
Adam Bialogonski [Fri, 9 Sep 2022 09:05:42 +0000 (10:05 +0100)]
DALi Version 2.1.39
Change-Id: I5779a8fd76d301f5364b50ebc8a543fd070cb1e2
sunghyun kim [Thu, 8 Sep 2022 04:45:58 +0000 (04:45 +0000)]
Merge "Remove mask internally in texture manager" 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
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
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>
Richard Huang [Fri, 2 Sep 2022 12:01:13 +0000 (13:01 +0100)]
[dali_2.1.38] Merge branch 'devel/master'
Change-Id: I4542b47e78135319a0ac1999349eb62cf38943d6
Richard Huang [Fri, 2 Sep 2022 12:00:25 +0000 (13:00 +0100)]
DALi Version 2.1.38
Change-Id: I6c643a012a3b5c56c20d4d66c55b7a2ec52e93c3
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>
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>
David Steele [Fri, 26 Aug 2022 11:15:53 +0000 (12:15 +0100)]
[dali_2.1.37] Merge branch 'devel/master'
Change-Id: I7c368cc667089291edffb6c7b3e513d8790021cd
David Steele [Fri, 26 Aug 2022 11:15:25 +0000 (12:15 +0100)]
DALi Version 2.1.37
Change-Id: Iec0d205f52fc90d150abe280452e9665624840e9
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
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
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
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>