platform/core/uifw/dali-toolkit.git
3 months ago[Tizen] Add precompiled shader names 41/305741/1
Eunki, Hong [Mon, 5 Feb 2024 08:54:05 +0000 (17:54 +0900)]
[Tizen] Add precompiled shader names

Let we allow to use precompiled shader also use shader name

Change-Id: I701627ffc53b8450e286c31b8ac8e348e2a81cb0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Add name of shader what we generate as default 40/305740/1
Eunki, Hong [Fri, 2 Feb 2024 10:25:18 +0000 (19:25 +0900)]
[Tizen] Add name of shader what we generate as default

Let we use the feature of shader name for our dali side default shaders.

Change-Id: Ic2b33c53192075e78cb68aef0eb1401069b65e13
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Let we make WebView invisible if window is hide 95/305395/3
Eunki, Hong [Thu, 1 Feb 2024 03:44:42 +0000 (12:44 +0900)]
[Tizen] Let we make WebView invisible if window is hide

Since we didn't check window visibility changed during webview is on scene
+
We don't check whether webview is on scene or not,

it could be make WebEngine keep rendering infinitly.

Let we make web engine visible only if we can assume that it is visible now.

TODO : We cannot check parent visibility changed for current system correctly,
without any overhead. Todo in future

Change-Id: I86ca4cf816eb718a45cc0b5146217eb82f373fa0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Add a WebView API for notifying orientation change. 16/305516/1
huayong.xu [Fri, 2 Feb 2024 06:54:15 +0000 (14:54 +0800)]
[Tizen] Add a WebView API for notifying orientation change.

Change-Id: I74d7f99e28b4a681f918a45a109bc25d7a46371b

4 months agoMerge "[Tizen] Fix editable text font size update issue" into tizen_8.0
Eunki Hong [Wed, 31 Jan 2024 09:30:51 +0000 (09:30 +0000)]
Merge "[Tizen] Fix editable text font size update issue" into tizen_8.0

4 months ago[Tizen] Fix decorator cursor size didn't changed issue 18/305318/1
Eunki, Hong [Tue, 30 Jan 2024 12:16:41 +0000 (21:16 +0900)]
[Tizen] Fix decorator cursor size didn't changed issue

Since dali don't change the size during Relayout callback working,
the cursor size was not applied at 'current' relayout result.

So there was some issue that the cursor size applied well after 1 event loop working.

To avoid this issue, let we 'add' some relayout required actor to container.
It will call Relayout internally, at this loop.

TODO : Is there any other actor to be changed during relayout?

Change-Id: I88f48c7b64e76644ea8738abce4245a584c83cc9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix editable text font size update issue 19/305319/1
Bowon Ryu [Wed, 31 Jan 2024 04:44:10 +0000 (13:44 +0900)]
[Tizen] Fix editable text font size update issue

There is an issue that the font runs of the editable text area are separated
when the font size is updated.

If the editable text is an active state and the font size is updated,
the input font size should also be updated.

And due to the feature that changes the selected area's font size when the input font size is updated,
unintended font run separation and font size change occur if there is selected text when updating the font size.

This patch fixed so that the selection-related logic is not executed
when SetInputFontPointSize is called due to an update of the default font size.

Change-Id: I1a5f5190d00a25291a8cafc215f5bf0df2cd71f7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months ago[Tizen] Call idle functions what we might be failed to add 57/305257/1
Eunki, Hong [Tue, 23 Jan 2024 03:44:52 +0000 (12:44 +0900)]
[Tizen] Call idle functions what we might be failed to add

Since AddIdle could be failed at ecore side, we need to call given callback
synchronously, or need to print some error logs for some cases.

Change-Id: Ie0afd1fd7ddb92d43e2fdc03592144c8dae711e2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Make we use valid geometry if broken image was n-patch and reloaded 17/304917/1
Eunki, Hong [Wed, 24 Jan 2024 07:30:56 +0000 (16:30 +0900)]
[Tizen] Make we use valid geometry if broken image was n-patch and reloaded

It is possible that we use broken image not matched with given visual,
and then Reload API call it, and successed.

For this case, we need to change to use valid geometry again.

Change-Id: I2df7fb8b6123361b515b8f9ac9c1fafc77f665b6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoMerge "[Tizen] Make method to get VisualUrl shorter." into tizen_8.0 accepted/tizen/8.0/unified/20240125.160903
Eunki Hong [Wed, 24 Jan 2024 05:13:38 +0000 (05:13 +0000)]
Merge "[Tizen] Make method to get VisualUrl shorter." into tizen_8.0

4 months ago[Tizen] (Scene3D) Guard cache impl will not be re-created at terminate case 74/304674/1
Eunki, Hong [Tue, 23 Jan 2024 04:12:59 +0000 (13:12 +0900)]
[Tizen] (Scene3D) Guard cache impl will not be re-created at terminate case

Since LifecycleController could be called first before Model / ModelCache destroy,
re-create the image resource cache at terminate time was possible.

Since we don't check the validation of this item, it will make crash.

So let we ensure that we call those API under same thread with adaptor.

