platform/core/uifw/dali-toolkit.git
17 months agoMerge "Updated FrameCallback to return value to specify whether we should keep render...
David Steele [Thu, 6 Jul 2023 16:19:17 +0000 (16:19 +0000)]
Merge "Updated FrameCallback to return value to specify whether we should keep rendering" into devel/master

17 months agoUpdated FrameCallback to return value to specify whether we should keep rendering 01/295401/2
Richard [Thu, 6 Jul 2023 09:41:37 +0000 (10:41 +0100)]
Updated FrameCallback to return value to specify whether we should keep rendering

Change-Id: I687adaaa23cf5a211a64e74585ae3075824baa75

17 months agoMerge "Make CreateSolidColorTexture upload pixel data" into devel/master
Eunki Hong [Thu, 6 Jul 2023 06:13:35 +0000 (06:13 +0000)]
Merge "Make CreateSolidColorTexture upload pixel data" into devel/master

17 months agoMerge "Update approval test for text" into devel/master
Bowon Ryu [Wed, 5 Jul 2023 05:15:05 +0000 (05:15 +0000)]
Merge "Update approval test for text" into devel/master

17 months agoMerge "Fix build error for toolchain upgrade" into devel/master
Heeyong Song [Wed, 5 Jul 2023 05:04:33 +0000 (05:04 +0000)]
Merge "Fix build error for toolchain upgrade" into devel/master

17 months agoFix build error for toolchain upgrade 40/295140/2
Heeyong Song [Mon, 3 Jul 2023 06:44:55 +0000 (15:44 +0900)]
Fix build error for toolchain upgrade

model-loader.cpp
[   61s] /home/abuild/rpmbuild/BUILD/dali2-toolkit-2.2.33/dali-scene3d/public-api/loader/model-loader.cpp:136:72: error: moving a temporary object prevents copy elision [-Werror=pessimizing-move]
[   61s]   136 |   Dali::Scene3D::Loader::ResourceRefCounts resourceRefCount = std::move(mLoadResult.mResources.CreateRefCounter());
[   61s]       |                                                               ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: I0d4f08938e9f96918ba7407aacd59f7975fde264

17 months agoAdd MotionData class and generate Animation 94/293894/24
Eunki Hong [Wed, 7 Jun 2023 12:53:06 +0000 (21:53 +0900)]
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>
17 months agoParse gltf mesh extra and extensions + Get BlendShape index by name 45/292445/12
Eunki, Hong [Mon, 8 May 2023 06:13:03 +0000 (15:13 +0900)]
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>
17 months agoUpdate approval test for text 07/295107/14
Bowon Ryu [Mon, 3 Jul 2023 02:41:44 +0000 (11:41 +0900)]
Update approval test for text

Due to the patch below, there are some changes to the text placement position.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/294254/

Change-Id: Ia1c79209405beedd6c26a63ebcbfee9928b31725
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
17 months agoMake CreateSolidColorTexture upload pixel data 85/295085/2
Eunki, Hong [Mon, 3 Jul 2023 01:01:37 +0000 (10:01 +0900)]
Make CreateSolidColorTexture upload pixel data

To avoid case when we skip rendering for non-upload texture, make sure
that we upload texture.

Change-Id: Ieea21bf09d84ff43fbff6673ba7dfc8e299cdf45
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoDALi Version 2.2.33 53/295053/1 dali_2.2.33
Adeel Kazmi [Fri, 30 Jun 2023 13:17:03 +0000 (14:17 +0100)]
DALi Version 2.2.33

Change-Id: I29837ebf3df52c3734bcbaf12fa85bcb8d338fe1

17 months agoMerge "Move Clipboard to TextClipboard" into devel/master
Bowon Ryu [Wed, 28 Jun 2023 04:52:39 +0000 (04:52 +0000)]
Merge "Move Clipboard to TextClipboard" into devel/master

18 months agoMove Clipboard to TextClipboard 19/294819/1
Bowon Ryu [Tue, 27 Jun 2023 05:44:47 +0000 (14:44 +0900)]
Move Clipboard to TextClipboard

