platform/core/uifw/dali-toolkit.git
3 months agoFix issue where vertical alignment "CENTER" does not align based on line height. 07/321007/11
ANZ1217 [Thu, 13 Mar 2025 04:14:39 +0000 (13:14 +0900)]
Fix issue where vertical alignment "CENTER" does not align based on line height.

Change-Id: I7b68c67246b58f40306e4c6170245a5f50e35919

3 months agoKeep NativeTexture and use it whenever we call UpdateShader() 40/320940/1
Eunki, Hong [Tue, 11 Mar 2025 11:07:50 +0000 (20:07 +0900)]
Keep NativeTexture and use it whenever we call UpdateShader()

Until now, we use mTextures informations.
Since that handle be removed after InitializeRenderer() done,
it might make some unmatched shader if we call UpdateShader()
after InitializeRenderer() finished.

To avoid that case, let we keep native texture handle, and use it.

Change-Id: I133b2f0d9659f18f24b3f594f173f5fa109d9be9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoCorrect uniform color handling for USD mesh 96/320896/2
Richard Huang [Mon, 10 Mar 2025 12:33:38 +0000 (12:33 +0000)]
Correct uniform color handling for USD mesh

Change-Id: I19d3d2853b3c63d1681e7999df82416020e6792e

3 months agoDALi Version 2.4.9 08/320808/1 dali_2.4.9
Adeel Kazmi [Fri, 7 Mar 2025 10:29:38 +0000 (10:29 +0000)]
DALi Version 2.4.9

Change-Id: I53729c60ba622e166507be57c0acdd9f39aae7f7

3 months agoAdd Dali ICU to Multilanguage support 32/318332/8
Bowon Ryu [Wed, 15 Jan 2025 11:43:45 +0000 (20:43 +0900)]
Add Dali ICU to Multilanguage support

Supports Thai word line breaks using ICU dictionary.

Environment variables have been added. The default is 0.
export DALI_TEXT_ENABLE_ICU=1

It is currently only used for Thai language, but will be used in many cases in the future.

Change-Id: I93ced35d8d8e9c3f69a076920165dd4670c3e3db
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoMerge "Remove gcc-14 false-positive build warning -Wdangling-reference" into devel...
Eunki Hong [Mon, 3 Mar 2025 01:04:29 +0000 (01:04 +0000)]
Merge "Remove gcc-14 false-positive build warning -Wdangling-reference" into devel/master

3 months agoDALi Version 2.4.8 32/320432/1 dali_2.4.8
Richard Huang [Fri, 28 Feb 2025 12:44:34 +0000 (12:44 +0000)]
DALi Version 2.4.8

Change-Id: I6793f50975c7c590df5d0d0bff771a814e65facc

3 months agoMerge "Use PixelData::GetStrideBytes() instead PixelData::GetStride()" into devel...
Eunki Hong [Wed, 26 Feb 2025 22:59:11 +0000 (22:59 +0000)]
Merge "Use PixelData::GetStrideBytes() instead PixelData::GetStride()" into devel/master

3 months agoRemove gcc-14 false-positive build warning -Wdangling-reference 29/320329/1
Eunki Hong [Wed, 26 Feb 2025 15:50:25 +0000 (00:50 +0900)]
Remove gcc-14 false-positive build warning -Wdangling-reference

Follow by below stack overflow
https://stackoverflow.com/questions/78759847/gcc-14-possibly-dangling-reference-to-a-temporary-warning-or-not-depending-on
and gcc bug report
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532

-Wdangling-reference warning might be false-positive.

To avoid this warning, let we ignore this warning at compile time.

And also, FontClinet::Get() might return empty handle if adaptor invalid case.
Let we also avoid this error too.

Change-Id: Iceffaa1e393ab1297476f56a34806d141c1ea1a2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months agoMerge "Fix to initialize control's corner radius policy" into devel/master
Eunki Hong [Wed, 26 Feb 2025 13:22:30 +0000 (13:22 +0000)]
Merge "Fix to initialize control's corner radius policy" into devel/master

3 months agoReduce Visual::Base handle creation time + Implement SetTransformSize with empty... 91/320291/1
Eunki, Hong [Wed, 26 Feb 2025 06:38:08 +0000 (15:38 +0900)]
Reduce Visual::Base handle creation time + Implement SetTransformSize with empty transform map

If we are try to use internal side visual operation required,
we can use BaseObjectPtr directly, instead of wrapping the handle.

Since atomic reference count spend time if we call it frequencly,
let we use some codes use Internal::Visual::Base directly.

+

Most of case, if fitting mode not applied, we only need the size of control
and don't care the transform map.