Change-Id: I995c509f070b56f99214689e5a9f3e66514d5f91
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix decorator color update issue 22/304622/1
Bowon Ryu [Thu, 18 Jan 2024 09:19:17 +0000 (18:19 +0900)]
[Tizen] Fix decorator color update issue

After a text decorator is created,
changing the related color causes only the property to be changed.
This patch fixes an issue where the actual actor's color was not changed.

Change-Id: I4778d9a51fa0cd128e24a4362354cebb81b2b2e9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months ago[Tizen] Make method to get VisualUrl shorter. 14/304614/1
Eunki, Hong [Mon, 22 Jan 2024 08:03:06 +0000 (17:03 +0900)]
[Tizen] Make method to get VisualUrl shorter.

Let we allow to get only the last 20 character of URL name
when we don't need to print full URL.

Change-Id: Id7203bff84fdf61a7950cec1c79ebce48b1a9a43
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Remove cubemap cache temperary + Fix bug when Uploaded PixelData resue after... 64/304264/1 accepted/tizen/8.0/unified/20240122.175520
Eunki Hong [Sat, 13 Jan 2024 00:28:27 +0000 (09:28 +0900)]
[Tizen] Remove cubemap cache temperary + Fix bug when Uploaded PixelData resue after Texture GC

If we create NewPixelDataWithReleaseAfterUpload and Upload to texture,
and if that texture reference count become 1 and GC,
the key of PixelData is not valid anymore.

To avoid this cases, Let we collect all PixelData container if some texture removed.
And also, since PixelData could be key of Texture cache, we should check the
reference count is less than 2.

+

Since current cubemap cache not works well reasonable, just remove it.
We will reopen it after we implement PixelDataList cache system again.

+

Print more log information if we need.

Change-Id: I6693ceab9b03cc20e1c6a42282ef39af38344e27
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] (Vector) Use mutex instead of ConditionalWait for EventhThreadCallback 63/304263/1
Eunki Hong [Fri, 12 Jan 2024 06:25:03 +0000 (15:25 +0900)]
[Tizen] (Vector) Use mutex instead of ConditionalWait for EventhThreadCallback

Since worker thread can call AddEventTriggerCallback freely,

we should make some lock between workerthread and
main thread(RemoveEventTriggerCallbacks, GetNextEventCallback, ~VectorAnimationThread).

ConditionalWait used only for AsyncTask rasterization, and sleep thread.
We'd better seperate those job locker.

Change-Id: I543ba7f0bdf54036a8127d1815dda18cafca54e7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Remove build warning at gcc-13 62/304262/1
Eunki Hong [Tue, 9 Jan 2024 13:13:26 +0000 (22:13 +0900)]
[Tizen] Remove build warning at gcc-13

Remove build warning when we build dali-csharp-binder by gcc-13

Change-Id: Ib331ca7ce62ff54d0db5311bcf9420e1b6e1cd0e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Improve Textfit performance 61/304261/1
ANZ1217 [Fri, 29 Dec 2023 01:01:13 +0000 (10:01 +0900)]
[Tizen] Improve Textfit performance

We can assume point size of text and size of text's layout
are directly proportional.
So the size of the largest text point size
can be calculated by O(1) operations.
Previously, this was O(logn) operations.

Change-Id: Ie5aae28e949738ce0f67e389f3e920663f4e19bc

4 months ago[Tizen] Fix svace issue 60/304260/1
jmm [Wed, 10 Jan 2024 03:44:49 +0000 (12:44 +0900)]
[Tizen] Fix svace issue

Change-Id: I2646aae8db36a5471915e6ee4101beef4a51c9ba

4 months ago[Tizen] Fix the 3D model rendering issue after the KHR_texture_transform etension... 59/304259/1
Eunki, Hong [Mon, 15 Jan 2024 02:25:24 +0000 (11:25 +0900)]
[Tizen] Fix the 3D model rendering issue after the KHR_texture_transform etension support

Revert "[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material"

This reverts commit 519b293f4452ddb4177af714e841c2b68a7335e5.

Fix the 3D model rendering issue after the KHR_texture_transform extension support

Fix bug that IBLFactor / Roughness not works well when we change material

There was some bug when we change Material info, uMaxLOD and uIblIntensity does not applied what primitive has.

This is because Material's SetUniform API overwrite the value of those uniform.

This patch make we ensure the order of uniform register, so let we use correct LOD and IBL intensity.

Change-Id: Id8e11744a9767402aa0e36e112093b79fb9b8f3f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix Text Anchor don't work properly 02/304202/1
ANZ1217 [Thu, 11 Jan 2024 11:36:48 +0000 (20:36 +0900)]
[Tizen] Fix Text Anchor don't work properly

When the text component is vertical aligned as center or bottom,
The y offset was not calculated at anchor event.
Now, it works properly.

Change-Id: I31f2530122d28e07a32c8a75875a77bcc69353ee