We plan to create a new Clipboard class and
remove the dependency on Text and the legacy clipboard.

Change-Id: I87eeb622e4ea524d5c2d9b38c5a16e958b89c52c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months agoMerge "Shader Factory refactoring" into devel/master
Seungho BAEK [Tue, 27 Jun 2023 04:48:39 +0000 (04:48 +0000)]
Merge "Shader Factory refactoring" into devel/master

18 months agoShader Factory refactoring 38/294538/8
seungho baek [Wed, 21 Jun 2023 04:27:32 +0000 (13:27 +0900)]
Shader Factory refactoring

Change-Id: I814de35cd21600eb5370401a60755630d6aa4dc0
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months agoMerge "Detach skybox on setting an empty url" into devel/master
Jeongmin Lee [Mon, 26 Jun 2023 04:51:53 +0000 (04:51 +0000)]
Merge "Detach skybox on setting an empty url" into devel/master

18 months agoSync test harness 38/294638/2
Heeyong Song [Thu, 22 Jun 2023 04:48:57 +0000 (13:48 +0900)]
Sync test harness

Change-Id: Ib89a365dae26ff2db51d40d4bebdf5bb140e9a92

18 months agoMerge "Test harness sync" into devel/master
Adeel Kazmi [Sat, 24 Jun 2023 14:02:58 +0000 (14:02 +0000)]
Merge "Test harness sync" into devel/master

18 months agoTest harness sync 30/291030/7
David Steele [Thu, 6 Apr 2023 11:19:54 +0000 (12:19 +0100)]
Test harness sync

Change-Id: Ib91bad483649170eedb76ac6a4e1755517d29b1a

18 months agoDALi Version 2.2.32 99/294699/1 dali_2.2.32
Adam Bialogonski [Fri, 23 Jun 2023 10:03:22 +0000 (11:03 +0100)]
DALi Version 2.2.32

Change-Id: Idb353d258df42fa8dca2ec90975b6e3d8fb44a5a

18 months agoDetach skybox on setting an empty url 65/294665/2
jmm [Thu, 22 Jun 2023 11:13:28 +0000 (20:13 +0900)]
Detach skybox on setting an empty url

Change-Id: I8cfc89b802fe625046e98a97e15551de9285ff82

18 months agoLoad remote svg image as low priority 72/294472/2
Eunki, Hong [Tue, 20 Jun 2023 02:23:08 +0000 (11:23 +0900)]
Load remote svg image as low priority

Since we can load svg file as remote, make remote svg image load task as low priority

Change-Id: Ib0604ef8cda045641c331f367bb02e85c8304e35
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoMerge "Particle emitter makes sure the renderer clears vertex update callback upon...
Adeel Kazmi [Wed, 21 Jun 2023 11:27:16 +0000 (11:27 +0000)]
Merge "Particle emitter makes sure the renderer clears vertex update callback upon destruction." into devel/master

18 months agoMerge "FocusFinder use CalculateCurrentScreenExtents" into devel/master
Eunki Hong [Wed, 21 Jun 2023 01:10:28 +0000 (01:10 +0000)]
Merge "FocusFinder use CalculateCurrentScreenExtents" into devel/master

18 months agoParticle emitter makes sure the renderer clears vertex update callback upon destruction. 19/294519/3
Adam Bialogonski [Tue, 20 Jun 2023 11:55:57 +0000 (12:55 +0100)]
Particle emitter makes sure the renderer clears vertex update callback upon destruction.

Change-Id: I27ede3879ef8e6d510118b6c872bb333275bc782
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
18 months agoMerge "Change trace tag for text dorelayout" into devel/master
Bowon Ryu [Tue, 20 Jun 2023 01:20:22 +0000 (01:20 +0000)]
Merge "Change trace tag for text dorelayout" into devel/master

18 months agoMerge "Add Light for Scene3D" into devel/master
Seungho BAEK [Mon, 19 Jun 2023 09:06:16 +0000 (09:06 +0000)]
Merge "Add Light for Scene3D" into devel/master