But the transform map is mendentary input. So their are several
process works to create empty map and destroy it again.

To avoid this logic, let we make Visual::Base::SetControlSize()
and make we re-use the empty property map here.

Change-Id: I379cc226cdf2af9fea12bc0e2c9ea17d62a696c5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoFix to initialize control's corner radius policy 69/320269/1
jmm [Wed, 26 Feb 2025 05:20:52 +0000 (14:20 +0900)]
Fix to initialize control's corner radius policy

Change-Id: Ic2ed8567cca42b288668b3bf3dad4681a8d51955

3 months agoApply Control::OnRelayout only if Padding and Margin exist 65/320265/2
Eunki, Hong [Wed, 26 Feb 2025 03:23:08 +0000 (12:23 +0900)]
Apply Control::OnRelayout only if Padding and Margin exist

Until now, we try to add child's size to container.
But it doesn't have any meaning if child don't have relayout policy flags.

Since it has no effects and gave some overhead, let we just remove
these operations and iterate children only if
padding, margin exists.

Change-Id: I17e6122a2d0db6993c1316252ea07d2fa5f89ae5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago(Automated Tests) Fixed Tizen Logo URL used for remote image testing 17/320217/1
Adeel Kazmi [Tue, 25 Feb 2025 09:06:31 +0000 (09:06 +0000)]
(Automated Tests) Fixed Tizen Logo URL used for remote image testing

Change-Id: I86f3a26f620c86ee3e95abcec53a351072a215ae

3 months agoMerge "Add RenderEffect.OnRefresh()" into devel/master
Jeongmin Lee [Tue, 25 Feb 2025 01:59:53 +0000 (01:59 +0000)]
Merge "Add RenderEffect.OnRefresh()" into devel/master

3 months agoUse PixelData::GetStrideBytes() instead PixelData::GetStride() 30/318830/7
Eunki Hong [Fri, 24 Jan 2025 13:12:41 +0000 (22:12 +0900)]
Use PixelData::GetStrideBytes() instead PixelData::GetStride()

Change-Id: I1f948d243725235622d79ac6afa45d83dc088367
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months agoMerge "Optimize for AsyncTextManager" into devel/master
Bowon Ryu [Mon, 24 Feb 2025 04:18:37 +0000 (04:18 +0000)]
Merge "Optimize for AsyncTextManager" into devel/master

3 months agoOptimize for AsyncTextManager 47/319947/3
Bowon Ryu [Thu, 20 Feb 2025 06:15:13 +0000 (15:15 +0900)]
Optimize for AsyncTextManager

Slow operations such as InitDefaultFontDescription are performed in worker threads.
This is performed once on the first task of each AsyncTextLoader.
The calculation time for the first task increases slightly compared to before,
but the delay in the UI thread is minimal.

Change-Id: I864686519da43040d45860ccbe43924430f5e7d5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoAdd RenderEffect.OnRefresh() 79/317879/13
jmm [Thu, 9 Jan 2025 08:11:44 +0000 (17:11 +0900)]
Add RenderEffect.OnRefresh()

Redraw effect without recreating duplicated resources

Change-Id: Ie3c7d88e9a661b5bd35a41f90e8b93ab014d5649

3 months agoDALi Version 2.4.7 68/320068/1 dali_2.4.7
David Steele [Fri, 21 Feb 2025 11:25:06 +0000 (11:25 +0000)]
DALi Version 2.4.7

Change-Id: I722886fa955b4b79e269d27ff34e2dcd674d48b8

3 months agoMerge "Apply custom font directories to async text loader" into devel/master
Bowon Ryu [Thu, 20 Feb 2025 05:35:33 +0000 (05:35 +0000)]
Merge "Apply custom font directories to async text loader" into devel/master

3 months agoApply custom font directories to async text loader 31/319931/2
Bowon Ryu [Thu, 20 Feb 2025 01:36:30 +0000 (10:36 +0900)]
Apply custom font directories to async text loader

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/319912

Change-Id: I5b82be4ec53a9ad4b08b371e518e76ee8670382c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoMerge "Fix the callback functions are NULL for GLViewRender thread." into devel/master
Wonsik Jung [Thu, 20 Feb 2025 00:41:25 +0000 (00:41 +0000)]
Merge "Fix the callback functions are NULL for GLViewRender thread." into devel/master

3 months agoInitializes the locale of text modules with locale api 71/319871/1
Bowon Ryu [Wed, 19 Feb 2025 04:50:13 +0000 (13:50 +0900)]
Initializes the locale of text modules with locale api

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/319856

