platform/core/uifw/dali-toolkit.git
10 months agoMerge "[Tizen] Coverity issue fix" into tizen_7.0 accepted/tizen/7.0/unified/20231226.011004
Seungho BAEK [Wed, 20 Dec 2023 07:58:34 +0000 (07:58 +0000)]
Merge "[Tizen] Coverity issue fix" into tizen_7.0

10 months ago[Tizen] Add AnchorColor Property 51/303051/1 accepted/tizen/7.0/unified/20231220.074700 accepted/tizen/7.0/unified/20231220.124905 accepted/tizen/7.0/unified/20231220.134949 accepted/tizen/7.0/unified/20231220.170056
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>
10 months ago[Tizen] Coverity issue fix 47/302847/2
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>
10 months ago[Tizen] fixed coverity issue 47/302747/1 accepted/tizen/7.0/unified/20231218.071021 accepted/tizen/7.0/unified/20231219.155813
Adam Bialogonski [Thu, 23 Nov 2023 14:25:15 +0000 (14:25 +0000)]
[Tizen] fixed coverity issue

Change-Id: I14e7ced7fa0c1581454cafb46c404f191f163bd4

10 months ago[Tizen] Use DepthIndex for 3D rendering order 40/302540/4
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>
11 months ago[Tizen] Remove unused path-finder header 69/302369/1 accepted/tizen/7.0/unified/20231207.071832
huiyu.eun [Wed, 6 Dec 2023 02:25:08 +0000 (11:25 +0900)]
[Tizen] Remove unused path-finder header

Change-Id: Id25a16c9deebc1ab4fd0dbc5939838f57386e40b
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
11 months ago[Tizen] Fixed ColliderMesh issue for NUI 09/302309/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>
11 months ago[Tizen] Add navigation-mesh-header for hit-test 08/302308/1
huiyu.eun [Tue, 5 Dec 2023 07:07:39 +0000 (16:07 +0900)]
[Tizen] Add navigation-mesh-header for hit-test

Change-Id: Ibc229c382d38cb418cacbaa72899baee66d474e9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
11 months ago[Tizen] 3D Scene Hit Testing 07/302307/2
Adam Bialogonski [Mon, 13 Nov 2023 07:34:01 +0000 (07:34 +0000)]
[Tizen] 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>
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
11 months ago[Tizen] Fix key event consumption issue in text field 19/302219/1 accepted/tizen/7.0/unified/20231205.172626
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>
11 months ago[Tizen] Add SetResolution method to SceneView 08/302208/2
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>
11 months ago[Tizen] Fixed Cache for AnimatedVectorImageVisual 45/302145/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>
11 months ago[Tizen] Fix gpu masking error 77/301777/3 accepted/tizen/7.0/unified/20231123.100225 accepted/tizen/7.0/unified/20231130.102002
seungho baek [Wed, 22 Nov 2023 11:42:49 +0000 (20:42 +0900)]
[Tizen] Fix gpu masking error

Change-Id: Icd6c3a14df573ddec2f7b92a05649fe5eb39ea76
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
11 months ago[Tizen] Support RootTranslationOnly option for motion capture data 52/301652/2 accepted/tizen/7.0/unified/20231122.100645
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>
11 months ago[Tizen] Fix Making Issue of SceneView 93/301593/1 accepted/tizen/7.0/unified/20231121.121559
seungho baek [Mon, 20 Nov 2023 09:32:44 +0000 (18:32 +0900)]
[Tizen] Fix Making Issue of SceneView

Change-Id: I1079d0be81697015bbcdc43fe1732252547a4c1e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months ago[Tizen] Remove observer from mLoadQueue when we request to remove observer 65/300765/1 accepted/tizen/7.0/unified/20231103.165436 accepted/tizen/7.0/unified/20231116.025850
Eunki, Hong [Wed, 1 Nov 2023 04:18:13 +0000 (13:18 +0900)]
[Tizen] Remove observer from mLoadQueue when we request to remove observer

That might be happen during ResourceReady signal observing

- Add
- Remove

If than, the added request added in mLoadQueue 2 times.
and Remove request try to remove observe there (but will be failed actually.)

So, the visual get LoadCompleted signal twice.

It might have some logical problem in AnimatedImageVisual.
So let we keep ensure that 1-observer can only emit only 1-time.

TODO : Make UTC

Change-Id: I3eee087118cf62761709b8416fe09cf52094d156
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[Tizen] Apply premultiply when external texture use mask 60/300760/1
sunghyun kim [Wed, 1 Nov 2023 03:53:31 +0000 (12:53 +0900)]
[Tizen] Apply premultiply when external texture use mask

when external texture has alpha value and use mask, premultiply is not
applied.
add that patch to fix this issue

Change-Id: I9103c7a6185ea8c044a3fdfa00a5fc5a5376fe87

12 months ago[Tizen] Remove the duplicated call with Focused call 53/300553/1 accepted/tizen/7.0/unified/20231030.164720
Seoyeon Kim [Fri, 27 Oct 2023 05:35:03 +0000 (14:35 +0900)]
[Tizen] Remove the duplicated call with Focused call

