platform/core/uifw/dali-core.git
7 months agoSVACE Fix: Initialise all members in SceneGraph::Animation 88/308188/1
Adeel Kazmi [Tue, 19 Mar 2024 08:11:02 +0000 (08:11 +0000)]
SVACE Fix: Initialise all members in SceneGraph::Animation

Change-Id: I96c3d9e6606afd0dcab84053620fcadec64c685d

7 months agoMerge "Append Stopped animation notify list at Update Animation time" into devel...
Eunki Hong [Mon, 18 Mar 2024 08:15:54 +0000 (08:15 +0000)]
Merge "Append Stopped animation notify list at Update Animation time" into devel/master

7 months agoGet the id of animation and render task 07/305707/3
Eunki Hong [Tue, 6 Feb 2024 15:35:48 +0000 (00:35 +0900)]
Get the id of animation and render task

Let we support to get the id of Animation and RenderTask, follow by NotifyInterface notify id.

Change-Id: I56b6a0d27ceae4024fb52255062ebd00b87332eb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
7 months agoAppend Stopped animation notify list at Update Animation time 45/307245/6
Eunki, Hong [Wed, 6 Mar 2024 09:01:41 +0000 (18:01 +0900)]
Append Stopped animation notify list at Update Animation time

Let we insert animation notification list at Animate() time, instead of
immediate.

This will make insure we will not notify signal for destroyed, cleared animation.
And it will increase performance minor.

Change-Id: I5371be63c36787874e9ae850e14e5796c5f819b1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoMerge "Unregister all processors if we need" into devel/master
Eunki Hong [Fri, 15 Mar 2024 23:26:41 +0000 (23:26 +0000)]
Merge "Unregister all processors if we need" into devel/master

8 months agoDALi Version 2.3.15 75/308075/1 dali_2.3.15
Adeel Kazmi [Fri, 15 Mar 2024 19:24:06 +0000 (19:24 +0000)]
DALi Version 2.3.15

Change-Id: I5d758ab48c230b0b4a4c1893991628c7ad180a6a

8 months agoUnregister all processors if we need 91/307691/2
Eunki, Hong [Tue, 12 Mar 2024 08:19:14 +0000 (17:19 +0900)]
Unregister all processors if we need

Let we ensure that all processor are unregistered after call
Core::UnregisterProcessors() API.

It will remove both Processor, and PostProcessor.

Change-Id: Ie70f287d8e0ec33579a5128ce2268a66aa4de277
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoMerge "Add NoIntercept KeyEvent modifier" into devel/master
Seoyeon Kim [Thu, 14 Mar 2024 04:59:36 +0000 (04:59 +0000)]
Merge "Add NoIntercept KeyEvent modifier" into devel/master

8 months agoRemove useless flag at SceneGraph::Renderer.mDirtyFlag 90/301290/4
Eunki Hong [Mon, 13 Nov 2023 11:33:33 +0000 (20:33 +0900)]
Remove useless flag at SceneGraph::Renderer.mDirtyFlag

We can use PropertyOwner::Updated() instead of mDirtyFlag.

Let we make use PropertyOwner system, instead of Renderer's own member value.

Change-Id: Ibf18f8dc8e1b8ebaf140034fe9132d1b45ac69d2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
8 months agoDALi Version 2.3.14 52/307452/1 dali_2.3.14
Adam Bialogonski [Fri, 8 Mar 2024 10:49:30 +0000 (10:49 +0000)]
DALi Version 2.3.14

Change-Id: If6cd46a0c4579fdacc804665c4375fc0019e5bcd

8 months agoFix typo error 10/307110/1
Eunki, Hong [Tue, 5 Mar 2024 03:51:04 +0000 (12:51 +0900)]
Fix typo error

Change-Id: I2b95863582ac00000d50b2491e4085bb09d7b5c0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoDo not recreate SG::Animation when we call Clear + Redefine Clear behavior 57/306957/4
Eunki, Hong [Thu, 29 Feb 2024 08:16:01 +0000 (17:16 +0900)]
Do not recreate SG::Animation when we call Clear + Redefine Clear behavior

Let we make Clear don't destroy & re-create the SG::Animation.

And also, we don't need to cache current loop count at event side.
Let we ask it to scene graph side, Same as other values are doing now.

Change-Id: I4b5353e7fb9ab1898ff4d22a8db78ccb3a19c460
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoFix svace : Assert when malloc matrix failed 11/307011/2
Eunki, Hong [Mon, 4 Mar 2024 01:49:47 +0000 (10:49 +0900)]
Fix svace : Assert when malloc matrix failed