Change-Id: I550ff42f354423c2ab86fee3994fe2234725a22e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoFix the callback functions are NULL for GLViewRender thread. 23/319823/1
Wonsik Jung [Tue, 18 Feb 2025 11:16:16 +0000 (20:16 +0900)]
Fix the callback functions are NULL for GLViewRender thread.

To fix the crash issue when the callback functions are null.

Change-Id: I1afab897b316cf4f4dbe18e05de67c42a0919f8c

3 months agoMerge "Add DestroyInfo to ClearCharacterModelData" into devel/master
Bowon Ryu [Tue, 18 Feb 2025 01:42:14 +0000 (01:42 +0000)]
Merge "Add DestroyInfo to ClearCharacterModelData" into devel/master

3 months agoMerge "Add Control's corner radius property" into devel/master
Jeongmin Lee [Tue, 18 Feb 2025 01:38:22 +0000 (01:38 +0000)]
Merge "Add Control's corner radius property" into devel/master

3 months agoAdd DestroyInfo to ClearCharacterModelData 46/319746/1
Bowon Ryu [Mon, 17 Feb 2025 07:57:48 +0000 (16:57 +0900)]
Add DestroyInfo to ClearCharacterModelData

When the text model is partially cleared through ClearCharacterModelData,
BidirectionalInfo should also be destroyed.

Change-Id: I6557add9ab63c11d6f5ad4e671d3ab88ef2a0ca3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoMerge "Fix bidirectional info clear issue" into devel/master
Bowon Ryu [Mon, 17 Feb 2025 07:19:00 +0000 (07:19 +0000)]
Merge "Fix bidirectional info clear issue" into devel/master

3 months agoMerge "Make vertex coordinate relative values use highp + Make UniformBlock for Visua...
Eunki Hong [Mon, 17 Feb 2025 04:41:23 +0000 (04:41 +0000)]
Merge "Make vertex coordinate relative values use highp + Make UniformBlock for VisualRenderer" into devel/master

3 months agoMerge "Do not set VisualRenderer properties if we don't change it" into devel/master
Eunki Hong [Mon, 17 Feb 2025 04:41:07 +0000 (04:41 +0000)]
Merge "Do not set VisualRenderer properties if we don't change it" into devel/master

3 months agoFix bidirectional info clear issue 08/319708/2
Bowon Ryu [Mon, 17 Feb 2025 01:11:47 +0000 (10:11 +0900)]
Fix bidirectional info clear issue

ClearBidirectionalParagraphInfo is called before mBidirectionalParagraphInfo is cleared to maintain sync so that the vector scope is valid.

Change-Id: Ib3cba9b13e28e873b0a0cd157c5cea19947652f0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoMerge "DALi Version 2.4.6" into devel/master
Adeel Kazmi [Fri, 14 Feb 2025 12:43:16 +0000 (12:43 +0000)]
Merge "DALi Version 2.4.6" into devel/master

3 months agoDALi Version 2.4.6 73/319673/1 dali_2.4.6
Adeel Kazmi [Fri, 14 Feb 2025 12:34:24 +0000 (12:34 +0000)]
DALi Version 2.4.6

Change-Id: Ia65db1891969483cea4bff1fad163521e7c06c5a

3 months agoMake vertex coordinate relative values use highp + Make UniformBlock for VisualRenderer 85/319285/6
Eunki, Hong [Fri, 7 Feb 2025 05:59:12 +0000 (14:59 +0900)]
Make vertex coordinate relative values use highp + Make UniformBlock for VisualRenderer

- Make texture coordinate relative codes use highp instead of mediump
- Seperate VertexShader's uniform blocks for VisualRenderer, so we can
  easly control them by SharedUniform in future.

Change-Id: Ibade464899d9ef0909bf78a87813fadbde50541b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoDo not set VisualRenderer properties if we don't change it 78/319578/3
Eunki, Hong [Thu, 13 Feb 2025 05:46:47 +0000 (14:46 +0900)]
Do not set VisualRenderer properties if we don't change it

Until now, we always set uniforms even if nothing changed.
To avoid this thing, let we check whether it is really changed,
and set transform uniforms only required.

Change-Id: I66def37b8635e3a8afca0d2f55ec9bff8cb525af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoAdd Control's corner radius property 63/318363/16
jmm [Thu, 16 Jan 2025 05:16:38 +0000 (14:16 +0900)]
Add Control's corner radius property

Change-Id: Ib1c13d25a908b0f88abcbd1eef3d369541841abb
Signed-off-by: jmm <j0064423.lee@samsung.com>
3 months agoFix text clustering issue 12/319612/4
Bowon Ryu [Thu, 13 Feb 2025 11:48:08 +0000 (20:48 +0900)]
Fix text clustering issue