4 months ago[Tizen][Scene3D] Let we allow to release PixelData memory after upload for 3D cache 00/304000/1 accepted/tizen/8.0/unified/20240109.155453
Eunki, Hong [Mon, 8 Jan 2024 04:35:28 +0000 (13:35 +0900)]
[Tizen][Scene3D] Let we allow to release PixelData memory after upload for 3D cache

Since we use PixelData as key of cached Texture, it might make some
CPU memory allocated even if we upload finished.

To avoid this behavior, let we make PixelData release memory
after upload to Texture for Scene3D case.

Change-Id: Id43e92d5b4a816fe76890c7ca58f6c43b6dab761
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] To prevent segmentation fault in AnimatedVectorImageVisual 75/303975/2
seungho baek [Mon, 8 Jan 2024 11:41:59 +0000 (20:41 +0900)]
[Tizen] To prevent segmentation fault in AnimatedVectorImageVisual

Change-Id: I4c5c94eb9faeffd4727b5879254527692fe93be2
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
4 months ago[Tizen] Do not access undefineded transform uniform 49/303849/1
Eunki Hong [Sun, 7 Jan 2024 00:55:59 +0000 (09:55 +0900)]
[Tizen] Do not access undefineded transform uniform

Usually, we didn't register texture transform matrix if it is not avaliable.
But even it is not avaliable, we use that value.
If that matrix has some NaN value, the result also could be breakdown.

This patch make some safe guard for that case.

Change-Id: I32ae35d5e632ce72d9784691fd254ad47ff03321
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material 48/303848/1
Eunki Hong [Fri, 5 Jan 2024 16:01:50 +0000 (01:01 +0900)]
[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material

There was some bug when we change Material info, uMaxLOD and uIblIntensity does not applied what primitive has.

This is because Material's SetUniform API overwrite the value of those uniform.

This patch make we ensure the order of uniform register, so let we use correct LOD and IBL intensity.

Change-Id: Ic14b7f9b6c0e443ac17188a8968ac71a7c6328d6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen][Tizen_8.0] Make ModelNode and Light as Control 28/303828/1
Eunki, Hong [Fri, 5 Jan 2024 09:55:29 +0000 (18:55 +0900)]
[Tizen][Tizen_8.0] Make ModelNode and Light as Control

Since we need to use some control features (like KeyboardFocus) let we make
ModelNode and Light as Control, instead of CustomActor.

Change-Id: Iab43b46068c0a676b3cef850bace629142680316
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Make SceneView's SetResolution works well 17/303817/1
Eunki, Hong [Thu, 4 Jan 2024 12:23:07 +0000 (21:23 +0900)]
[Tizen] Make SceneView's SetResolution works well

Let we change codes that might need to check whether the size of render target
is inputed by App side, by the API SetResolution.

We usually use it to reduce memory of SceneView FBO usage. So let we also make
ShadowMap size will relative with resolution.

Change-Id: Ic243dae41da04f5adea95998b5e49d863b92ba86
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix Rasterize not works when SetTransform is first time 16/303816/1
Eunki, Hong [Thu, 4 Jan 2024 11:05:55 +0000 (20:05 +0900)]
[Tizen] Fix Rasterize not works when SetTransform is first time

It is possible that SVG load complete, and after than layout executed.

If then, mDefaultSize of SVG is not zero, and rasterize task not requested.

Unfortunatly, if fitting mode settup into image view, the required size
of resterize might not correct. So, ImageView try to re-layout once again
at it's OnResourceReady signal.

This patch make we send rasterize signal at least one time, So let we ensure
the ImageView resource ready signal comes at least one time.

Change-Id: I3edb6a1a681898b007ef1b70470993da5c68c289
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix reorder warning on text-label 15/303815/1
Eunki Hong [Wed, 3 Jan 2024 16:10:12 +0000 (01:10 +0900)]
[Tizen] Fix reorder warning on text-label

Change-Id: Ic635d991c50e70bac6d2ea5d2547b50f3579367d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix TextFit do not work properly 14/303814/1
ANZ1217 [Wed, 3 Jan 2024 06:51:34 +0000 (15:51 +0900)]
[Tizen] Fix TextFit do not work properly

When check for textfit, it doesn't distinguish between cases
where the layout does not change because text is too large
and the layout does not change because text is too small.

Now CheckForTextFit returns false when text is too large.

Change-Id: I03a414406ee336ec7bf24c8d067fc73379d119f7

4 months ago[Tizen] Fixed Cache for AnimatedVectorImageVisual 22/303622/1
seungho baek [Thu, 26 Oct 2023 09:17:02 +0000 (18:17 +0900)]
[Tizen] Fixed Cache for AnimatedVectorImageVisual

Change-Id: I22bab282652f5377b95ce1d34db4564398be0ae8
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
4 months ago[Tizen] Clear font cache when locale changed 21/303621/1
ANZ1217 [Wed, 20 Dec 2023 06:23:18 +0000 (15:23 +0900)]
[Tizen] Clear font cache when locale changed

Fix the problem that the font does not change because the font cache of the multi-language-support and text-controller does not disappear when the language is changed.

Change-Id: Ib6afee3101d87cd09a1a0c9af5c9f33b16bf84cb