- To call `Activate()` of IME is already called in `OnKeyInputFocusGained()`
 and `OnKeyInputFocusGained()` is called by `OnTap()`.
- So, IME activate call is called twice unnecessarily.

- Also, IME properties did not be set in `OnTap`,
  so the normal layout of input panel shows first,
 and then another type of input panel shows again. (Issue)
- Fix this issue to erase to call `Activate` in `OnTap()`.

Change-Id: Ie18b35042b0b7878efd0a8fe3fbbd5da1d3e6def
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
12 months agoMerge "[Tizen] To stop animated image visual when it become invisible." into tizen_7.0 accepted/tizen/7.0/unified/20231026.165727
Seungho BAEK [Thu, 26 Oct 2023 05:17:04 +0000 (05:17 +0000)]
Merge "[Tizen] To stop animated image visual when it become invisible." into tizen_7.0

12 months ago[Tizen] Enable masking for Scene3D::SceneView 43/300443/2
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>
12 months ago[Tizen] Ensure blendshape weight between [0..1] 30/300430/1
Eunki Hong [Tue, 24 Oct 2023 14:05:43 +0000 (23:05 +0900)]
[Tizen] Ensure blendshape weight between [0..1]

Let we ensure the blendshape weight is between 0 and 1.
So ignore cases when weight value is bigger than 1, less than 0.

Change-Id: I3bdd0a3f59498654e6e7ac65a4a2e665a58a9fcc
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[Tizen] To stop animated image visual when it become invisible. 19/300419/2
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>
12 months ago[Tizen] Fix ZWJ issue 40/300240/1 accepted/tizen/7.0/unified/20231024.025350
Bowon Ryu [Tue, 17 Oct 2023 06:36:03 +0000 (15:36 +0900)]
[Tizen] Fix ZWJ issue

Added ZWJ sequence to solve the issue of ZWJ not working.
this patch processes ZWJ as one sequnce.
and this condition has been merged with the previous emoji logic.

Added exception handling in editable environment.
Removed unnecessary variables related to emoji.

Change-Id: Id7825732d96c3e87a8c93b6c2e8d57e057eb7435
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months agoMerge "[Tizen] Add WebView APIs for fullscreen, text found, etc." into tizen_7.0 accepted/tizen/7.0/unified/20231018.172232
dongsug song [Mon, 16 Oct 2023 07:51:04 +0000 (07:51 +0000)]
Merge "[Tizen] Add WebView APIs for fullscreen, text found, etc." into tizen_7.0

12 months agoMerge "[Tizen] Fix Shadow issue" into tizen_7.0
Seungho BAEK [Mon, 16 Oct 2023 05:44:07 +0000 (05:44 +0000)]
Merge "[Tizen] Fix Shadow issue" into tizen_7.0

12 months ago[Tizen] Fix Shadow issue 63/298763/4
seungho baek [Wed, 13 Sep 2023 08:02:06 +0000 (17:02 +0900)]
[Tizen] Fix Shadow issue

 - When Model is added after shadow is set, the model cannot used for shadow

Change-Id: Iaec0f3e389068342cef9b2769e060e69832354ee
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
12 months ago[Tizen] Add color tag for text markup anchor 83/299983/1 accepted/tizen/7.0/unified/20231017.165713
Bowon Ryu [Thu, 12 Oct 2023 11:51:14 +0000 (20:51 +0900)]
[Tizen] Add color tag for text markup anchor

"<a color='blue' clicked-color='red' href='https://www.tizen.org'>TIZEN</a>"

user can set color and clicked color in the anchor tag.
if not set, default color is applied.

Change-Id: I6ed67b3ae4bec414e306d46bc2b70d4c7a87cdf7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months ago[Tizen] Add WebView APIs for fullscreen, text found, etc. 14/299814/2
huayong.xu [Tue, 10 Oct 2023 12:21:00 +0000 (20:21 +0800)]
[Tizen] Add WebView APIs for fullscreen, text found, etc.

Change-Id: I94e98d022ce75e76e6c883a03fd0b31cd4086ec9

13 months ago[Tizen] Fix visual transform offset of text label 03/299103/1 accepted/tizen/7.0/unified/20230927.090510
Bowon Ryu [Tue, 29 Aug 2023 10:04:22 +0000 (19:04 +0900)]
[Tizen] Fix visual transform offset of text label

Font rendering quality is very degraded
when the visual translation y offset is a decimal value.
To prevent this issue, round the offset.

Change-Id: I9e3630f568d6b97a623e9ed32447b2980beb78a6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[Tizen] Change the SENSITVE value of accessibility 01/298901/1
Wonsik Jung [Fri, 15 Sep 2023 02:41:07 +0000 (11:41 +0900)]
[Tizen] Change the SENSITVE value of accessibility

Change the SENSITIVE value of accessibility using actor's hittable and touch required.

Change-Id: Ib6f088e443e25c217e7adb250c23eefb43e2fa7b

13 months ago[Tizen] Shadow Mapping 14/298514/2 accepted/tizen/7.0/unified/20230915.095421
seungho baek [Thu, 6 Jul 2023 13:00:35 +0000 (22:00 +0900)]
[Tizen] Shadow Mapping

 - DALi will support shadow with a light.
 - PCF is supported to soften shadow edge