Prevent ligature breaks in unicode combinations containing combining diacritical marks.

Change-Id: I26618ba35b955b4434f87dff5c8b3b28e7a4ee1e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months agoMerge "Fix ascii digits sequence issue" into devel/master
Bowon Ryu [Thu, 13 Feb 2025 01:06:15 +0000 (01:06 +0000)]
Merge "Fix ascii digits sequence issue" into devel/master

4 months agoMerge "Fix bidirectional line info index issue" into devel/master
Bowon Ryu [Thu, 13 Feb 2025 00:54:30 +0000 (00:54 +0000)]
Merge "Fix bidirectional line info index issue" into devel/master

4 months agoFix ascii digits sequence issue 27/319527/1
Bowon Ryu [Wed, 12 Feb 2025 10:06:44 +0000 (19:06 +0900)]
Fix ascii digits sequence issue

If it is not a variation sequence, digits do not create a new sequence.

TODO:
Conditional statements for supporting various emojis are
becoming increasingly complex and difficult to maintain.
We need to refactor and implement the emoji standard table.

Change-Id: I17edef73bbc6e47a60cc4ba4e4e9f6a2c2932d94
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months agoMerge "(Chipmunk2D) Remove build warnings" into devel/master
David Steele [Wed, 12 Feb 2025 10:06:27 +0000 (10:06 +0000)]
Merge "(Chipmunk2D) Remove build warnings" into devel/master

4 months agoFix bidirectional line info index issue 09/319509/3
Bowon Ryu [Wed, 12 Feb 2025 05:33:16 +0000 (14:33 +0900)]
Fix bidirectional line info index issue

In the RTL case, when text is inserted or removed in the middle of a bidi paragraph,
the character index of line info is not updated,
so there is a problem that the line info is damaged in reorders.

This patch updates the index of line info based on the bidi paragraph info updated in SetBidirectionalInfo.

Change-Id: Ifc1ddfa5f15ce89be967ce57241a093030be323d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months ago(TextAtlas) Let Text relative geometry use uint32_t indices 04/319504/1
Eunki, Hong [Wed, 12 Feb 2025 04:15:12 +0000 (13:15 +0900)]
(TextAtlas) Let Text relative geometry use uint32_t indices

Due to the data format is uint16_t type, we cannot render well
if the length of text is bigger than 16384.
If we add underline or strokethrough, the number of text limitation
also be reduced.

To fix this issue, let we make indices what TextAtlas geometry use
uint32_t type, instead uint16_t type.

Since we support uint32_t* indices now a day, it will be okay.

Change-Id: I887d78bb5f7123580fc7d6d5b68e35a7d2fdd954
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago(TextEditor) Fix partial update issue for HighlightView 73/319473/2
Eunki, Hong [Tue, 11 Feb 2025 11:02:54 +0000 (20:02 +0900)]
(TextEditor) Fix partial update issue for HighlightView

Change-Id: I57015dc86e80dd215acb6f215894ddea3e362691
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago(Chipmunk2D) Remove build warnings 82/319482/2
Eunki Hong [Tue, 11 Feb 2025 15:21:20 +0000 (00:21 +0900)]
(Chipmunk2D) Remove build warnings

Change-Id: I348d48c5c95f684bb1c187b6ff252611e8a79716
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoMerge "(Scene3D) Add ControlFlags::DISABLE_VISUALS + Scene3D controls use this flag...
Eunki Hong [Tue, 11 Feb 2025 10:46:41 +0000 (10:46 +0000)]
Merge "(Scene3D) Add ControlFlags::DISABLE_VISUALS + Scene3D controls use this flag" into devel/master

4 months agoRemove unused task id container at AsyncImageLoader 38/319438/1
Eunki, Hong [Tue, 11 Feb 2025 05:13:55 +0000 (14:13 +0900)]
Remove unused task id container at AsyncImageLoader

Change-Id: I5dbfc1ada410b5812a407d08be9363b430a727ad
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago(Scene3D) Add ControlFlags::DISABLE_VISUALS + Scene3D controls use this flag 89/319389/2
Eunki, Hong [Mon, 10 Feb 2025 09:12:50 +0000 (18:12 +0900)]
(Scene3D) Add ControlFlags::DISABLE_VISUALS + Scene3D controls use this flag

Scince Visual shaders are not consider in 3D world's behavior, we'd better
remove those features in Scene3D case which application might mis-using

TODO : Model use BackgroundColor when they check bounding box.
We'll  make it to disbale visuals someday.