18 months agoChange trace tag for text dorelayout 24/294424/1
Bowon Ryu [Mon, 19 Jun 2023 05:46:39 +0000 (14:46 +0900)]
Change trace tag for text dorelayout

Change the tag of DALI_TEXT_DORELAYOUT log to DALI_TRACE_PERFORMANCE_MARKER.
This will output DoRelayout's trace log by default.

Change-Id: I1f75505e172fdb7ab18c5314cd950681d3d4f483
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months agoAdd Light for Scene3D 15/293315/28
seungho baek [Wed, 24 May 2023 09:35:28 +0000 (18:35 +0900)]
Add Light for Scene3D

Change-Id: If21ef89a2254dd835c80449da575d301124f8fcc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months agoFix constants' type in gradient visual. 19/294419/2
seungho baek [Mon, 19 Jun 2023 05:07:14 +0000 (14:07 +0900)]
Fix constants' type in gradient visual.

Change-Id: I3f7844a7e5bec4c734621b1fbf784da826187363
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months agoMerge "Fix Gradient Visual texturing issue" into devel/master
Seungho BAEK [Mon, 19 Jun 2023 04:54:53 +0000 (04:54 +0000)]
Merge "Fix Gradient Visual texturing issue" into devel/master

18 months agoMerge "(Vector) Use one EventThreadCallback" into devel/master
Heeyong Song [Mon, 19 Jun 2023 00:38:20 +0000 (00:38 +0000)]
Merge "(Vector) Use one EventThreadCallback" into devel/master

18 months agoDALi Version 2.2.31 72/294372/1 dali_2.2.31
Richard Huang [Fri, 16 Jun 2023 13:48:40 +0000 (14:48 +0100)]
DALi Version 2.2.31

Change-Id: I07d7460b8a61ad3ed45ced58763790f3a4137f96

18 months agoFix Gradient Visual texturing issue 65/294365/2
seungho baek [Fri, 16 Jun 2023 11:57:21 +0000 (20:57 +0900)]
Fix Gradient Visual texturing issue

Change-Id: I6b0318cfb8716f5a8a08e1e96e4ca256f00af12e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago(Vector) Use one EventThreadCallback 79/294279/1
Heeyong Song [Tue, 13 Jun 2023 07:33:48 +0000 (16:33 +0900)]
(Vector) Use one EventThreadCallback

EventThreadCallback uses an fd internally and some systems have a limit on the number of fd.
So reduce the number of fd

Change-Id: I55f6e7f5211d0bc567a1b2362c782e9fc2a74b90

18 months agoFocusFinder use CalculateCurrentScreenExtents 40/292840/4
Eunki Hong [Mon, 15 May 2023 15:14:48 +0000 (00:14 +0900)]
FocusFinder use CalculateCurrentScreenExtents

Let we use CalculateCurrentScreenExtents instead of CalculateScreenExtents
during find next focusable actor.
Since CalculateScreenExtents is heavy job, we'd better use
CalculateCurrentScreenExtents, what we were used until now.

Change-Id: Ic59f23869c549457ce622899876cef178dabb63b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
18 months agoFix logical error for dli animation duration 18/294018/3
Eunki Hong [Fri, 9 Jun 2023 15:58:14 +0000 (00:58 +0900)]
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>
18 months agoMerge "Clear cached font data if appended too much" into devel/master
Eunki Hong [Wed, 14 Jun 2023 00:56:12 +0000 (00:56 +0000)]
Merge "Clear cached font data if appended too much" into devel/master

18 months agoClear cached font data if appended too much 58/293058/3
Eunki, Hong [Fri, 19 May 2023 02:49:09 +0000 (11:49 +0900)]
Clear cached font data if appended too much

Until found the reason of cache size appending, just keep this removal logic.

Change-Id: I9a1e6c2db486af9c711c80ab65bb03435719c3f9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoSync native image test harness 63/293463/3
Heeyong Song [Tue, 30 May 2023 01:38:30 +0000 (10:38 +0900)]
Sync native image test harness