4 months ago[Tizen] Use trace macro with message generator function 20/303620/1
Eunki Hong [Thu, 21 Dec 2023 13:54:32 +0000 (22:54 +0900)]
[Tizen] Use trace macro with message generator function

Change-Id: Iac15dac7e023e150f48ef60c3a256edae08cf016
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Fix cursor position issue 17/303517/1
Bowon Ryu [Fri, 29 Dec 2023 05:49:36 +0000 (14:49 +0900)]
[Tizen] Fix cursor position issue

This patch fixes an issue where the cursor position is incorrectly positioned
when padding is set for the textfield text editor.
It is a problem caused by the wrong location of the cursor layer.

Change-Id: Ifa0e9b752160761dfd6806cfc18dbf98576c71e3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months ago[Tizen] Remove guard codes for memory corruption 65/303465/1
Eunki, Hong [Thu, 28 Dec 2023 05:28:32 +0000 (14:28 +0900)]
[Tizen] Remove guard codes for memory corruption

Change-Id: I3df3dbab64439505bb613495940d68c6e9370258
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Reset EmptyTexture object when application stopped 99/303399/1
Eunki, Hong [Wed, 27 Dec 2023 05:11:43 +0000 (14:11 +0900)]
[Tizen] Reset EmptyTexture object when application stopped

We should not re-use old texture item if application stoped and re-start.

This can be happened when we use offscreen application

Change-Id: I162d380259d7644fe0f817412581658010df0d47
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] If it is a key event that occurred in another window, it skipped 79/303379/1 accepted/tizen/8.0/unified/20240101.154922
joogab.yun [Tue, 19 Dec 2023 10:48:40 +0000 (19:48 +0900)]
[Tizen] If it is a key event that occurred in another window, it skipped

Change-Id: I32973650a1a7974f1ee58ecc2afe2cd5c53e570a

5 months ago[Tizen] Fix svace issue (accessible null check) 72/303372/1
Eunki, Hong [Wed, 20 Dec 2023 04:02:14 +0000 (13:02 +0900)]
[Tizen] Fix svace issue (accessible null check)

Change-Id: I71afc8e98a9e8eef985130757091cd8e5fed4182
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] (A11y) Connect PropertySet signal only if highlighed 71/303371/1
Eunki, Hong [Wed, 8 Nov 2023 13:10:53 +0000 (22:10 +0900)]
[Tizen] (A11y) Connect PropertySet signal only if highlighed

Notify when ACCESSIBILITY_NAME or ACCESSIBILITY_DESCRIPTION changed cases are
only need for highlighted control. So let we ensure to connect property set signal
only if control has ben grabed at least one time.

It will be useful when never be highlighted Actor's Accessible creation / destruct time.

Change-Id: I0c719a4576d02db9914a0e7b53a266ba4845cee2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add more guard code to detect memory corruption 45/303145/1
Eunki, Hong [Wed, 20 Dec 2023 08:22:42 +0000 (17:22 +0900)]
[Tizen] Add more guard code to detect memory corruption

Change-Id: Ia4799ac86c49dbb515ad5c7fc13b3b6192773975
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Print Processor and AsyncTask name 19/303119/1
Eunki, Hong [Tue, 19 Dec 2023 03:20:57 +0000 (12:20 +0900)]
[Tizen] Print Processor and AsyncTask name

Change-Id: Id857319423092faea102b9f8e5acb37a92bec7c6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add AnchorColor Property 61/303061/1
Bowon Ryu [Mon, 18 Dec 2023 09:44:11 +0000 (18:44 +0900)]
[Tizen] Add AnchorColor Property

AnchorColor(or AnchorClickedColor) property is
used as the default color of the markup anchor tag.

If there is a color attribute in the markup anchor tag,
the markup attribute takes precedence.

Change-Id: Idc938495036319f74764b9ddadc2441d46eed159
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months ago[Tizen] Trace log when remove texture caches + VectorAnimationManager accepted/tizen/8.0/unified/20231219.160209
Eunki, Hong [Mon, 18 Dec 2023 04:28:01 +0000 (13:28 +0900)]
[Tizen] Trace log when remove texture caches + VectorAnimationManager

Print some more logs when we has a lots number of events to execute during
post processor.

Change-Id: If2c2d8d62dc6969befb5d71ea84973a47b951af2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Coverity issue fix
Adam Bialogonski [Thu, 14 Dec 2023 09:56:35 +0000 (09:56 +0000)]
[Tizen] Coverity issue fix

- removed unused 'mesh' parameter

Change-Id: I07505bab4da485578882ee63a0211703b2cac4a6
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
5 months ago[Tizen] Use DepthIndex for 3D rendering order
seungho baek [Tue, 5 Dec 2023 08:37:37 +0000 (17:37 +0900)]
[Tizen] Use DepthIndex for 3D rendering order

Change-Id: Id722744a3db4aa1504ae45894b6edcc4039994d7
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
5 months ago[Tizen] Remove gcc-13 build warning [-Wpessimizing-move] 35/302635/1 accepted/tizen/8.0/unified/20231214.075334
Eunki Hong [Thu, 7 Dec 2023 15:12:47 +0000 (00:12 +0900)]
[Tizen] Remove gcc-13 build warning [-Wpessimizing-move]