Change-Id: Id90ab967af461efb005a8be46ea250ba065fd015
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMerge "When a window loses focus, the actor that was focused also loses focus. When...
joogab yun [Mon, 10 Feb 2025 07:14:28 +0000 (07:14 +0000)]
Merge "When a window loses focus, the actor that was focused also loses focus. When the window gains focus again, the actor also gains focus again." into devel/master

4 months agoWhen a window loses focus, the actor that was focused also loses focus. When the... 46/319246/2
joogab.yun [Thu, 6 Feb 2025 07:39:26 +0000 (16:39 +0900)]
When a window loses focus, the actor that was focused also loses focus. When the window gains focus again, the actor also gains focus again.

Change-Id: Ie2a61e3db65e421313e40e841a791edef5e95827

4 months agoMerge "DALi Version 2.4.5" into devel/master
David Steele [Fri, 7 Feb 2025 10:43:38 +0000 (10:43 +0000)]
Merge "DALi Version 2.4.5" into devel/master

4 months agoDALi Version 2.4.5 17/319317/1 dali_2.4.5
Richard Huang [Fri, 7 Feb 2025 10:39:37 +0000 (10:39 +0000)]
DALi Version 2.4.5

Change-Id: If077c7dcc50c4aea7751e70c109a03d60020fafc

4 months agoFix AnimatedImageVisual not rendering well if ReleasePolicy is not DETACHED 15/319215/7
Eunki Hong [Wed, 5 Feb 2025 13:12:08 +0000 (22:12 +0900)]
Fix AnimatedImageVisual not rendering well if ReleasePolicy is not DETACHED

Their are some logical issue if we use ReleasePolicy as DESTROYED or NEVER
and SceneOff+SceneOn again cases.

Current ImageCache system not consider non-empty queue case when we call
FirstFrame();

Rather to fix the logic, let we simply clear the cache before re-call
FirstFrame();

Since we remove texture cache at processor time, Clear cache immediately
will not make any side effects.

Change-Id: Idbc1a2cc62724ff67b84554cc94dc7168fa7f942
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoPrevent atlas block corruption issue when renderer is reset 11/319211/1
Bowon Ryu [Wed, 5 Feb 2025 11:20:15 +0000 (20:20 +0900)]
Prevent atlas block corruption issue when renderer is reset

If UpdateTextType is NONE_UPDATED when Renderer is reset, RenderText does not perform rendering.
This causes several problems with atlas operation.

When the renderer is reset, all caches used by the text field are removed from AtlasManager.
At this time, if a cache of an ID that was previously used (now removed) by another editable text is created and used,
the atlas block of the existing text field will be damaged.

At least until the cache structure is improved, render must be performed when the renderer is reset.

Change-Id: Ic5f939e81920ab59e676ee50f450c6ffbb1259e3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months agoMerge "Fix some decorative line style issues in text" into devel/master
Bowon Ryu [Wed, 5 Feb 2025 06:30:15 +0000 (06:30 +0000)]
Merge "Fix some decorative line style issues in text" into devel/master

4 months agoFix some decorative line style issues in text 54/319054/6
Bowon Ryu [Tue, 4 Feb 2025 01:16:12 +0000 (10:16 +0900)]
Fix some decorative line style issues in text

- fixed strikethrough rendering issue for editable text
- fixed an issue where the decorative line style of editable text was not rendered again when updated.
- clean up the decorative line related code of the atlas renderer
- fixed double underline issue in text label

Change-Id: I667155525c526dc36297b316b356028d61d24e76
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months agoChange VectorAnimationThread's thread name as VectorManagerThread 61/319061/1
Eunki Hong [Tue, 4 Feb 2025 01:46:55 +0000 (10:46 +0900)]
Change VectorAnimationThread's thread name as VectorManagerThread

Since kernel log only print prefix of thread name only 15 characters,
We cannot check whether the problem comes from "VectorAnimationTask" or "VectorAnimationThread".
(The 15 prefix characters are both "VectorAnimation")

To avoid this case, let we change the name of VectorAnimationThread's thread name as
VectorManagerThread.

Change-Id: Ia09e1c974ad2645f7f7f16b3f62d0bcac7bcde35
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoDALi Version 2.4.4 21/318921/1 dali_2.4.4
David Steele [Fri, 31 Jan 2025 12:31:41 +0000 (12:31 +0000)]
DALi Version 2.4.4

Change-Id: I07dd23b3a40d8cde68a084f33a9c0b65adf389f1

4 months agoChanges required for dynamic graphics backend 36/318836/1
Adeel Kazmi [Sat, 25 Jan 2025 00:45:43 +0000 (00:45 +0000)]
Changes required for dynamic graphics backend

Change-Id: I86b6bc05b0103485cc576f543169edc9da3db370