It is possible to fail malloc memory. Let we notify this case.

Change-Id: Ice13e4f5a845f28d947fb9f0edff002e1b4b1c89
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoFix svace : assert when we fail to register animatable properties 06/307006/1
Eunki, Hong [Sun, 3 Mar 2024 23:57:12 +0000 (08:57 +0900)]
Fix svace : assert when we fail to register animatable properties

Change-Id: I8eccee3b241e0fbff509eab4c03a75466d33259f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoDALi Version 2.3.13 81/306981/1 dali_2.3.13
Richard Huang [Fri, 1 Mar 2024 11:42:03 +0000 (11:42 +0000)]
DALi Version 2.3.13

Change-Id: Ic5d63355961a026b33214e70ab0f229f7916fadd

8 months agoAdd NoIntercept KeyEvent modifier 28/298928/6
Artur Świgoń [Thu, 14 Sep 2023 13:34:58 +0000 (15:34 +0200)]
Add NoIntercept KeyEvent modifier

This modifier prevents the event from being intercepted. This, in turn, allows
the Accessibility module to intercept all events and then feed them back if not
consumed by the Screen Reader, without entering an infinite interception loop.

Change-Id: I667d5be40b1180c992852e2af025eb3b916742e8

8 months agoAdd updated area function to update-proxy 41/306041/7
Wonsik Jung [Thu, 15 Feb 2024 12:23:05 +0000 (21:23 +0900)]
Add updated area function to update-proxy

Add updated area function to update-proxy for partial rendering.
It is to improve the performance of update area hint.

Change-Id: I29960bd17e488147a5f382fe591346768ea686b2

8 months agoDALi Version 2.3.12 34/306634/1 dali_2.3.12
David Steele [Fri, 23 Feb 2024 13:05:32 +0000 (13:05 +0000)]
DALi Version 2.3.12

Change-Id: Id01839aa0cf90116286e2d23dbe091794fa6f1f9

8 months agoMerge "Do not re-create SG::Animation when we call Clear to empty animation + Clear...
Eunki Hong [Thu, 22 Feb 2024 05:31:32 +0000 (05:31 +0000)]
Merge "Do not re-create SG::Animation when we call Clear to empty animation + Clear reset some values" into devel/master

8 months agoMerge "Fix coverity issue : auto cause copy" into devel/master
Eunki Hong [Thu, 22 Feb 2024 04:18:47 +0000 (04:18 +0000)]
Merge "Fix coverity issue : auto cause copy" into devel/master

8 months agoMerge "Change the DIRECTION_HORIZONTAL value." into devel/master
joogab yun [Thu, 22 Feb 2024 01:45:12 +0000 (01:45 +0000)]
Merge "Change the DIRECTION_HORIZONTAL value." into devel/master

8 months agoSafety guard for BaseObject during SetProperty 50/306450/1
Eunki, Hong [Wed, 21 Feb 2024 12:43:32 +0000 (21:43 +0900)]
Safety guard for BaseObject during SetProperty

It is possible to delete self during SetProperty.
To avoid this case, let we keep the handle during
SetProperty / OnSetProperty / PropertySetSignal emit.

TODO : Is SetProperty is the only case to be break down?

Change-Id: I7cb8249958914105a2cb8e8e3a44545f23948516
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoChange the DIRECTION_HORIZONTAL value. 86/306386/1
joogab.yun [Wed, 21 Feb 2024 04:22:19 +0000 (13:22 +0900)]
Change the DIRECTION_HORIZONTAL value.

There is no difference in actual operation,
but the values ​​of DIRECTION_LEFT and DIRECTION_HORIZONTAL are matched just as DIRECTION_UP and DIRECTION_VERTICAL are the same.

Change-Id: I2c39ab7c48cb57e66ac5992a1e4134be7bed100b

8 months agoFix coverity issue : auto cause copy 17/306317/1
Eunki, Hong [Tue, 20 Feb 2024 06:14:06 +0000 (15:14 +0900)]
Fix coverity issue : auto cause copy

Make some auto as const auto& if we can

Change-Id: Icb8f1cb3e4c0c1559f03b049c630655a2885f0cb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoAdded ExecutionMode to RenderCallback. 86/306186/5
Adam Bialogonski [Fri, 16 Feb 2024 13:49:50 +0000 (13:49 +0000)]
Added ExecutionMode to RenderCallback.

ExecutionMode is a hint that tells graphics backend whether it should isolate native graphics API calls from main DALi rendering pipeline (ie. by creating individual GL context for the RenderCallback) or should inject calls directly into the DALi main rendering pipeline which will alter API state.