Change-Id: Iacba477230e315a73c95ef435d33a8deeac88a3e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months ago[Tizen] Use SceneHolder::Get() instead of Window::Get() 13/298513/2
Heeyong Song [Mon, 5 Jun 2023 08:53:11 +0000 (17:53 +0900)]
[Tizen] Use SceneHolder::Get() instead of Window::Get()

To support off-screen window

Change-Id: I5d12ab14190a98b90904637a6b2d1c89d8a70c09

14 months ago[Tizen] Fix svace / coverity issues (no effects + size_t overflow + typo) 80/298280/1
Eunki, Hong [Tue, 5 Sep 2023 01:33:58 +0000 (10:33 +0900)]
[Tizen] Fix svace / coverity issues (no effects + size_t overflow + typo)

Change-Id: I87c8fd0040b212ab306469cf48040773f11e29ff
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Make load failed for invalid bvh format 05/296905/4 accepted/tizen/7.0/unified/20230825.185054
Eunki, Hong [Wed, 26 Jul 2023 06:18:53 +0000 (15:18 +0900)]
[Tizen] Make load failed for invalid bvh format

Let we exist bvh parsing when it have some invalid informations.

Change-Id: I82f090b6207911ef9c49cbbbba8123c6cdeb46ab
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Change some precision of shader variables to highp 04/296904/4
Seungho Baek [Tue, 11 Jul 2023 09:20:35 +0000 (18:20 +0900)]
[Tizen] Change some precision of shader variables to highp

 - There are some visual artifact to render 3D object in case of adding Directional Light.
 - Some variable's precision is too low.
 - This patch changes minimum number of variable's precision to highp

Change-Id: I0ff1c30bb3f0eb837434f0dc61d2a461383dfbd2
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
14 months ago[Tizen] Apply Light using Shader Manager 03/296903/4
seungho baek [Wed, 28 Jun 2023 13:23:07 +0000 (22:23 +0900)]
[Tizen] Apply Light using Shader Manager

Change-Id: I007842c1e6e1c46dc680acbb1306c70d1defb148
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months ago[Tizen] Makes Models use common shader manager 02/296902/4
seungho baek [Mon, 19 Jun 2023 13:43:00 +0000 (22:43 +0900)]
[Tizen] Makes Models use common shader manager

 - In Scene3D, the responsibility for modifying the shader code or setting the shader's uniform variables was scattered across many classes.
 - When a uniform variable is added or the name of a uniform variable is changed in the shader code, there was a problem of repeating the same modification in multiple codes.
 - In this patch, one class is responsible for creating or managing Shader code, and the class name is changed to ShaderManager.
 - And by using one ShaderManager per SceneView, it is easy to manage properties that should be applied in common within SceneView.
 - Although there is no difference in use in terms of Model/SceneView API, it is helpful for code management, and performance can be improved when many Renderers share a small number of Shaders.

Change-Id: I0975921a1a7e40c453156cf9bd0b1890fc8e6526
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months ago[Tizen] Fix comments for MotionData 01/296901/4
Eunki Hong [Wed, 5 Jul 2023 15:58:19 +0000 (00:58 +0900)]
[Tizen] Fix comments for MotionData

Change-Id: I87b9e98de2a5ef690d85029996bbafdad7a9c554
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Add MotionData class and generate Animation 00/296900/4
Eunki Hong [Wed, 7 Jun 2023 12:53:06 +0000 (21:53 +0900)]
[Tizen] Add MotionData class and generate Animation

This patch is implement NUI API by dali side

https://github.com/Samsung/TizenFX/pull/5227

Let we make APP developer use this API instead of using animation-definition.

Change-Id: Ifca479535500aeea49bf644160c23c5f3fc26665
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Parse gltf mesh extra and extensions + Get BlendShape index by name 99/296899/4
Eunki, Hong [Mon, 8 May 2023 06:13:03 +0000 (15:13 +0900)]
[Tizen] Parse gltf mesh extra and extensions + Get BlendShape index by name

Let we parse extra / extensions information from gltf2 mesh.
It will be used when we apply blendshape informations by string.

Since we are store the blendshape name, now we can get the index of
blendshape by name per each ModelNode.

Change-Id: I4e2030901b87c76b5fb205208c13184ae6ebd7b0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Shader Factory refactoring 98/296898/4
seungho baek [Wed, 21 Jun 2023 04:27:32 +0000 (13:27 +0900)]
[Tizen] Shader Factory refactoring

Change-Id: I814de35cd21600eb5370401a60755630d6aa4dc0
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months ago[Tizen] Detach skybox on setting an empty url 97/296897/4
jmm [Thu, 22 Jun 2023 11:13:28 +0000 (20:13 +0900)]
[Tizen] Detach skybox on setting an empty url

Change-Id: I8cfc89b802fe625046e98a97e15551de9285ff82

14 months ago[Tizen] Add Light for Scene3D 96/296896/4
seungho baek [Wed, 24 May 2023 09:35:28 +0000 (18:35 +0900)]
[Tizen] Add Light for Scene3D