4 months agoMerge "Test harness sync" into devel/master
David Steele [Fri, 24 Jan 2025 14:21:26 +0000 (14:21 +0000)]
Merge "Test harness sync" into devel/master

4 months agoMerge "DALi Version 2.4.3" into devel/master
David Steele [Fri, 24 Jan 2025 10:51:27 +0000 (10:51 +0000)]
Merge "DALi Version 2.4.3" into devel/master

4 months agoDALi Version 2.4.3 15/318815/1 dali_2.4.3
Richard Huang [Fri, 24 Jan 2025 10:47:36 +0000 (10:47 +0000)]
DALi Version 2.4.3

Change-Id: I87298d81d17f54faf2788a8ff70b7ec53a77bd0a

4 months agoFix compile error for some shader driver 40/318740/3
Eunki Hong [Thu, 23 Jan 2025 05:03:36 +0000 (14:03 +0900)]
Fix compile error for some shader driver

(float)x looks not be works for some driver. Let we don't use it.
and use float(x) instead

Change-Id: I3f74c6c91cbe142aadf6cb4039e2fe257dbc3d48
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Fix bidirectionalinfo infinitely cached." into devel/master
Chihun Jeong [Wed, 22 Jan 2025 06:55:47 +0000 (06:55 +0000)]
Merge "Fix bidirectionalinfo infinitely cached." into devel/master

4 months agoMerge "[AT-SPI] Set keyboard focus to webview when a11y is enabled" into devel/master
Seoyeon Kim [Wed, 22 Jan 2025 05:35:45 +0000 (05:35 +0000)]
Merge "[AT-SPI] Set keyboard focus to webview when a11y is enabled" into devel/master

4 months agoMerge "Update the size of accessibility highlight on Relayout" into devel/master
Seoyeon Kim [Wed, 22 Jan 2025 05:35:37 +0000 (05:35 +0000)]
Merge "Update the size of accessibility highlight on Relayout" into devel/master

4 months agoTest harness sync 50/318650/1
David Steele [Tue, 21 Jan 2025 14:52:04 +0000 (14:52 +0000)]
Test harness sync

Change-Id: I0490f5a98815ce64cad293941c9df4376bcace40

4 months agoMerge "AddOn functor loaded check" into devel/master
Eunki Hong [Tue, 21 Jan 2025 11:30:51 +0000 (11:30 +0000)]
Merge "AddOn functor loaded check" into devel/master

4 months agoFix bidirectionalinfo infinitely cached. 00/318500/8
ANZ1217 [Fri, 17 Jan 2025 10:22:57 +0000 (19:22 +0900)]
Fix bidirectionalinfo infinitely cached.

Change-Id: If6c0c448b1a8c821a0126d61ffdc0a60090ca17c

4 months agoFix cutout outside don't add inner-margin 11/318611/2
Eunki, Hong [Tue, 21 Jan 2025 06:07:57 +0000 (15:07 +0900)]
Fix cutout outside don't add inner-margin

Change-Id: I0665971a7748253735ff9c00ae3204b00629fde1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoAddOn functor loaded check 02/318602/2
Eunki, Hong [Tue, 21 Jan 2025 04:32:49 +0000 (13:32 +0900)]
AddOn functor loaded check

Even if we success to load AddOn, it might be failed to load function.
Let we check also that API exist and assert if bind failed.

Change-Id: I78b18b2f8c4a28f61295976743332ed13e087dbf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Support CutoutPolicy::CUTOUT_OUTSIDE" into devel/master
Eunki Hong [Tue, 21 Jan 2025 03:38:03 +0000 (03:38 +0000)]
Merge "Support CutoutPolicy::CUTOUT_OUTSIDE" into devel/master

4 months agoFix mis-implementation - hash collision case for TextureManager 84/318584/1
Eunki, Hong [Tue, 21 Jan 2025 02:09:59 +0000 (11:09 +0900)]
Fix mis-implementation - hash collision case for TextureManager

Change-Id: Ie14c0740e1e4c0bca83fb62f28a39970fb5f39ec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoFix background blur double downscaling 65/318565/3
jmm [Mon, 20 Jan 2025 13:09:21 +0000 (22:09 +0900)]
Fix background blur double downscaling

Change-Id: Ib58d31033282b2d062be3a017040d81ce7b0a224

4 months agoSupport CutoutPolicy::CUTOUT_OUTSIDE 33/318133/6
Eunki, Hong [Mon, 13 Jan 2025 08:51:09 +0000 (17:51 +0900)]
Support CutoutPolicy::CUTOUT_OUTSIDE

Let we support cutout policy to ignore outside of view, for color visual.
It will be useful if user want to impelemnt InnerShadow effect as visual level