ExecutionMode::UNSAFE - injects calls directly, unsafe
ExecutionMode::ISOLATED - creates isolated context

Change-Id: Iac679a87ee47b95c623182d669d26664fdda7cc9

8 months agoMerge "When a hover event enters a new actor, events are delivered in the order of...
joogab yun [Mon, 19 Feb 2024 06:10:25 +0000 (06:10 +0000)]
Merge "When a hover event enters a new actor, events are delivered in the order of start -> leave, but are modified to be delivered in the order of leave -> started." into devel/master

8 months agoDo not re-create SG::Animation when we call Clear to empty animation + Clear reset... 38/305938/8
Eunki Hong [Wed, 14 Feb 2024 02:51:16 +0000 (11:51 +0900)]
Do not re-create SG::Animation when we call Clear to empty animation + Clear reset some values

Since we always destroy & create scene obeject whenever we call Clear(),
It will be make some useless memory increasement when user call
Clear() infinitely.

To avoid this cases, let we re-create that object only if we call Play() before
or at least 1 animator exist.

And also, make Clear() API reset some sensitive values, like CurrentLoop and State.

Change-Id: I7f79b5e8e2bf822f01f094e4023e90e5f0922faa
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
8 months agoMerge "DALi Version 2.3.11" into devel/master
David Steele [Fri, 16 Feb 2024 11:13:02 +0000 (11:13 +0000)]
Merge "DALi Version 2.3.11" into devel/master

8 months agoDALi Version 2.3.11 61/306161/1 dali_2.3.11
Richard Huang [Fri, 16 Feb 2024 11:02:03 +0000 (11:02 +0000)]
DALi Version 2.3.11

Change-Id: I6cf2537b57fa1e81ba245372f9222615caff1fce

8 months agoMerge "Support to get shader language version for shader static API" into devel/master
Eunki Hong [Fri, 16 Feb 2024 07:17:22 +0000 (07:17 +0000)]
Merge "Support to get shader language version for shader static API" into devel/master

8 months agoMerge "Cache traveler only if the node was child of root node" into devel/master
Eunki Hong [Thu, 15 Feb 2024 23:41:47 +0000 (23:41 +0000)]
Merge "Cache traveler only if the node was child of root node" into devel/master

8 months agoMerge "Added wait/client wait methods to sync abstraction" into devel/master
David Steele [Thu, 15 Feb 2024 16:48:23 +0000 (16:48 +0000)]
Merge "Added wait/client wait methods to sync abstraction" into devel/master

8 months agoMerge "Change Layer's ReuseRenderers check only if we need" into devel/master
David Steele [Thu, 15 Feb 2024 16:47:46 +0000 (16:47 +0000)]
Merge "Change Layer's ReuseRenderers check only if we need" into devel/master

8 months agoWhen a hover event enters a new actor, events are delivered in the order of start... 35/306035/1
joogab.yun [Thu, 15 Feb 2024 09:42:39 +0000 (18:42 +0900)]
When a hover event enters a new actor, events are delivered in the order of start -> leave, but are modified to be delivered in the order of leave -> started.

Change-Id: Ib917930b4e48b3ded41f10cebce62af41046ddce

8 months agoCache traveler only if the node was child of root node 36/305936/2
Eunki Hong [Wed, 14 Feb 2024 02:29:48 +0000 (11:29 +0900)]
Cache traveler only if the node was child of root node

To avoid cache node infinitly, let we cache only if the node was child of root.
If then, we don't worry about memory increasement.

Change-Id: I8a97a84f6dc6721ca185241f76df5e968f02161a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoAdded wait/client wait methods to sync abstraction 84/305884/3
David Steele [Mon, 12 Feb 2024 18:42:56 +0000 (18:42 +0000)]
Added wait/client wait methods to sync abstraction

Note, sync abstraction isn't used by dali-core, but still
has a test implementation, so not going to move it to
dali-adaptor in this patchset.

Change-Id: Iea2b9cb74bcbaffbdf1a181de796010aa371ad03
Signed-off-by: David Steele <david.steele@samsung.com>
9 months agoSupport to get shader language version for shader static API 37/305637/4
Eunki, Hong [Mon, 5 Feb 2024 14:47:04 +0000 (23:47 +0900)]
Support to get shader language version for shader static API

Let we support to get shader language version

Change-Id: Ic9a1c2223633acb965f945d04179d20a9d7b89b7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoMerge "Add shader class name so we can debug easly." into devel/master
Eunki Hong [Wed, 14 Feb 2024 06:37:23 +0000 (06:37 +0000)]
Merge "Add shader class name so we can debug easly." into devel/master