Change-Id: If21ef89a2254dd835c80449da575d301124f8fcc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months ago[Tizen] Fix logical error for dli animation duration 95/296895/4
Eunki Hong [Fri, 9 Jun 2023 15:58:14 +0000 (00:58 +0900)]
[Tizen] Fix logical error for dli animation duration

There was some code mistakes for dli loader parsing of animation duration.

Change-Id: I877cb44369a5f72b2a1064c7b8ea816bdbe806f1
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Lock model cache manager access for thread safety 94/296894/4
Eunki Hong [Mon, 22 May 2023 14:32:59 +0000 (23:32 +0900)]
[Tizen] Lock model cache manager access for thread safety

Since we can access to mModelCache by ModelCacheManager,
and also we can create new items (== change container itself)
Add a global mutex lock for cache manager API.

And also, add some comment why we use std::map for cache.

And also, do not open conditional wait object out of cache.

And also, increase reference count of model so we can run this function
more thread safety.

TODO : We MUST not access into model cache manager from worker thread.
(Since worker thread can Process even main thread shutdown.)
MUST be refactorize.

Change-Id: I81e95a5f5df8c16dbaf6b84b6ddd3cd4809121d0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Add dali-scene3d.h for increase app developer convenience 93/296893/4
Eunki, Hong [Wed, 31 May 2023 23:56:45 +0000 (08:56 +0900)]
[Tizen] Add dali-scene3d.h for increase app developer convenience

Follow dali/dali.h, dali-toolkit/dali-toolkit.h,
Let we make dali-scene3d/dali-scene3d.h which contain all kind of
public-api of dali-scene3d.

So even if we refactorize dali-scene3d directory system,
let other application didn't got effort.

Change-Id: I22b8bca67177280d04f6d5c2db7ecdec6b0b9484
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[Tizen] Let we use integer uniform for shader 92/296892/3
Eunki, Hong [Tue, 30 May 2023 03:54:26 +0000 (12:54 +0900)]
[Tizen] Let we use integer uniform for shader

Since we cannot believe float to integer convertor,
Let we use integer uniform value register without float conversion

Change-Id: Idf740687b51b73a00db77eb4a784f0acef73f5df
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months ago[Tizen] Fix unload svg file error. 13/296813/1 accepted/tizen/7.0/unified/20230822.163523
Eunki, Hong [Fri, 4 Aug 2023 09:08:34 +0000 (18:08 +0900)]
[Tizen] Fix unload svg file error.

When we create Svg Visual -> SceneOn & SceneOff very fast during all rasterize
threads are fully busy,
It will remove SvgLoadingTask who is in mResterizeTasks.

After we re-sceneon that visual again, it will be broken :
mLoadingFail is not true, but we didn't load file.

This patch make we don't remove SvgLoadingTask when we call RemoveTasks

Change-Id: I40582ebb2512e56e96eed64caff4b1070b4bd9c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
16 months ago[Tizen] Fix Gradient Visual texturing issue 66/294366/2 accepted/tizen/7.0/unified/20230623.162708 accepted/tizen/7.0/unified/20230719.171802 accepted/tizen/7.0/unified/20230811.173922
seungho baek [Fri, 16 Jun 2023 11:57:21 +0000 (20:57 +0900)]
[Tizen] Fix Gradient Visual texturing issue

Change-Id: I6b0318cfb8716f5a8a08e1e96e4ca256f00af12e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
17 months ago[Tizen] Apply font size scale to markup text 03/294003/1 accepted/tizen/7.0/unified/20230613.172219 accepted/tizen/7.0/unified/20230615.051452 accepted/tizen/7.0/unified/20230615.061144
Bowon Ryu [Fri, 9 Jun 2023 05:00:14 +0000 (14:00 +0900)]
[Tizen] Apply font size scale to markup text

Change-Id: I1c6467a1ebb42b4604497db12b12052fc7deba80
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
17 months ago[Tizen](SceneView) Reset the removed RenderTask 87/293787/1 accepted/tizen/7.0/unified/20230608.164738
Heeyong Song [Fri, 2 Jun 2023 02:22:31 +0000 (11:22 +0900)]
[Tizen](SceneView) Reset the removed RenderTask

Change-Id: I29a1d8ae306f49d0dd9b13842ba2f1d95190690d

17 months ago[Tizen] Masking support for external textures 68/293668/2
sunghyun kim [Thu, 4 May 2023 02:13:14 +0000 (11:13 +0900)]
[Tizen] Masking support for external textures

Masking support for external textures as well.
For masking, only GPU masking is available.
Support for both asynchronous/synchronous.

Change-Id: Ifdd18f0d90911ba849b5ff9cf1d8255f40ce12e9

17 months ago[Tizen][AT-SPI] Remove Text{Editor,Field}::mStencil from the tree 97/293397/1 accepted/tizen/7.0/unified/20230526.164252
Artur Świgoń [Thu, 25 May 2023 12:59:41 +0000 (14:59 +0200)]
[Tizen][AT-SPI] Remove Text{Editor,Field}::mStencil from the tree