Change-Id: I45deaaa3ca96468ae08488fc54aea469134564fa

18 months agoMerge "Apply font size scale to markup text" into devel/master
Bowon Ryu [Fri, 9 Jun 2023 10:26:27 +0000 (10:26 +0000)]
Merge "Apply font size scale to markup text" into devel/master

18 months agoDALi Version 2.2.30 87/293987/1 dali_2.2.30
David Steele [Fri, 9 Jun 2023 09:50:16 +0000 (10:50 +0100)]
DALi Version 2.2.30

Change-Id: Idaf8f5bea74b26a14384a960a4c6e8a563ce1b92

18 months agoApply font size scale to markup text 50/293950/2
Bowon Ryu [Fri, 9 Jun 2023 05:00:14 +0000 (14:00 +0900)]
Apply font size scale to markup text

Change-Id: I1c6467a1ebb42b4604497db12b12052fc7deba80
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months agoLock model cache manager access for thread safety 99/293199/11
Eunki Hong [Mon, 22 May 2023 14:32:59 +0000 (23:32 +0900)]
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>
18 months agoMerge "Do not observe when Reload" into devel/master
Adeel Kazmi [Tue, 6 Jun 2023 15:29:56 +0000 (15:29 +0000)]
Merge "Do not observe when Reload" into devel/master

18 months agoParticle System: Fixes 18/293818/2
Adam Bialogonski [Mon, 5 Jun 2023 15:14:10 +0000 (16:14 +0100)]
Particle System: Fixes

- Fixed anaylysis hub error
- making sure only one renderer is being added

Change-Id: I82e13306621787200d48d5fa102328980a087d7c
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
18 months agoUse SceneHolder::Get() instead of Window::Get() 04/293804/2
Heeyong Song [Mon, 5 Jun 2023 08:53:11 +0000 (17:53 +0900)]
Use SceneHolder::Get() instead of Window::Get()

To support off-screen window

Change-Id: I5d12ab14190a98b90904637a6b2d1c89d8a70c09

18 months agoParticle System 70/293770/3
Adam Bialogonski [Fri, 2 Jun 2023 14:01:42 +0000 (15:01 +0100)]
Particle System

- added base lifetime stream
- fixed default particle color
- fixed freelist management

Change-Id: I7ef1ef03200420b3db4e9877bbdeeb1e876ba101

18 months agoMerge changes I89471ca9,I866ffdec into devel/master
David Steele [Fri, 2 Jun 2023 17:18:29 +0000 (17:18 +0000)]
Merge changes I89471ca9,I866ffdec into devel/master

* changes:
  Test sync with adaptor
  Test sync for vertex range

18 months agoMerge "DALi Version 2.2.29" into devel/master
David Steele [Fri, 2 Jun 2023 10:59:18 +0000 (10:59 +0000)]
Merge "DALi Version 2.2.29" into devel/master

18 months agoDALi Version 2.2.29 51/293751/1 dali_2.2.29
Richard Huang [Fri, 2 Jun 2023 10:37:06 +0000 (11:37 +0100)]
DALi Version 2.2.29

Change-Id: I21ddb585decd1412ad1e6ac347d418fabd85dd93

18 months ago(SceneView) Reset the removed RenderTask 70/293670/1
Heeyong Song [Fri, 2 Jun 2023 02:22:31 +0000 (11:22 +0900)]
(SceneView) Reset the removed RenderTask

Change-Id: I29a1d8ae306f49d0dd9b13842ba2f1d95190690d

18 months agoMerge "Fix SVG crash issue" into devel/master
Heeyong Song [Thu, 1 Jun 2023 13:14:40 +0000 (13:14 +0000)]
Merge "Fix SVG crash issue" into devel/master

18 months agoFix SVG crash issue 36/293636/1
Heeyong Song [Thu, 1 Jun 2023 04:49:08 +0000 (13:49 +0900)]
Fix SVG crash issue

Remove previous task before create a new task

Change-Id: I77ef7d92e48d1ad256f9d2b07b6423e7b572ff5f