9 months agoChange Layer's ReuseRenderers check only if we need 04/305704/2
Eunki Hong [Tue, 6 Feb 2024 14:37:11 +0000 (23:37 +0900)]
Change Layer's ReuseRenderers check only if we need

Until now, we check ReuseRenderers value even though we make it as false.
It may required iterate O(RenderItem) times. So we can reduce useless check.

Change-Id: I83364e5dd7816e1b09c1ac01e30c45ad20d1769a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoDALi Version 2.3.10 42/305842/1 dali_2.3.10
Adeel Kazmi [Fri, 9 Feb 2024 10:11:30 +0000 (10:11 +0000)]
DALi Version 2.3.10

Change-Id: I60227547556b391ef337ea6a2688c11e2663c311

9 months agoDo not travel scene tree what we don't need to 71/305771/1
Eunki, Hong [Wed, 7 Feb 2024 12:14:35 +0000 (21:14 +0900)]
Do not travel scene tree what we don't need to

During Renderables adding cases, there was some hidden tree treversal exist
when the view visibility changed (false --> true).

This mUpdated = true; will be used when we check DamagedRects.

Since we dont need to propargate this informations to all decents,
let we propargate this visibility changed information only for this
recursive function, and forget.

Change-Id: I36e6e045a72d7bdfb1b0ea2d5b4784cc05e6173c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoAdd shader class name so we can debug easly. 88/305488/8
Eunki, Hong [Fri, 2 Feb 2024 08:01:53 +0000 (17:01 +0900)]
Add shader class name so we can debug easly.

Let we allow to apply / get the name of shader.
It will be useful when we want to control default shader + debug it.

Change-Id: Ic69201401191449bc78dafa750e6d097e5f72cde
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoMerge "Optimize render task completed notify signal" into devel/master
Eunki Hong [Wed, 7 Feb 2024 03:52:31 +0000 (03:52 +0000)]
Merge "Optimize render task completed notify signal" into devel/master

9 months agoMerge "Touch and Hover event propagrated by geometry way.(5)" into devel/master
joogab yun [Wed, 7 Feb 2024 01:28:12 +0000 (01:28 +0000)]
Merge "Touch and Hover event propagrated by geometry way.(5)" into devel/master

9 months agoMerge "Remove inclusion of gl-abstraction.h" into devel/master
Adeel Kazmi [Tue, 6 Feb 2024 18:53:02 +0000 (18:53 +0000)]
Merge "Remove inclusion of gl-abstraction.h" into devel/master

9 months agoOptimize render task completed notify signal 08/305708/1
Eunki Hong [Tue, 6 Feb 2024 15:59:05 +0000 (00:59 +0900)]
Optimize render task completed notify signal

Let we follow up RenderTask also optimized like Animation.

The relationship between RenderTask <-> RenderTaskList is euqal with
Animation <-> AnimationPlayList. So we can use same logic.

Change-Id: I61072374252394e01fe542d8b02941c5b4e58476
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoMerge "Fix INTEGER_OVERFLOW coverity issues" into devel/master
Eunki Hong [Tue, 6 Feb 2024 05:17:42 +0000 (05:17 +0000)]
Merge "Fix INTEGER_OVERFLOW coverity issues" into devel/master

9 months agoMerge "Add OrderIndex to RenderTask to control rendering order between RenderTask...
Seungho BAEK [Tue, 6 Feb 2024 05:17:19 +0000 (05:17 +0000)]
Merge "Add OrderIndex to RenderTask to control rendering order between RenderTask" into devel/master

9 months agoTouch and Hover event propagrated by geometry way.(5) 98/304098/19
joogab.yun [Wed, 10 Jan 2024 04:51:24 +0000 (13:51 +0900)]
Touch and Hover event propagrated by geometry way.(5)

1. If there is a consumed actor, the intercept is sent only up to the moment before the consumed actor.
2. To propagate the gesture, check whether it has been detected and the NeedGesturePropagation flag.

Change-Id: Icfbec13c000092ae8526e0a269cd180fd7431a9e

9 months agoRemove inclusion of gl-abstraction.h 42/305642/1
David Steele [Mon, 5 Feb 2024 16:55:47 +0000 (16:55 +0000)]
Remove inclusion of gl-abstraction.h

Remove all #includes.

Would like to move this abstraction to dali-adaptor, but many tests use the test-gl-abstraction
layer to check that e.g. uniforms have been written. Instead, they should be modified to use the
test graphics layer, but that's a lot of work :/.