These objects are not interesting to the Screen Reader.

Change-Id: I764ca04999114ca7f14a3e9a04442c1971b79ad7

17 months ago[Tizen] Let ModelCache use std::map instead of unordered_map 71/293171/1
Eunki, Hong [Wed, 17 May 2023 08:14:38 +0000 (17:14 +0900)]
[Tizen] Let ModelCache use std::map instead of unordered_map

If mModelCache become rehashed during some model-load-task lock the process,
It might make some crash.

To keep the validation of ModelCacheManager::ModelCache data, let we use
the cache container as std::map, instead of std::unordered_map

Change-Id: Ied52a7cd8fcf805eb18d5563df1da821f4d3c655
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months ago[Tizen] Fix the normalization factor calculation for blendshapes 70/293170/1
Richard [Thu, 18 May 2023 14:09:13 +0000 (15:09 +0100)]
[Tizen] Fix the normalization factor calculation for blendshapes

This patch fixes two issue:

1. Fix the calculation of the blendshape normalization factor so that it can
   handle smaller maximum distance between the original mesh and the deformed
   mesh.

2. Apply the min and max properties of the accessor to all the elements in the
   accessor, not just the elements in the sparse storage.

Change-Id: Iea90cbacf91fc7311242d9a47454b06afee82200

17 months ago[Tizen] Sync test harness 65/293165/1
Heeyong Song [Thu, 18 May 2023 08:38:24 +0000 (17:38 +0900)]
[Tizen] Sync test harness

Change-Id: I1bb2bd71ae9133e165cace85e6e8da283b47b6e8

17 months ago[Tizen] Fix initial white space issue in text 89/293089/1
Bowon Ryu [Fri, 19 May 2023 07:38:40 +0000 (16:38 +0900)]
[Tizen] Fix initial white space issue in text

Current logic does not send text and cursor position for initial white space to IME.
I don't know the exact history of this logic.
But in case of efl, it is sending information about initial white space to IME.
Change behavior for consistency.

Change-Id: I86bc7ecfece9f02c2eb670c3359efc31d79daabb
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
17 months ago[Tizen] Blendshapes fix 65/292965/1
Adam Bialogonski [Tue, 16 May 2023 15:53:24 +0000 (16:53 +0100)]
[Tizen] Blendshapes fix

When using sparse accessors, the gltf loader loads data correctly
but the blendshapes generator (texture and data) always assumes that
morph targets contain all the vertices which isn't a case.

Fix makes sure that for sparse access only indexed vertices are
affected by the blendshape. It still generate full vertex data
(for whole mesh) so it's compatible with current shader.

Change-Id: I1f36c1d9d24dec0eb194d0aaf1b93488b61b1d58
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
17 months ago[Tizen] Support model size change 64/292964/1
seungho baek [Thu, 11 May 2023 08:36:55 +0000 (17:36 +0900)]
[Tizen] Support model size change

Change-Id: I78a7aa569ae164d07a7809bc7dd7106531face29
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
17 months ago[Tizen] Set AnimatedVectorVisual play range by single marker 92/292892/1
Eunki Hong [Tue, 16 May 2023 16:27:31 +0000 (01:27 +0900)]
[Tizen] Set AnimatedVectorVisual play range by single marker

Previously, we only accept when we insert array as PLAY_RANGE.
Now let we allow to insert single stirng value.