18 months agoAdd dali-scene3d.h for increase app developer convenience 98/293598/3
Eunki, Hong [Wed, 31 May 2023 23:56:45 +0000 (08:56 +0900)]
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>
18 months agoTest sync with adaptor 02/293202/4
David Steele [Thu, 27 Apr 2023 11:11:01 +0000 (12:11 +0100)]
Test sync with adaptor

Adaptor changes for integer attribute

Change-Id: I89471ca98179d1ca9a9e19db6110585d7231378a

18 months agoTest sync for vertex range 43/293443/3
David Steele [Fri, 26 May 2023 13:23:28 +0000 (14:23 +0100)]
Test sync for vertex range

Change-Id: I866ffdec46f66574becfda16a150992226a8247a

18 months agoDo not observe when Reload 86/293386/8
Eunki, Hong [Thu, 25 May 2023 09:51:20 +0000 (18:51 +0900)]
Do not observe when Reload

Previously, we add same observer multiple times when image is loading state
and user do Reload action multiple times.

In that case, there might be problem if visual destroyed.

TODO : We should consider when we call Reload during ResourceReady()
TODO : We should consider when reload visual has mask texture id

Change-Id: Iab8b193281649783b80a6e9fb89e86c625b4388a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoLet we use integer uniform for shader 71/293471/1
Eunki, Hong [Tue, 30 May 2023 03:54:26 +0000 (12:54 +0900)]
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>
18 months agoSync test harness 83/293383/3
Heeyong Song [Thu, 25 May 2023 09:16:19 +0000 (18:16 +0900)]
Sync test harness

Change-Id: Ia4081494e429aa3674402fb8b39f7e7f8c83a417

19 months agoMerge "DALi Version 2.2.28" into devel/master
David Steele [Fri, 26 May 2023 11:42:25 +0000 (11:42 +0000)]
Merge "DALi Version 2.2.28" into devel/master

19 months agoDALi Version 2.2.28 28/293428/1 dali_2.2.28
Adeel Kazmi [Fri, 26 May 2023 11:39:53 +0000 (12:39 +0100)]
DALi Version 2.2.28

Change-Id: Ie68bdc2f2e17a1cf1906382c58fedb9dcc982b0e

19 months ago[AT-SPI] Remove Text{Editor,Field}::mStencil from the tree 98/293398/1
Artur Świgoń [Thu, 25 May 2023 12:59:41 +0000 (14:59 +0200)]
[AT-SPI] Remove Text{Editor,Field}::mStencil from the tree

These objects are not interesting to the Screen Reader.

Change-Id: I764ca04999114ca7f14a3e9a04442c1971b79ad7

19 months agoMerge "Sync test harness" into devel/master
David Steele [Wed, 24 May 2023 09:55:47 +0000 (09:55 +0000)]
Merge "Sync test harness" into devel/master

19 months agoSync test harness 88/293288/3
Eunki, Hong [Wed, 24 May 2023 01:58:08 +0000 (10:58 +0900)]
Sync test harness

Sync test harness for ttrace

Change-Id: I501505ff721168212cda2eba5d4ebf51e9ce3e76
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoSkip call resourceReady() for disabled visual 28/293028/7
sunghyun kim [Thu, 18 May 2023 07:35:28 +0000 (16:35 +0900)]
Skip call resourceReady() for disabled visual

for disabled visuals, ResourceReady is not called.

Change-Id: I9864cde4bffeb1eab5c11812f6911c1772692a4a

19 months agoMerge "Let ModelCache use std::map instead of unordered_map" into devel/master
Adeel Kazmi [Mon, 22 May 2023 13:32:14 +0000 (13:32 +0000)]
Merge "Let ModelCache use std::map instead of unordered_map" into devel/master

19 months agoAdd comment for gradient visual 72/293172/1
seungho baek [Mon, 22 May 2023 05:17:51 +0000 (14:17 +0900)]
Add comment for gradient visual

Change-Id: I41b226479eaef61cff387c81d4532664ec961bce
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
19 months agoSync test harness 32/293032/2
Heeyong Song [Thu, 18 May 2023 08:38:24 +0000 (17:38 +0900)]
Sync test harness