Change-Id: I57b83e3acfd9318a6a2b46fbff4434f6196a8156
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[AT-SPI] Set keyboard focus to webview when a11y is enabled 04/318404/2
Seoyeon Kim [Thu, 16 Jan 2025 09:42:16 +0000 (18:42 +0900)]
[AT-SPI] Set keyboard focus to webview when a11y is enabled

- This commit is cherry-picked from tizen_7.0 branch
 5fc015cc177a0a877d8ea5ba614bb8ca4b25ef2a
- Review was got from archive tizen page :
 https://archive.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/319915/

Change-Id: Ic5acbe64fa7b44553b285ab4b1850f8e3c3cfc60
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 months agoMerge "DALi Version 2.4.2" into devel/master
Adeel Kazmi [Fri, 17 Jan 2025 10:45:31 +0000 (10:45 +0000)]
Merge "DALi Version 2.4.2" into devel/master

4 months agoDALi Version 2.4.2 60/318460/1 dali_2.4.2
Adeel Kazmi [Fri, 17 Jan 2025 06:42:38 +0000 (06:42 +0000)]
DALi Version 2.4.2

Change-Id: I57407bd4cc257bdb6e29ec1b277acc9836cf3a80

4 months agoSupport borderline blur edge for color visual 70/318070/9
Eunki, Hong [Mon, 13 Jan 2025 03:04:17 +0000 (12:04 +0900)]
Support borderline blur edge for color visual

Let we allow to blur radius applied to borderline cases.

For now, let we implement it as simple smoothstep.
But final version should resolve "Optical Illusion Effect"

Change-Id: I97c105c7c12ff89830842ba9bc51e71e8e2d7fbd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Add AutoRotation, LetterBox" into devel/master
joogab yun [Wed, 15 Jan 2025 00:34:10 +0000 (00:34 +0000)]
Merge "Add AutoRotation, LetterBox" into devel/master

4 months agoMerge "Fix coverity: Division by zero" into devel/master
Eunki Hong [Tue, 14 Jan 2025 07:38:38 +0000 (07:38 +0000)]
Merge "Fix coverity: Division by zero" into devel/master

4 months agoMerge "Do not use bitfield for thread sensitive values" into devel/master
Eunki Hong [Tue, 14 Jan 2025 07:38:13 +0000 (07:38 +0000)]
Merge "Do not use bitfield for thread sensitive values" into devel/master

4 months agoMerge "(Scene3D) Fix coverity : Do not call std::move for l-value" into devel/master
Eunki Hong [Tue, 14 Jan 2025 07:38:07 +0000 (07:38 +0000)]
Merge "(Scene3D) Fix coverity : Do not call std::move for l-value" into devel/master

5 months agoFix coverity: Division by zero 83/318183/3
jmm [Tue, 14 Jan 2025 04:47:16 +0000 (13:47 +0900)]
Fix coverity: Division by zero

Change-Id: Ib4f3b8a1b783ef354aed1fd7d9ff25572309180d

5 months ago(Scene3D) Fix coverity : Do not call std::move for l-value 82/318182/2
Eunki, Hong [Tue, 14 Jan 2025 04:44:51 +0000 (13:44 +0900)]
(Scene3D) Fix coverity : Do not call std::move for l-value

Change-Id: I935b6fc13556567d02aa5e9d4d626b8604f8a6c4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoDo not use bitfield for thread sensitive values 37/317937/2
Eunki, Hong [Fri, 10 Jan 2025 04:20:37 +0000 (13:20 +0900)]
Do not use bitfield for thread sensitive values

Their was some mysterious bugs occured on real world application.

  if(needRasterize)
  {
    mNeedToSleep = false;
  }

  DALI_TRACE_END_WITH_MESSAGE_GENERATOR(gTraceFilter, "VECTOR_ANIMATION_THREAD_COMPLETED_TASK", [&](std::ostringstream& oss) {
    oss << "[w:" << mWorkingTasks.size() << ",c:" << mCompletedTasks.size() << ",r?" << needRasterize << ",s?" << mNeedToSleep << "]";
  });

For like this code, we got r?1,s?1 logs.
mean, mNeedToSleep become true even if needRasterize is true.

    mForceRenderOnce = true;

    DALI_LOG_DEBUG_INFO("VectorAnimationThread::mEventTrigger Triggered!\n");

The mForceRenderOnce value didn't depend on mConditionalWait, the race condition
might occured.

To avoid this kind of issue, let we seperate memory area for each values
if they are thread sensitive.