So, have just removed the usage, but left the file there.

Change-Id: I16f4945eb54ede451f4c91ee130284e84d653309
Signed-off-by: David Steele <david.steele@samsung.com>
9 months agoAdd OrderIndex to RenderTask to control rendering order between RenderTask 49/305249/8
seungho baek [Tue, 30 Jan 2024 09:14:19 +0000 (18:14 +0900)]
Add OrderIndex to RenderTask to control rendering order between RenderTask

Change-Id: I7aa9bec7a27c04878d1842751ea64813068d582f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
9 months agoFix mis-implementation for GetLinearEnumerationName 58/305558/1
Eunki, Hong [Mon, 5 Feb 2024 03:51:24 +0000 (12:51 +0900)]
Fix mis-implementation for GetLinearEnumerationName

Let we fix mis-implementation of GetLinearEnumerationName,
and add relative UTC for it.

Change-Id: I77dc0b9ae3ca0f5fd563f12e8faaf4fc36549b97
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoMerge "Removing old temporary graphics APIs" into devel/master
David Steele [Fri, 2 Feb 2024 16:43:24 +0000 (16:43 +0000)]
Merge "Removing old temporary graphics APIs" into devel/master

9 months agoDALi Version 2.3.9 97/305497/1 dali_2.3.9
Adam Bialogonski [Fri, 2 Feb 2024 09:57:58 +0000 (09:57 +0000)]
DALi Version 2.3.9

Change-Id: I2a50f5f3d7de05bcad0e3c73dc8cdeb08fd16180