/home/leaf/work/dali-toolkit/dali-toolkit/internal/visuals/image-visual-shader-debug.cpp: In function â€˜void Dali::Toolkit::Internal::ImageVisualShaderDebug::ApplyImageVisualShaderDebugScriptCode(std::string&)’:
/home/leaf/work/dali-toolkit/dali-toolkit/internal/visuals/image-visual-shader-debug.cpp:289:70: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
  289 |     RedefineMacro(fragmentShader, std::move(key.stringKey), std::move(value.Get<std::string>()));
      |                                                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/leaf/work/dali-toolkit/dali-toolkit/internal/visuals/image-visual-shader-debug.cpp:289:70: note: remove â€˜std::mov’ call

Change-Id: I7327933872cca94879b39ab52f904f0d580d29b0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] (Vector) Erase all EventThreadCallbacks with same pointer 34/302634/1
Eunki, Hong [Wed, 6 Dec 2023 08:00:55 +0000 (17:00 +0900)]
[Tizen] (Vector) Erase all EventThreadCallbacks with same pointer

Due to some logical issue, there might be happend that we apply multiple
EventThread callback into VectorAnimationThread.

And if VectorAnimationTask destructor called, we remove only single callback.

If error case occured, EventThread can execute dead callback.

Change-Id: I9e3895180916a292bbca838997ae3053ee8799b5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add visualization option for check texture and visual size 63/302263/3
Eunki, Hong [Tue, 28 Nov 2023 09:32:00 +0000 (18:32 +0900)]
[Tizen] Add visualization option for check texture and visual size

To support some visualize debugging for app, let we make special
environment value and json script.

By change the json script files by app side, we can debug image visuals freely.

Change-Id: If78d8eb0057ea28ad1b5e0f5f70809c966f2cf3e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add log for FocusLost 33/302633/1
joogab.yun [Tue, 5 Dec 2023 05:34:45 +0000 (14:34 +0900)]
[Tizen] Add log for FocusLost

Change-Id: If73db96299b5a8e280fdece3da1df3ab4071a9bb

5 months ago[Tizen] Fixed SVACE errors 32/302632/1
Adeel Kazmi [Tue, 5 Dec 2023 16:37:55 +0000 (16:37 +0000)]
[Tizen] Fixed SVACE errors

Change-Id: Ie5f9420aee93ffc35136378926328934c9b39045

5 months ago[Tizen] Support RootTranslationOnly option for motion capture data 60/302260/1
seungho baek [Tue, 21 Nov 2023 07:27:44 +0000 (16:27 +0900)]
[Tizen] Support RootTranslationOnly option for motion capture data

Change-Id: I4058c891336a6f802c6e70efe87e06ffdaabb1f5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
5 months ago[Tizen] Add SetResolution method to SceneView 59/302259/1
seungho baek [Tue, 28 Nov 2023 07:13:21 +0000 (16:13 +0900)]
[Tizen] Add SetResolution method to SceneView

Change-Id: Ib3b9ea2352457eb3d8d6085eed2ad58300fb24e5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
5 months ago[Tizen] Enable masking for Scene3D::SceneView 58/302258/1
seungho baek [Wed, 25 Oct 2023 05:45:17 +0000 (14:45 +0900)]
[Tizen] Enable masking for Scene3D::SceneView

Change-Id: Ia725f8a19a96d6020e1247cc49b9568a5f562215
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
5 months ago[Tizen] (Scene3D) Ensure remove image-resource-loader cache when app terminated 57/302257/1
Eunki Hong [Wed, 29 Nov 2023 14:02:08 +0000 (23:02 +0900)]
[Tizen] (Scene3D) Ensure remove image-resource-loader cache when app terminated

Since ImageResourceLoader use static global value internally,
it might have some problem when we use OffscreenApplication multiple time.

Since even Dali::Application destroyed, the static value can be alived.
At this time, If we create new Dali::Application one more time, the cache
system break down.

To ensure we follow up the cache system, let we connect the signal to
LifecycleController, and then delete self.
It will ensure we can re-create this cache after Dali::Application recreated.

Change-Id: I6178a91dfff2a435eb95d11e7ca8ef7479c125ed
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Fixed ColliderMesh issue for NUI 56/302256/1
Adam Bialogonski [Thu, 30 Nov 2023 10:27:06 +0000 (10:27 +0000)]
[Tizen] Fixed ColliderMesh issue for NUI

The collider mesh was not registered correctly upon adding the node to the Model.

Change-Id: Id9ca71070d892017915f610b79c4ab13447b7d51
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
5 months ago[Tizen] To stop animated image visual when it become invisible. 55/302255/1
seungho baek [Tue, 24 Oct 2023 10:09:38 +0000 (19:09 +0900)]
[Tizen] To stop animated image visual when it become invisible.