Change-Id: I1bb2bd71ae9133e165cace85e6e8da283b47b6e8

19 months agoMerge "DALi Version 2.2.27" into devel/master
Adeel Kazmi [Fri, 19 May 2023 14:32:30 +0000 (14:32 +0000)]
Merge "DALi Version 2.2.27" into devel/master

19 months agoDALi Version 2.2.27 97/293097/1 dali_2.2.27
David Steele [Fri, 19 May 2023 14:26:38 +0000 (15:26 +0100)]
DALi Version 2.2.27

Change-Id: I78db66fb7d915727e2797179b3e1fc993938c635

19 months agoMerge "Fix the normalization factor calculation for blendshapes" into devel/master
Adeel Kazmi [Fri, 19 May 2023 12:49:19 +0000 (12:49 +0000)]
Merge "Fix the normalization factor calculation for blendshapes" into devel/master

19 months agoFix initial white space issue in text 80/293080/1
Bowon Ryu [Fri, 19 May 2023 07:38:40 +0000 (16:38 +0900)]
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>
19 months agoLet ModelCache use std::map instead of unordered_map 38/292938/3
Eunki, Hong [Wed, 17 May 2023 08:14:38 +0000 (17:14 +0900)]
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>
19 months agoFix the normalization factor calculation for blendshapes 45/293045/2
Richard [Thu, 18 May 2023 14:09:13 +0000 (15:09 +0100)]
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

19 months agoFix build error 42/293042/1
Eunki Hong [Thu, 18 May 2023 13:09:21 +0000 (22:09 +0900)]
Fix build error

mesh-definition.cpp:557:119: error: the address of ‘sparseIndices’ will never be NULL [-Werror=address]

There was some coding mistakes exist.

Change-Id: Id327965bebf6d1f4132499ff674d863f772ad6f9
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoMerge "Blendshapes fix (still missing tests)" into devel/master
Adeel Kazmi [Wed, 17 May 2023 17:18:06 +0000 (17:18 +0000)]
Merge "Blendshapes fix (still missing tests)" into devel/master

19 months agoBlendshapes fix (still missing tests) 85/292885/7
Adam Bialogonski [Tue, 16 May 2023 15:53:24 +0000 (16:53 +0100)]
Blendshapes fix (still missing tests)

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>
19 months agoMerge "Added build dependencies on shader source" into devel/master
David Steele [Wed, 17 May 2023 13:22:00 +0000 (13:22 +0000)]
Merge "Added build dependencies on shader source" into devel/master

19 months agoMerge "Fixed vector and list includes to use wrappers" into devel/master
Adeel Kazmi [Wed, 17 May 2023 12:29:17 +0000 (12:29 +0000)]
Merge "Fixed vector and list includes to use wrappers" into devel/master

19 months agoMerge "Modified to use the appropriate TextureSet in external texture" into devel...
sunghyun kim [Wed, 17 May 2023 06:29:28 +0000 (06:29 +0000)]
Merge "Modified to use the appropriate TextureSet in external texture" into devel/master

19 months agoModified to use the appropriate TextureSet in external texture 73/292873/2
sunghyun kim [Tue, 16 May 2023 06:26:14 +0000 (15:26 +0900)]
Modified to use the appropriate TextureSet in external texture

Change-Id: Id3b81f769fad02e90a5b5fd311e13bbe9692d200

19 months agoAdded build dependencies on shader source 94/292894/1
David Steele [Tue, 16 May 2023 17:09:36 +0000 (18:09 +0100)]
Added build dependencies on shader source

Change-Id: I0ba71532793acc760928a081c6ed428c666713b7

19 months agoSet AnimatedVectorVisual play range by single marker 90/292890/1
Eunki Hong [Tue, 16 May 2023 16:27:31 +0000 (01:27 +0900)]
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>
19 months agoMerge "Masking support for external textures" into devel/master
sunghyun kim [Tue, 16 May 2023 05:39:58 +0000 (05:39 +0000)]
Merge "Masking support for external textures" into devel/master