9 months agoFix INTEGER_OVERFLOW coverity issues 29/305429/4
Eunki, Hong [Thu, 1 Feb 2024 11:28:08 +0000 (20:28 +0900)]
Fix INTEGER_OVERFLOW coverity issues

 - LinearConstraint : min value could be zero. We should branch out that case.
 - Render::Geometry : The number of indecies could be zero.
 - BaseSignal : Callback might be nullptr (even if we don't allow this cases)
 - Program : we might fail to find '[' keyword.

Change-Id: I45c3fe567e98973d2a215b975f8094b7222995a8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoRemoving old temporary graphics APIs 56/305356/2
David Steele [Wed, 31 Jan 2024 18:56:41 +0000 (18:56 +0000)]
Removing old temporary graphics APIs

Change-Id: I41c5af839ab5b0807194ebe2ecedbbaa27ba033c

9 months agoRemoving unused threadpool 53/305353/1
David Steele [Wed, 31 Jan 2024 16:52:55 +0000 (16:52 +0000)]
Removing unused threadpool

Change-Id: Ia2cccb3bee0068b15f5eff1c23d46ff62cc97b3b

9 months agoMerge "Remove duplicate codes for screen position" into devel/master
Seoyeon Kim [Wed, 31 Jan 2024 08:33:59 +0000 (08:33 +0000)]
Merge "Remove duplicate codes for screen position" into devel/master

9 months agoRemove duplicate codes for screen position 43/305143/2
Seoyeon Kim [Mon, 29 Jan 2024 07:28:48 +0000 (16:28 +0900)]
Remove duplicate codes for screen position

- There are some duplicate codes when screen position and screen extent
are calculated.
- Remove these duplicate codes to make new methods for calculation

Change-Id: I5c9a50f5125933013bfd20a85c13f55a16fc4387
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
9 months agoKeep node by id + Make SceneGraphTraveler don't travel anymore 62/305062/6
Eunki, Hong [Fri, 26 Jan 2024 04:12:28 +0000 (13:12 +0900)]
Keep node by id + Make SceneGraphTraveler don't travel anymore

Let we keep whole nodes cache by id.
And let we make scene graph traveler use this system instead of traveling.

Previously, if we want to check whether given node is under root node,
we should search whole childrens (travel up-to-down).

Instead, let we travel down-to-up, s.t. will spend much less time than before.

And also, let we make a way to user don't use root actor for frame callback.
It is not a neccessary if we ask to node to mUpdateManger.

Change-Id: Ied34d176a05c87687cbfe0530612d53606c7e7a4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoDALi Version 2.3.8 92/305092/1 dali_2.3.8
David Steele [Fri, 26 Jan 2024 10:20:52 +0000 (10:20 +0000)]
DALi Version 2.3.8

Change-Id: I11e4edbb0826c239a953769ea3dbe0057c58a503

9 months agoReduce CC of HoverEventProcessor::ProcessHoverEvent 85/304585/8
Adeel Kazmi [Sat, 20 Jan 2024 13:01:38 +0000 (13:01 +0000)]
Reduce CC of HoverEventProcessor::ProcessHoverEvent

Change-Id: Iec40f015ab571f4bdfe0b3b049c4770a5a4f328d

9 months agoMerge "Remove useless KeyFrame if we need" into devel/master
David Steele [Tue, 23 Jan 2024 17:45:12 +0000 (17:45 +0000)]
Merge "Remove useless KeyFrame if we need" into devel/master

9 months agoMerge "Reducing uniform memory usage" into devel/master
Adeel Kazmi [Tue, 23 Jan 2024 17:37:34 +0000 (17:37 +0000)]
Merge "Reducing uniform memory usage" into devel/master

9 months agoReducing uniform memory usage 57/296157/4
David Steele [Thu, 20 Jul 2023 13:14:45 +0000 (14:14 +0100)]
Reducing uniform memory usage

Removing lookup/cache of property type function getter & size getter.
Reduces size of uniform map from 64 bytes to 48 bytes on x86-64 platform

Change-Id: I1f5259192a974a5579b381564a8d16df67d28589

9 months agoReduce CC of TouchEventProcessor::ProcessTouchEvent 83/304583/8
Adeel Kazmi [Sat, 20 Jan 2024 10:38:32 +0000 (10:38 +0000)]
Reduce CC of TouchEventProcessor::ProcessTouchEvent

Change-Id: I725981925bb16368ed146bba414ef8ed549bffbe

9 months agoRemove useless KeyFrame if we need 85/304385/5
Eunki Hong [Tue, 16 Jan 2024 16:12:44 +0000 (01:12 +0900)]
Remove useless KeyFrame if we need

Since it might heavy if the number of frame is quite large.

To reduce CPU overhead, let we make some way to remove and optimize
if user want.

Change-Id: Ia465012ead42c1a083be9a2f62d840f5ac158d00
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoMerge "DALi Version 2.3.7" into devel/master
Adeel Kazmi [Fri, 19 Jan 2024 10:18:36 +0000 (10:18 +0000)]
Merge "DALi Version 2.3.7" into devel/master

9 months agoDALi Version 2.3.7 53/304553/1 dali_2.3.7
Adam Bialogonski [Fri, 19 Jan 2024 09:52:03 +0000 (09:52 +0000)]
DALi Version 2.3.7

Change-Id: Ie2911465664d800f7777dab35bb18a2f3fc3fdcb

9 months agoPrevents writing array uniforms with out-of-bound indices and accidental overwrite... 78/304178/4
Adam Bialogonski [Thu, 18 Jan 2024 14:25:34 +0000 (14:25 +0000)]
Prevents writing array uniforms with out-of-bound indices and accidental overwrite of next uniform.

Change-Id: I5e991cae1765d951edc0690028ef9f1ac2d165a6

10 months agoMake ref-object GetReferenceCount as const 52/304252/1
Eunki Hong [Sat, 13 Jan 2024 01:10:49 +0000 (10:10 +0900)]
Make ref-object GetReferenceCount as const

Change-Id: I314beb96c3efd6c280465b6deeb5e9a1184b1e61
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
10 months agoDALi Version 2.3.6 33/304233/1 dali_2.3.6
Richard Huang [Fri, 12 Jan 2024 11:16:20 +0000 (11:16 +0000)]
DALi Version 2.3.6

Change-Id: I036d22992934fbcfdee4861fa0a7af4959fca8d0

10 months agoMerge "Fix svace issue" into devel/master
Jeongmin Lee [Wed, 10 Jan 2024 06:39:32 +0000 (06:39 +0000)]
Merge "Fix svace issue" into devel/master

10 months agoFix svace issue 88/304088/3
jmm [Wed, 10 Jan 2024 03:44:05 +0000 (12:44 +0900)]
Fix svace issue

Change-Id: I1c25cf639bad76e4326a9c0f363bad88738b4dd5

10 months agoProperty Notify for orientation changes (PoC) 02/298102/4
Eunki Hong [Thu, 31 Aug 2023 14:07:13 +0000 (23:07 +0900)]
Property Notify for orientation changes (PoC)

Allow to make Notify if Orientation changed, and we register
PropertyNotification by StepCondition.

TODO : Need to calculate more meanful value.
Currently, we trigger by compare each EulerAngle values.

Change-Id: Ic500313676730b0d3bb9004057796b66d3303079
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
10 months agoFixed svace issue 28/304028/2
joogab.yun [Tue, 9 Jan 2024 07:19:51 +0000 (16:19 +0900)]
Fixed svace issue

Initialized eventTime for hitTestResults

Change-Id: Idb966c1aed10b6789ba37e5dc54054d17d01b798

10 months agoMake PixelData flag that we release buffer after texture upload 58/303858/2
Eunki, Hong [Mon, 8 Jan 2024 01:02:08 +0000 (10:02 +0900)]
Make PixelData flag that we release buffer after texture upload

Let we support to release pixel data memory automatically after upload finished.

Change-Id: I809289ca5124ba5672a5f87ba1f5772511b5054b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months agoMerge "Touch and Hover event propagrated by geometry way.(4)" into devel/master
joogab yun [Mon, 8 Jan 2024 03:45:04 +0000 (03:45 +0000)]
Merge "Touch and Hover event propagrated by geometry way.(4)" into devel/master

10 months agoTouch and Hover event propagrated by geometry way.(4) 02/303902/2
joogab.yun [Mon, 8 Jan 2024 01:44:16 +0000 (10:44 +0900)]
Touch and Hover event propagrated by geometry way.(4)

If there is a consumed actor, the intercept is sent only up to the moment before the consumed actor.

Change-Id: I35f174fe4c6845fc36392ba3cc3cd35c839471fc

10 months agoMerge "DALi Version 2.3.5" into devel/master
David Steele [Fri, 5 Jan 2024 10:52:43 +0000 (10:52 +0000)]
Merge "DALi Version 2.3.5" into devel/master

10 months agoDALi Version 2.3.5 30/303830/1 dali_2.3.5
David Steele [Fri, 5 Jan 2024 10:42:39 +0000 (10:42 +0000)]
DALi Version 2.3.5

Change-Id: Ia991b5fe4d6ae0479804c74dcd301941086c5ace

10 months agoMerge "Add FeedTouch api to GestureDetector." into devel/master
joogab yun [Fri, 5 Jan 2024 07:19:38 +0000 (07:19 +0000)]
Merge "Add FeedTouch api to GestureDetector." into devel/master

10 months agoAdd FeedTouch api to GestureDetector. 33/302733/24
joogab.yun [Wed, 13 Dec 2023 01:40:20 +0000 (10:40 +0900)]
Add FeedTouch api to GestureDetector.

This is a method of recognizing gestures by feeding a touch event to a specific actor.

This causes the actor to recognize the gesture without going through a hittest.

So, you can recognize gestures based on touchEvent as shown below.

mTapDetector = TapGestureDetector::New();
mTapDetector.DetectedSignal().Connect(this, &HelloWorldController::OnTap);
control.TouchedSignal().Connect(this, &HelloWorldController::OnTouch);

bool OnTouch(Actor actor, const TouchEvent& touch)
{
 mTapDetector.FeedTouch(actor, touch);
 return true;
}

This is the beginning of a new gesture recognition method.

Change-Id: Iecf0eab7a82e54a981f69d2e309675afcfa439f1

10 months agoTouch and Hover event propagrated by geometry way.(3) 38/303738/2
joogab.yun [Thu, 4 Jan 2024 05:59:51 +0000 (14:59 +0900)]
Touch and Hover event propagrated by geometry way.(3)

Fix typos and improve some logic.

Change-Id: I856b51f9263bea28d714178389b6963b6ccb4c0a

10 months agoDefine trace macro with message generate function 21/303221/2
Eunki Hong [Thu, 21 Dec 2023 13:42:04 +0000 (22:42 +0900)]
Define trace macro with message generate function

Let we make to reduce the number of code lines due to the
trace additional messages generation.

Change-Id: Ia54928a5654cc1faf8d73d9620a52638b26352b5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
10 months agoMerge "Add Get/Set native window id on KeyEvent and Scene" into devel/master
joogab yun [Wed, 27 Dec 2023 01:18:50 +0000 (01:18 +0000)]
Merge "Add Get/Set native window id on KeyEvent and Scene" into devel/master

10 months agoMerge "Change LOG_INFO in wheel event processor to RELEASE_INFO." into devel/master
joogab yun [Tue, 26 Dec 2023 01:43:13 +0000 (01:43 +0000)]
Merge "Change LOG_INFO in wheel event processor to RELEASE_INFO." into devel/master

10 months agoAdd Get/Set native window id on KeyEvent and Scene 54/303054/8
joogab.yun [Tue, 19 Dec 2023 09:19:54 +0000 (18:19 +0900)]
Add Get/Set native window id on KeyEvent and Scene

Change-Id: I08af7fa77f7fe0a4a115228aa530411032e362b4

10 months agoFix error when clipping actor was in 3d layer 88/303288/2
Eunki Hong [Fri, 22 Dec 2023 11:49:29 +0000 (20:49 +0900)]
Fix error when clipping actor was in 3d layer

We need to check the renderable item's renderer was nullptr or not.
It can be null if we use CLIP_BOUNDING_BOX option without renderer.

Change-Id: I6fa8b9f4dd5bec801bc48dbb034e1e11dee558a0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
10 months agoDALi Version 2.3.4 75/303275/1 dali_2.3.4
Adeel Kazmi [Fri, 22 Dec 2023 11:27:07 +0000 (11:27 +0000)]
DALi Version 2.3.4

Change-Id: I3f74d255be57f73e025eb758753a4b1f7d2b2661

10 months agoChange LOG_INFO in wheel event processor to RELEASE_INFO. 12/303212/2
joogab.yun [Thu, 21 Dec 2023 09:05:09 +0000 (18:05 +0900)]
Change LOG_INFO in wheel event processor to RELEASE_INFO.

Change-Id: I46f7336c903f9545c8a4d98924728a1494684128

10 months agoPrint the name of processor when we execute it 61/302961/4
Eunki, Hong [Mon, 18 Dec 2023 05:50:37 +0000 (14:50 +0900)]
Print the name of processor when we execute it

Get the name of processor what we are processing now, for debug.

Change-Id: I2bb45e85987a75d1651fea9d3d2f74ef0be990a7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months agoPrint the number of loop count when we trace iteration 46/302946/2
Eunki, Hong [Mon, 18 Dec 2023 03:21:54 +0000 (12:21 +0900)]
Print the number of loop count when we trace iteration

Since we might need to check the overhead of some iteration cases,
Let we print the number of iteration when we check performance marker.

Change-Id: I038cc52dbc875a07def7868ec81115f608be27db
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoDALi Version 2.3.3 13/302913/1 dali_2.3.3
Adeel Kazmi [Fri, 15 Dec 2023 10:22:38 +0000 (10:22 +0000)]
DALi Version 2.3.3

Change-Id: I5959f350e5623dcf0acfacf4794227ba572189f3

11 months agoFix rendering occured unlimited if window size changed multiple 81/302681/4
Eunki, Hong [Tue, 12 Dec 2023 04:13:19 +0000 (13:13 +0900)]
Fix rendering occured unlimited if window size changed multiple

To support multi window cases, dali-adaptor count how many times
the window resize event occured.

But in dali-core scene has only bool flag.

So if scene changed multiple times during 1 render time,
surface resized count never be reduced as zero.
So it will keep rendering unlimited.

This patch make we return the number of surface rect changed,
so dali-adaptor can control the scene changed count well.

Change-Id: I35d0bcef3ff33c67f106b276848a2b5a26ccc67c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoMerge "Touch and Hover event propagrated by geometry way.(2)" into devel/master
joogab yun [Thu, 14 Dec 2023 01:16:08 +0000 (01:16 +0000)]
Merge "Touch and Hover event propagrated by geometry way.(2)" into devel/master

11 months agoTouch and Hover event propagrated by geometry way.(2) 57/302757/2
joogab.yun [Wed, 13 Dec 2023 05:57:59 +0000 (14:57 +0900)]
Touch and Hover event propagrated by geometry way.(2)

This is similar to how Android works.

If you haven't consumed it in interceptTouchEvent, you need to keep sending interceptTouchEvent.

Change-Id: I3594d0abcaae1940be5dc0e7d73badecb3975aa5

11 months agoMerge "Use DepthIndex for 3D rendering order" into devel/master
Seungho BAEK [Wed, 13 Dec 2023 04:18:05 +0000 (04:18 +0000)]
Merge "Use DepthIndex for 3D rendering order" into devel/master

11 months agoTouch and Hover event propagrated by geometry way. 21/301821/33
joogab.yun [Wed, 6 Sep 2023 07:44:52 +0000 (16:44 +0900)]
Touch and Hover event propagrated by geometry way.

This is similar to how Android works.

1. Events are propagated based on geometry.
2. TouchEvent
  - If there is an actor who consumes, only the actor who consumes will receive the event that comes after.
3. Gesture will be a way for apps to receive and recognize touch events in the future.

Change-Id: Iac58129b729446d3dffa54ad0aacc8d5e8135f19

11 months agoDALi Version 2.3.2 58/302558/1 dali_2.3.2
Adam Bialogonski [Fri, 8 Dec 2023 11:05:51 +0000 (11:05 +0000)]
DALi Version 2.3.2

Change-Id: I7f783332da3bf82bcac1f54b63aeb126fd2a01ac