Change-Id: I48ba87d31ba6db63489879cb4a7940da8714a29f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
5 months ago[Tizen] (bullet3) Remove unused script 54/302254/1
Adeel Kazmi [Wed, 29 Nov 2023 11:29:40 +0000 (11:29 +0000)]
[Tizen] (bullet3) Remove unused script

Change-Id: Iddba229df7962fa4d07818c956f100669c1534c0

5 months ago[Tizen] Fix key event consumption issue in text field 20/302220/1
Bowon Ryu [Mon, 4 Dec 2023 06:10:05 +0000 (15:10 +0900)]
[Tizen] Fix key event consumption issue in text field

The keycode for '$' and `RETURN` are the same on a specific device.
To avoid this problem, check the key name.

Change-Id: I743688b69e10b0bcb83476bbad8616791eebb5ea
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 months ago[Tizen] Fix crash issue when FastTrackUploading load YUV 83/302083/1 accepted/tizen/8.0/unified/20231130.180820
Eunki, Hong [Thu, 30 Nov 2023 02:49:44 +0000 (11:49 +0900)]
[Tizen] Fix crash issue when FastTrackUploading load YUV

This reverts commit 9d65c3e06944bdd0a27146c7673e03dc8a387e34.

Fix crash issue when FastTrackUploading load YUV

pixelBuffer[0] was already invalidated after PixelBuffer::Convert.
So, we should use mPixelData[0] when we want to get the size of image.

Change-Id: I2773f0abc1e8db230b24eae503bd2d80f6908d44
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Apply precompile shader 82/302082/1
sunghyun kim [Thu, 21 Sep 2023 06:01:48 +0000 (15:01 +0900)]
[Tizen] Apply precompile shader

Change-Id: I4e1262f2265799af9ea076bda222c1348873dd21

6 months ago[Tizen] Use unified way to load vector data from gltf binary 81/302081/1
seungho baek [Wed, 17 May 2023 04:11:01 +0000 (13:11 +0900)]
[Tizen] Use unified way to load vector data from gltf binary

 - In the previous code,
 - 1) there were many duplicated codes to read data from file/buffer.
 - 2) some Methods are too long.
 - This patch reduce duplicated code by using Templete and make LoadRaw method shorten.
 - And uses input data struct to use small number of input parameter

Change-Id: I8f93f4a3d9d5e69d9579603cb855c5375508227d
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
6 months ago[Tizen] Fix coverity issue (foreach make copy) 80/302080/1
Eunki, Hong [Fri, 24 Nov 2023 06:59:09 +0000 (15:59 +0900)]
[Tizen] Fix coverity issue (foreach make copy)

Maybe it has less effect, but resolve it anyway.

Change-Id: I4edce37a55e7ff6d5759439282b1ce2649bfd0ca
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Sync AsyncTaskManager code with adaptor 79/302079/1
Eunki, Hong [Tue, 21 Nov 2023 03:20:29 +0000 (12:20 +0900)]
[Tizen] Sync AsyncTaskManager code with adaptor

Change-Id: I23cb97513814cb22b2c4006f0171b11f75c5cc65
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Added NavigationMeshExporter Blender script. 78/302078/1
Adam Bialogonski [Thu, 23 Nov 2023 17:03:04 +0000 (17:03 +0000)]
[Tizen] Added NavigationMeshExporter Blender script.

Change-Id: I939e301e04198abc4ab310cd5b20752b0452b984

6 months ago[Tizen] fixed coverity issue 77/302077/1
Adam Bialogonski [Thu, 23 Nov 2023 14:25:15 +0000 (14:25 +0000)]
[Tizen] fixed coverity issue

Change-Id: I14e7ced7fa0c1581454cafb46c404f191f163bd4

6 months ago[Tizen] Support glTF extention: KHR_texture_transform 76/302076/1
Richard Huang [Tue, 21 Nov 2023 11:43:42 +0000 (11:43 +0000)]
[Tizen] Support glTF extention: KHR_texture_transform

Change-Id: I54048e0c51c1331ca141d5af6486b9e1350e397a

6 months ago[Tizen] Revert "[Tizen] Apply precompile shader" 75/302075/1
Eunki, Hong [Thu, 30 Nov 2023 02:43:45 +0000 (11:43 +0900)]
[Tizen] Revert "[Tizen] Apply  precompile shader"

This reverts commit 82442f05b91524bdc363c0768407b811b9a794fa.

Change-Id: I4f01bf79f2bb24059243c64e01f259fc9b57c1f6

6 months ago[Tizen] Revert "[Tizen] Change precompile shader list for performance" 74/302074/1
Eunki, Hong [Thu, 30 Nov 2023 02:43:32 +0000 (11:43 +0900)]
[Tizen] Revert "[Tizen] Change precompile shader list for performance"

This reverts commit d1ef77038f504e37ffd5d21dd06a867101aea3c3.

Change-Id: I38ea3206a7763a3b6e67453d7def948f0d6015d2

6 months ago[Tizen] Fix broken text rendering issue with emoji 78/301978/1
Bowon Ryu [Tue, 28 Nov 2023 11:15:17 +0000 (20:15 +0900)]
[Tizen] Fix broken text rendering issue with emoji