19 months agoFix build error for Ubuntu 22.04 37/292837/1
Eunki Hong [Mon, 15 May 2023 13:51:04 +0000 (22:51 +0900)]
Fix build error for Ubuntu 22.04

Let we include <limits> so we can use std::numeric_limits

Change-Id: I0fdf8a1588bef5299ac1c8586ff8d5050460d706
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoMerge "Let navigation mesh use same type for Index" into devel/master
David Steele [Mon, 15 May 2023 10:10:58 +0000 (10:10 +0000)]
Merge "Let navigation mesh use same type for Index" into devel/master

19 months agoMasking support for external textures 38/292338/8
sunghyun kim [Thu, 4 May 2023 02:13:14 +0000 (11:13 +0900)]
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

19 months agoFix svace issue (ParticleRenderer initialize) 84/292784/1
Eunki, Hong [Sun, 14 May 2023 23:27:22 +0000 (08:27 +0900)]
Fix svace issue (ParticleRenderer initialize)

Change-Id: I5af106b8af25e9d153dd8a5198cbc625e7cdaf0a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoFixed vector and list includes to use wrappers 82/292782/2
Adam Bialogonski [Fri, 12 May 2023 17:21:40 +0000 (18:21 +0100)]
Fixed vector and list includes to use wrappers

Change-Id: I6d9de7cc0d79e3ec20ead7827236477a7825d361

19 months agoParticle System 30/291730/14
Adam Bialogonski [Fri, 12 May 2023 11:18:44 +0000 (12:18 +0100)]
Particle System

Implementation of DALi Particle System.

Change-Id: I33783236361b31f32460160ea42cb5833b83dc2c

19 months agoMerge "DALi Version 2.2.26" into devel/master
Adeel Kazmi [Fri, 12 May 2023 09:58:58 +0000 (09:58 +0000)]
Merge "DALi Version 2.2.26" into devel/master

19 months agoMerge "[AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE...
Lukasz Oleksak [Fri, 12 May 2023 09:52:01 +0000 (09:52 +0000)]
Merge "[AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE" into devel/master

19 months agoDALi Version 2.2.26 60/292760/1 dali_2.2.26
Richard Huang [Fri, 12 May 2023 09:47:53 +0000 (10:47 +0100)]
DALi Version 2.2.26

Change-Id: I9948da5c359db326e4dce04f58041d5f4848e32e

19 months agoSupport model size change 85/292685/3
seungho baek [Thu, 11 May 2023 08:36:55 +0000 (17:36 +0900)]
Support model size change

Change-Id: I78a7aa569ae164d07a7809bc7dd7106531face29
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
19 months ago[AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE 03/292703/1
Artur Świgoń [Thu, 11 May 2023 10:54:27 +0000 (12:54 +0200)]
[AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE

Change-Id: I3e4bf575b257e8020dbf5c68111b4219beec39e3

19 months agoLet navigation mesh use same type for Index 19/291619/6
Eunki, Hong [Wed, 19 Apr 2023 07:38:10 +0000 (16:38 +0900)]
Let navigation mesh use same type for Index

navigation mesh itself use each Vertex/Edge/Face index as uint16_t,
and PathFinder use the face index as uint32_t.

To avoid annoying type conversion, Let we make both case
use uint16_t, which is define at navigation-mesh.h

Change-Id: Ic7346361fa214934f601dd0083a838445c047025
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoMerge "Fix normal vector error when we use skin" into devel/master
Eunki Hong [Wed, 10 May 2023 08:10:53 +0000 (08:10 +0000)]
Merge "Fix normal vector error when we use skin" into devel/master

19 months agoFix multiple primitive skinning error 42/292342/3
Eunki, Hong [Thu, 4 May 2023 08:03:01 +0000 (17:03 +0900)]
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>
19 months agoFix normal vector error when we use skin 49/292549/3
Eunki, Hong [Wed, 10 May 2023 01:35:07 +0000 (10:35 +0900)]
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>