Change-Id: I3afbbf30cb5bdc211a06aeb0654c5359b28bc147
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen][AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE 04/292704/1 accepted/tizen/7.0/unified/20230515.132836 accepted/tizen/7.0/unified/20230515.152739
Artur Świgoń [Thu, 11 May 2023 10:54:27 +0000 (12:54 +0200)]
[Tizen][AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE

Change-Id: I3e4bf575b257e8020dbf5c68111b4219beec39e3

18 months ago[Tizen] Fix normal vector error when we use skin 28/292628/1
Eunki, Hong [Wed, 10 May 2023 01:35:07 +0000 (10:35 +0900)]
[Tizen] Fix normal vector error when we use skin

Since dali's world matrix use left-hand-coordinate,
the constrainted world matrix value in uBone need to be multiply negative Y.

To apply this information, let we use uYDirection value if we use skin.

Also, we need to use same precision if we use same uniform both vertex and
fragment shaders. To specify the precision, make uYDirection as mediump.

Change-Id: Ibf6ca7ee0cc88fba1214b4a68a0eea7a4805f7e5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Fix multiple primitive skinning error 15/292415/2
Eunki, Hong [Thu, 4 May 2023 08:03:01 +0000 (17:03 +0900)]
[Tizen] Fix multiple primitive skinning error

Since we didn't check indivisual primitive with
same shader + same skeletone id,
some renderer didn't applied Constraint.

Now we make multiple primitive also apply bone constraints

Change-Id: I7ccf7257108f9e4d05914c70bb437eee488b7b3f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Change mediump to highp of corner radius 00/292500/2
seungho baek [Tue, 9 May 2023 05:04:48 +0000 (14:04 +0900)]
[Tizen] Change mediump to highp of corner radius

Change-Id: Ide32bf0b33cf6c495d4c9f7d38c46289788f53ab
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Revert "[Tizen] Use Renderer to register skinning property" 21/292321/1
Eunki, Hong [Thu, 4 May 2023 00:40:04 +0000 (09:40 +0900)]
[Tizen] Revert "[Tizen] Use Renderer to register skinning property"

This reverts commit fcb91da58739795d0289a9d1e50b838092165e40.

Change-Id: Ia92651b28438dcf1f610d8448a0178cf666d854a

18 months ago[Tizen] Let we allow to change AnimationDefinition property 66/292266/1
Eunki, Hong [Thu, 27 Apr 2023 02:07:46 +0000 (11:07 +0900)]
[Tizen] Let we allow to change AnimationDefinition property

Change-Id: Id6e0a345bb5b4213191f56f94f5c5b20bf2d2020
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Use Renderer to register skinning property 40/292240/1
seungho baek [Tue, 2 May 2023 05:55:13 +0000 (14:55 +0900)]
[Tizen] Use Renderer to register skinning property

Change-Id: If4f9e0d9b4fb454e02666694ea24ec8fd31c8482
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Remove unused code 35/292235/1
seungho baek [Tue, 2 May 2023 01:44:30 +0000 (10:44 +0900)]
[Tizen] Remove unused code

 - We don't need to reset renderer properties when shader is generated

Change-Id: I42b9a5cb1a252ecda753d5221c02f542a1d7f99b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Blendshape properties should be registered per renderer instead of per shader 34/292234/1
Richard [Thu, 27 Apr 2023 15:47:58 +0000 (16:47 +0100)]
[Tizen] Blendshape properties should be registered per renderer instead of per shader

Change-Id: I38c6a191e37212720fa603f82cb2ef04c6b18a17

18 months ago[Tizen] Support Short and Byte weight of gltf skinning 33/292233/1
seungho baek [Mon, 24 Apr 2023 10:55:06 +0000 (19:55 +0900)]
[Tizen] Support Short and Byte weight of gltf skinning

Change-Id: I4817c40b049e5b3984b66cc9fabe731ae0bc4582
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Reduce prediction error for blendshape 32/292232/1
Eunki, Hong [Fri, 21 Apr 2023 11:13:40 +0000 (20:13 +0900)]
[Tizen] Reduce prediction error for blendshape

1. Let we use highp integer for vertex shader. (since some device's
   mediump int only use 16bit signed integer, so it might not allow
   to use more than 32768 vertex id)

2. Do not use divide and sqrtf operator if we can

Change-Id: Ib76d1ff6095f07aad9f797b96be93d0dc8dd8188
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Remove model-node-data-impl 30/292230/1
seungho baek [Wed, 19 Apr 2023 09:20:00 +0000 (18:20 +0900)]
[Tizen] Remove model-node-data-impl

Change-Id: Iba64ae2ecbc67d42093affbc364693ff163551b6
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] New with additional behaviour flag for text controls 72/291972/1 accepted/tizen/7.0/unified/20230428.015850 accepted/tizen/7.0/unified/20230428.170431
Bowon Ryu [Thu, 10 Nov 2022 02:54:59 +0000 (11:54 +0900)]
[Tizen] New with additional behaviour flag for text controls

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

This code works in TextField and TextEditor

Change-Id: I28df965491bf6e6abff95ed3dc1a2a83f03588a5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months ago[Tizen] Load bvh and facial animations from buffer 89/291689/1 accepted/tizen/7.0/unified/20230424.020513
huayong.xu [Wed, 1 Mar 2023 10:18:13 +0000 (18:18 +0800)]
[Tizen] Load bvh and facial animations from buffer

This is a combination of 2 commits.

Make sure that global variables are initialized lazily in scene3d.

Global variables are initialized when scene3d so is loaded firstly.
This would allocate more memory in some cases.
This patch is to make the variables be initialized lazily.

Load bvh and facial animations from buffer

Let we allow to load bvh and facial animation from raw buffer stream.

Change-Id: I679539ce10e631101571dab95615404c41b9b2f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Allow to load uint32_t as indices 86/291686/1
Eunki Hong [Sat, 18 Feb 2023 10:22:52 +0000 (19:22 +0900)]
[Tizen] Allow to load uint32_t as indices

Dali's default indices use uint16_t. But if heavy 3D model who need more than
65536 indexes loaded, It will break index.

This patch make Scene3D can allow to use uint32_t type indeces load
and generete Geometry by it.

Change-Id: I6b8096df3fcf855443e6b407342121b9374d9ff8
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Sync test util 64/291664/2
Heeyong Song [Fri, 29 Jul 2022 02:39:01 +0000 (11:39 +0900)]
[Tizen] Sync test util

Backporting of GLView direct rendering feature

Change-Id: I92102ab838a43792fd3022f775ab67fd5fdeb23f

18 months ago[Tizen] (GlView) Add BindTextureResources method 51/291651/2
Heeyong Song [Thu, 28 Jul 2022 10:32:47 +0000 (19:32 +0900)]
[Tizen] (GlView) Add BindTextureResources method

Backporting of GLView direct rendering feature

Change-Id: I9f73d158bb13afaa2413105b4da5afeede0d1f7b

18 months agoMerge "[Tizen] Let we allow to seek empty buffer when read blob" into tizen_7.0
Eunki Hong [Wed, 19 Apr 2023 06:42:42 +0000 (06:42 +0000)]
Merge "[Tizen] Let we allow to seek empty buffer when read blob" into tizen_7.0

18 months ago[Tizen] Fix transform issue of skinned mesh 06/291606/1
seungho baek [Tue, 18 Apr 2023 05:47:24 +0000 (14:47 +0900)]
[Tizen] Fix transform issue of skinned mesh

Change-Id: I5acd990e1e1ae586a0b6c66af3aefc99c991e206
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Let we allow to seek empty buffer when read blob 02/291602/1
Eunki, Hong [Wed, 19 Apr 2023 03:17:43 +0000 (12:17 +0900)]
[Tizen] Let we allow to seek empty buffer when read blob

The model can "skip" non-meanful data at end of blob.
Let we allow to read that case.

Change-Id: Id98f6bbb788b3f542ee543f20b16c6982c2a7f68
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Delete callback memory when rasterize callback not processed 23/291523/1
Eunki, Hong [Tue, 18 Apr 2023 03:52:06 +0000 (12:52 +0900)]
[Tizen] Delete callback memory when rasterize callback not processed

When Rasterize callback register into VectorAnimationManager, and
visual was destroyed, the callback base memory might not be deleted.

Change-Id: Ia2d09856e989ac29f8c39cd5cabb2af29d1ed80d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Backport 7.5 Scene3D for use ModelNode 01/291501/2
huayong.xu [Mon, 20 Mar 2023 11:08:48 +0000 (19:08 +0800)]
[Tizen] Backport 7.5 Scene3D for use ModelNode

This is a combination of 10 commits.

Make sure that global variables are initialized lazily in scene3d.

Fix coverity issue (no POSITION attribute + use after move)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Change namings of gltf-util

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Remove Duplicated code in gltf2-util using template

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Enable automated tests that load the exercise DLI model

Replace std::string global variables with C-style string.

A std::string global variable would allocate a memory in heap,
then copy the string from .text section to the heap.
This patch may reduce loading time & memory a little.

Use ModelNode / ModelPrimitive / Material instead of Actor / Renderer

 - This patch is based on the previous patch
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/288075/

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Fix svace/coverity issue (initialize value at Material)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Change public member variable to private

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Allow to use premultiplied external texture

FrameBuffer result colortexture is premultiplied always.
So make we always use premultiplied texture.

And make a way to user determine native image source is premultiplied or not.

+

Since FBO texture always premultiplied, revert scene view's trick
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/285486

Change-Id: Idfec7ea5a26dcc827953ce268c32adc8f89247bd
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen][AT-SPI] Implement Value::GetValueText() 90/291490/1 accepted/tizen/7.0/unified/20230418.141941
Artur Świgoń [Thu, 13 Apr 2023 09:31:54 +0000 (11:31 +0200)]
[Tizen][AT-SPI] Implement Value::GetValueText()