Change-Id: Ie45d0c273ad318c46baf72a1c8462792a35460ad
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoFix coverity : Do not call move to const & type 77/318177/1
Eunki, Hong [Tue, 14 Jan 2025 03:17:20 +0000 (12:17 +0900)]
Fix coverity : Do not call move to const & type

Change-Id: I1dd3aa7fa372ac474503c3c09e21b77645d500b2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoMerge "Generalize RenderEffectImpl to OffScreenRendering" into devel/master
Jeongmin Lee [Tue, 14 Jan 2025 02:56:40 +0000 (02:56 +0000)]
Merge "Generalize RenderEffectImpl to OffScreenRendering" into devel/master

5 months agoAdd AutoRotation, LetterBox 01/317901/11
joogab.yun [Thu, 9 Jan 2025 07:42:43 +0000 (16:42 +0900)]
Add AutoRotation, LetterBox

Change-Id: I6972611ce1b22e2544c56813a3ab8857ba0eeafd

5 months agoUpdate the size of accessibility highlight on Relayout 97/318097/1
Seoyeon Kim [Wed, 21 Feb 2024 10:57:47 +0000 (19:57 +0900)]
Update the size of accessibility highlight on Relayout

- Accessibility highlight frame should be updated together
 when the componet size changes.
- Currently, if the component size changes while the component is still
 highlighted, then the frame will remain in its original size.

Change-Id: I995e0ec5907dd23282010e0186a7881335dc48ea
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 months agoMerge "DALi Version 2.4.1" into devel/master
David Steele [Fri, 10 Jan 2025 15:19:53 +0000 (15:19 +0000)]
Merge "DALi Version 2.4.1" into devel/master

5 months agoDALi Version 2.4.1 38/318038/1 dali_2.4.1
David Steele [Fri, 10 Jan 2025 15:09:04 +0000 (15:09 +0000)]
DALi Version 2.4.1

Change-Id: I9df0194d907021bf77273d512a237154bb9461b9

5 months agoFix potential out-of-bounds access during glyph-character calculations. 82/317882/9
ANZ1217 [Thu, 9 Jan 2025 08:22:34 +0000 (17:22 +0900)]
Fix potential out-of-bounds access during glyph-character calculations.

Change-Id: Ic3b859a491056188693ef64edab8a74d094b720d

5 months agoAdd fallback font find condition. 28/317928/3
Bowon Ryu [Fri, 10 Jan 2025 03:23:46 +0000 (12:23 +0900)]
Add fallback font find condition.

Add condition for variation cases that do not follow some fallback priorities.

TODO:
We need to import full emoji table to dali for full emoji support.

Change-Id: I9d0da6c079b7df9bdd177a980be610f9e911bd83
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months agoAdded new variation sequence generation rule 73/317873/4
Bowon Ryu [Thu, 9 Jan 2025 06:52:43 +0000 (15:52 +0900)]
Added new variation sequence generation rule

Splits the sequence of variation emojis more clearly.

Change-Id: I18f84ce365294158a16d9e37ed3df17a9c1e73d7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months agoFix variation selector 15 issue 12/317812/7
Bowon Ryu [Wed, 8 Jan 2025 08:10:09 +0000 (17:10 +0900)]
Fix variation selector 15 issue

The behavior of variation selector 15 is not guaranteed
because the current script run is forced to change in IsScriptChangedToFollowSequence.

TODO:
There is an issue with ignoring font fallback priorities
because most emoji cases follow a sequence.

Change-Id: I24308f530c70923b8aef48dbad701e05a042ebd7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months agoGeneralize RenderEffectImpl to OffScreenRendering 33/317633/8
jmm [Mon, 6 Jan 2025 06:50:43 +0000 (15:50 +0900)]
Generalize RenderEffectImpl to OffScreenRendering

Change-Id: I3e4213b825edd9382d91e45293974f8def980385
Signed-off-by: jmm <j0064423.lee@samsung.com>
5 months agoFix coverity issue : Dali::Vector<>.Size could be zero 99/317699/2
Eunki, Hong [Tue, 7 Jan 2025 01:19:32 +0000 (10:19 +0900)]
Fix coverity issue : Dali::Vector<>.Size could be zero

Let's avoid size_t type overflow issue during binary search.

It could be broken if mMarks.Size() was 0u.
Also, if marks property value was not a float, also could be break (unlimited loop)

To avoid these kind of issue, let we change the logic of binary search
that is safe enough for overflow case.

Change-Id: I5b27daf0915c64e9192d4821b7d11e7e5a45f356
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoMerge "Fix Text::GetCursorPosition crash issue" into devel/master
Bowon Ryu [Tue, 7 Jan 2025 01:47:06 +0000 (01:47 +0000)]
Merge "Fix Text::GetCursorPosition crash issue" into devel/master