float casting is important in RegisterUniqueProperty

Change-Id: I2c5265a805aeb4d3a95427e730626d336ac0109e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 months ago[Tizen] Print more logs when SvgVisual distructed 37/301937/3
Eunki, Hong [Tue, 28 Nov 2023 02:50:54 +0000 (11:50 +0900)]
[Tizen] Print more logs when SvgVisual distructed

Change-Id: I060c6d74774f6949a477ccfe4accb50f9d29692a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Removed unused macro invocation from shader 34/301734/1 accepted/tizen/8.0/unified/20231123.173042 accepted/tizen/unified/20231124.164219
David Steele [Mon, 20 Nov 2023 17:25:56 +0000 (17:25 +0000)]
[Tizen] Removed unused macro invocation from shader

Change-Id: I38953dd21347753de90b567f427b60dde0489637

6 months ago[Tizen] Removing spurious ; from shader macro code 33/301733/1
David Steele [Mon, 20 Nov 2023 15:29:06 +0000 (15:29 +0000)]
[Tizen] Removing spurious ; from shader macro code

Change-Id: I0477a2791d4e56b80ebc1a24ef2b047daa4da901

6 months ago[Tizen] Do not print image size for FastTrack image 31/301731/2
Eunki, Hong [Wed, 22 Nov 2023 07:12:58 +0000 (16:12 +0900)]
[Tizen] Do not print image size for FastTrack image

Change-Id: I7a51fa8c555e5dae5bef8bf29575707104733319
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Append 1 pixel if corner radius is big enough 30/301730/2
Eunki, Hong [Wed, 22 Nov 2023 02:22:40 +0000 (11:22 +0900)]
[Tizen] Append 1 pixel if corner radius is big enough

Their was some visual quality issue occured when we render perfect circle.

The reason of issue was, the fragments for soft-anti-alias area was required.

For resolve this issue greedly, let we just append vertex position margin,
and render it applied as that margin value.

TODO : Currently, we only consider fully-circle case. Let we need to calculate
is there any similar defect need to be resolved for normal rect cases.

Change-Id: Ib114c29b08806e21c3830b1dc65a8098b34ef060
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Remove to check member variable value after destructed
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:29:35 +0000 (15:29 +0900)]
[Tizen] Remove to check member variable value after destructed

This reverts commit fbb41f0bcca6dad64414648b77561685023af9e4.

6 months ago[Tizen] Support asan build option
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:29:22 +0000 (15:29 +0900)]
[Tizen] Support asan build option

This reverts commit 4620d8e5edc2619291d8ad41934ddd85efd068bd.

6 months ago[Tizen] Change precompile shader list for performance
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:29:09 +0000 (15:29 +0900)]
[Tizen] Change precompile shader list for performance

This reverts commit 0439cc4208c4f9c96fc19de6f2bca9d1636d3bd7.

6 months ago[Tizen] Apply precompile shader
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:28:53 +0000 (15:28 +0900)]
[Tizen] Apply  precompile shader

This reverts commit c8e1f7fad89a4deb15fa64e46a47b589f13db0db.

6 months ago[Tizen] Add log if destroyed visual get some signal
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:28:39 +0000 (15:28 +0900)]
[Tizen] Add log if destroyed visual get some signal

This reverts commit 302ea188d7ae9af67e82061e6433ef74f739c69d.

6 months agoMerge branch 'devel/master' into tizen
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:28:00 +0000 (15:28 +0900)]
Merge branch 'devel/master' into tizen

6 months agoRevert "[Tizen] Add log if destroyed visual get some signal"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:27:56 +0000 (15:27 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"

This reverts commit 976389fc4f2d945eefcfd1fe189906644a175363.

6 months agoRevert "[Tizen] Apply precompile shader"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:27:48 +0000 (15:27 +0900)]
Revert "[Tizen] Apply  precompile shader"

This reverts commit 5ec75be26931b38295decf0bd9acd38a8a16d124.

6 months agoRevert "[Tizen] Change precompile shader list for performance"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:27:03 +0000 (15:27 +0900)]
Revert "[Tizen] Change precompile shader list for performance"

This reverts commit 15ad27fc8ca6e3724166426dffb0cfe05785f8ce.

6 months agoRevert "[Tizen] Support asan build option"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:26:55 +0000 (15:26 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit 2ed42ba70284c42c753bb4bd093d65a6227c406b.

6 months agoRevert "[Tizen] Remove to check member variable value after destructed"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 06:26:46 +0000 (15:26 +0900)]
Revert "[Tizen] Remove to check member variable value after destructed"

This reverts commit 26fef772ceeba4ddc768b9377e9f03a3bf9a47c9.

6 months agoMerge "Let Anti-Alias consider scale factor" into devel/master
Eunki Hong [Wed, 22 Nov 2023 02:09:37 +0000 (02:09 +0000)]
Merge "Let Anti-Alias consider scale factor" into devel/master

6 months agoMerge "Make reference count as signed integer" into devel/master
Eunki Hong [Wed, 22 Nov 2023 01:58:58 +0000 (01:58 +0000)]
Merge "Make reference count as signed integer" into devel/master