Change-Id: I9a2eb40aced763bc74542b5f8c448445089ed67c

19 months agoMerge "[Tizen] Use c-style string when webview loads contents." into tizen_7.0 accepted/tizen/7.0/unified/20230407.155834
dongsug song [Thu, 6 Apr 2023 11:42:36 +0000 (11:42 +0000)]
Merge "[Tizen] Use c-style string when webview loads contents." into tizen_7.0

19 months ago[Tizen] Fix skybox type auto issue 66/290866/2
seungho baek [Tue, 4 Apr 2023 08:19:51 +0000 (17:19 +0900)]
[Tizen] Fix skybox type auto issue

Change-Id: I5e59773428f598393d3b30070dbdeb1067f71448
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
19 months ago[Tizen] Use c-style string when webview loads contents. 74/290874/1
huayong.xu [Tue, 4 Apr 2023 07:49:47 +0000 (15:49 +0800)]
[Tizen] Use c-style string when webview loads contents.

Change-Id: I541be6fddab140561f16af339adfe82bf05ecd2e

19 months ago[Tizen] Add a condition to ensure FontClient 02/290402/1 accepted/tizen/7.0/unified/20230330.014307 accepted/tizen/7.0/unified/20230403.235559 accepted/tizen/7.0/unified/20230404.033732
Bowon Ryu [Tue, 21 Mar 2023 02:15:12 +0000 (11:15 +0900)]
[Tizen] Add a condition to ensure FontClient

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

Change-Id: Ic67e9d870a12456fe4023d23377d90b753b1e431
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months ago[Tizen] Make equirectangular environment also use mipmap + Fix brdf error 99/290399/1
Eunki, Hong [Thu, 23 Mar 2023 07:31:45 +0000 (16:31 +0900)]
[Tizen] Make equirectangular environment also use mipmap + Fix brdf error

Change-Id: Iaa303a31c4223197b295a6f722dee3c0ebaa6216
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months ago[Tizen] Revert "Adjust text fit condition" 62/290162/1
joogab.yun [Mon, 20 Mar 2023 10:41:13 +0000 (19:41 +0900)]
[Tizen] Revert "Adjust text fit condition"

This reverts commit 52b3a0d3057c239c2ca75321864d687d09a9f01f.

Change-Id: Ibfda60c4f6a509a9febf63fa9ed3752b6758ffcb

19 months ago[Tizen] remove logic for comparing clipped state. 90/290090/3
Hosang Kim [Mon, 6 Mar 2023 10:24:39 +0000 (19:24 +0900)]
[Tizen] remove logic for comparing clipped state.

A child can be visible even if clip mode outside of parent.
So a object is actually shown on screen but SHOWING state is false.

Change-Id: I74b59f99783c6ade8029a3be5166cf9a8de36011

19 months ago[Tizen] Add trace log to check text performance 71/290071/1
Bowon Ryu [Wed, 15 Mar 2023 11:02:05 +0000 (20:02 +0900)]
[Tizen] Add trace log to check text performance

Change-Id: Id001ff9d537794c8f1a0fce125d71be6566378b2
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoMerge "[Tizen] Let we can use emissiveFactor without Texture" into tizen_7.0
Eunki Hong [Sat, 18 Mar 2023 08:43:35 +0000 (08:43 +0000)]
Merge "[Tizen] Let we can use emissiveFactor without Texture" into tizen_7.0

19 months ago[Tizen] Use Mipmap level to sample specular texture 54/290054/5
seungho baek [Fri, 17 Mar 2023 14:02:17 +0000 (23:02 +0900)]
[Tizen] Use Mipmap level to sample specular texture

Change-Id: If1f4346b22571600d490150bd05bf851eefe1a24
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
19 months ago[Tizen] Let we can use emissiveFactor without Texture 59/289959/1
seungho baek [Wed, 8 Mar 2023 06:23:52 +0000 (15:23 +0900)]
[Tizen] Let we can use emissiveFactor without Texture

This is a combination of 4 commits.

Make safe conversion from uint32_t to streamsize

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Change namings of gltf-util

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Ignore non-exist property reanimated

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Let we can use emissiveFactor without Texture

Change-Id: I27c7585675375d19d5e326e21e9d504c3edbde46
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months ago[Tizen] When TextFit operates, it operates based on the initially set LineSize. 94/289894/2
joogab.yun [Tue, 14 Mar 2023 01:01:34 +0000 (10:01 +0900)]
[Tizen] When TextFit operates, it operates based on the initially set LineSize.

You may need to add LineSize to TextFit items.

It is currently based on the TextLabel LineSize at the time the TextFit property is set.

Change-Id: I0d4661da7b653e8e765c2b029ce06749e01c8bd4

20 months ago[Tizen] Clean up Scene3D namespace and header definition 34/289434/3 accepted/tizen/7.0/unified/20230327.042629
Eunki, Hong [Tue, 7 Mar 2023 16:17:01 +0000 (01:17 +0900)]
[Tizen] Clean up Scene3D namespace and header definition

Change-Id: I28f91a4fb9af661ff61a12f00c1f6fd900cbdeec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months ago[Tizen] Add glb-loader to load gltf2-binary 31/289431/1
seungho baek [Fri, 24 Feb 2023 01:40:25 +0000 (10:40 +0900)]
[Tizen] Add glb-loader to load gltf2-binary

 - extract gltf2-util to share it in gltf2-loader and glb-loader

Change-Id: I048d8903d27fea47a322dcf4d4cc56a16c10acec

20 months ago[Tizen] Add model-loader to abstract gltf2-loader and dli-loader 24/289424/1
seungho baek [Mon, 20 Feb 2023 08:19:39 +0000 (17:19 +0900)]
[Tizen] Add model-loader to abstract gltf2-loader and dli-loader

 - Like glb, we need to add some new type of model.
 - This abstraction can make easy to add new model file format.

Change-Id: Ib84dd28c082903295ff1295a5c2d4da9a74ef8ca

20 months ago[Tizen] Cache manager for 3D models 51/288651/4
Richard [Thu, 2 Feb 2023 15:07:37 +0000 (15:07 +0000)]
[Tizen] Cache manager for 3D models

Change-Id: I6cd522b2ee5c2dc33fa7740d2421d9220ee058de

20 months ago[Tizen] Generate Camera from loaded model 38/288938/1 accepted/tizen/7.0/unified/20230302.015546
seungho baek [Mon, 20 Feb 2023 06:57:09 +0000 (15:57 +0900)]
[Tizen] Generate Camera from loaded model

This is a combination of 2 commits.

Refactoring model-impl.cpp

 - Extract some method to reduce duplicated code.
 - Reduce braces depth
 - Use return early for easy understanding
 - Separate too long method

Generate Camera from loaded model

Add API to generete (or apply) the camera what 3D model has.

Note that model cannot have ownership of camera
since we have to add camera into SceneView or whatever we want.
So GenerateCamera create new CameraActor everytime.
Or ApplyCamera into already created CameraActor.

TODO : Should we change all Scene3D::Loader used demo who use camera parameter?

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