6 months agoMerge "Remove build waring [-Wpessimizing-move] (don't need to std::move at return...
Eunki Hong [Tue, 21 Nov 2023 23:46:20 +0000 (23:46 +0000)]
Merge "Remove build waring [-Wpessimizing-move] (don't need to std::move at return value)" into devel/master

6 months agoLet Anti-Alias consider scale factor 63/301563/6
Eunki, Hong [Mon, 20 Nov 2023 04:41:03 +0000 (13:41 +0900)]
Let Anti-Alias consider scale factor

Some days ago, we assume that the view which is smaller than 100x100 doesn't use
the range of anti-alias as 1.0.

(See https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/279801)

But it make some visual defect when we use 56x56 size of view and scale it up.

Basically, the problem of these issues comes due to visuald don't know the
scale value.
So let we get actor's scale value as default shader property,
and then use it as anti-alias calculation parameter.

Change-Id: I64b32049919cd79c9dda7fcf7c9c256e5b5a6078
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMake reference count as signed integer 89/301689/1
Eunki, Hong [Tue, 21 Nov 2023 23:15:19 +0000 (08:15 +0900)]
Make reference count as signed integer

Since the reference count can be negative if CANCEL cases, we should keep it
as signed integer value

(The patch https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/300487 change as wrong integer type)

Change-Id: I297b587bea7afb3b7bf2a83d4a0de8ab9b373713
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoSpecify operator as deleted as the implementation does not exist 86/301686/1
Adeel Kazmi [Tue, 21 Nov 2023 15:19:50 +0000 (15:19 +0000)]
Specify operator as deleted as the implementation does not exist

Change-Id: Iee57165de6ee8c683b78459719035c4328d2afd6

6 months ago(Scene3D) Cleaned up Doxygen tags in loader files 12/301612/3
Adeel Kazmi [Mon, 20 Nov 2023 17:12:18 +0000 (17:12 +0000)]
(Scene3D) Cleaned up Doxygen tags in loader files

Change-Id: Ic59dced14afde154a8c8fa389ae26df063c00f23

6 months agoRemove build waring [-Wpessimizing-move] (don't need to std::move at return value) 42/301542/1
Eunki Hong [Sun, 19 Nov 2023 15:38:58 +0000 (00:38 +0900)]
Remove build waring [-Wpessimizing-move] (don't need to std::move at return value)

We don't need to use std::move for return value.

Change-Id: Ia2c1d156af039b38f5f6882f2f69537031eddb6b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 months ago(Scene3D) Fix all Public API release versions 38/301538/1
Adeel Kazmi [Fri, 17 Nov 2023 23:27:26 +0000 (23:27 +0000)]
(Scene3D) Fix all Public API release versions

Change-Id: Ia47c4a603341400777ccdd37be788eb04a91a93c

6 months agoMerge "Test harness sync" into devel/master
Adeel Kazmi [Fri, 17 Nov 2023 23:03:15 +0000 (23:03 +0000)]
Merge "Test harness sync" into devel/master

6 months agoDALi Version 2.2.53 26/301526/1 dali_2.2.53
Adeel Kazmi [Fri, 17 Nov 2023 14:56:47 +0000 (14:56 +0000)]
DALi Version 2.2.53

Change-Id: I0f978817151cd9e2e739c7c36a21b3021c47b63d

6 months agoMerge "3D Scene Hit Testing" into devel/master
Adeel Kazmi [Thu, 16 Nov 2023 14:55:27 +0000 (14:55 +0000)]
Merge "3D Scene Hit Testing" into devel/master

6 months ago3D Scene Hit Testing 13/299713/18
Adam Bialogonski [Mon, 13 Nov 2023 07:34:01 +0000 (07:34 +0000)]
3D Scene Hit Testing

- New functions creates mesh using list of vertices and face indices to work with NUI.
- Added the functionality to detect which mesh is hit & emit signal

Requires C# binding and NUI Model.cs update

Change-Id: Ib5bfd8ad6e7c35017db2c1173805f5c863156530
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
6 months agoMerge "Added 2.3.0 support in the doxy file" into devel/master
Adeel Kazmi [Thu, 16 Nov 2023 08:58:53 +0000 (08:58 +0000)]
Merge "Added 2.3.0 support in the doxy file" into devel/master

6 months agoCheck missing accessible checker code 49/301449/1
Eunki, Hong [Thu, 16 Nov 2023 04:52:31 +0000 (13:52 +0900)]
Check missing accessible checker code

Fix svace issue

Change-Id: I8e60b163fb39ff6481aa85ef4dc1f0ce9cfeef71
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoAllow bitmap 6byte utf8 glyph + Ignore build warning 28/301428/2
Eunki Hong [Wed, 15 Nov 2023 17:08:37 +0000 (02:08 +0900)]
Allow bitmap 6byte utf8 glyph + Ignore build warning

The new warning option -Wstringop-overflow occured when we convert
from std::string to utf8 buffer.

Also, current dali support maximum 6 bytes utf8 glyph.
Let we also support them for BitmapFont case.

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