platform/core/uifw/dali-core.git
2 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

2 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

2 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

2 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

2 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>
2 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

2 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>
2 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

2 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

2 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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>
2 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>
2 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

2 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>
2 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

2 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>
2 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>
2 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

2 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

2 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

2 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>
2 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

2 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

2 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

2 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>
2 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>
2 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>
2 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

2 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

3 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>
3 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

3 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

3 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

3 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>
3 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>
3 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

3 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

3 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

3 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

3 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

3 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

3 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>
3 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

3 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

3 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

3 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>
3 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

3 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

3 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

3 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>
3 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

3 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>
3 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

3 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

3 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

3 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

3 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

3 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

3 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

4 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>
4 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

4 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

4 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

4 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>
4 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

4 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

4 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>
4 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>
4 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

4 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>
4 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

4 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

4 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

4 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

4 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

4 months agoUse DepthIndex for 3D rendering order 14/302314/9
seungho baek [Tue, 5 Dec 2023 08:20:18 +0000 (17:20 +0900)]
Use DepthIndex for 3D rendering order

Change-Id: I898668b515410c888e616b64ce103f833cc4f399
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
4 months agoAdd DaliPrintBackTrace for common 54/302454/2
Heeyong Song [Wed, 17 Nov 2021 07:00:04 +0000 (16:00 +0900)]
Add DaliPrintBackTrace for common

Change-Id: Ieb24205ccdc75d3b9a4ac3e7b44166503a472d80

5 months agoDALi Version 2.3.1 63/302163/1 dali_2.3.1
Richard Huang [Fri, 1 Dec 2023 11:02:17 +0000 (11:02 +0000)]
DALi Version 2.3.1

Change-Id: I055d700e13b59633a908cea0f8bde7efadf4834f

5 months agoDALi Version 2.3.0 52/301852/1 dali_2.3.0
David Steele [Fri, 24 Nov 2023 12:37:58 +0000 (12:37 +0000)]
DALi Version 2.3.0

Change-Id: Iee6a2b861200daf436223e9116780bf2ff0197f4

5 months agoAdd default uniform for actor 'uScale' 49/301549/2
Eunki, Hong [Mon, 20 Nov 2023 02:40:41 +0000 (11:40 +0900)]
Add default uniform for actor 'uScale'

Some shader codes like anti-alias need to be calculated
by pixel scaled.

But currently we don't have any way to get 'scaled' visual size
at shader side.

To support it, let we write scale value into shader.

Change-Id: Ie1d9e2e5429a3ed20fc3e9dde004b7546e3e2c32
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoMerge "Moved shader cache to graphics backend" into devel/master
Adeel Kazmi [Fri, 17 Nov 2023 23:03:10 +0000 (23:03 +0000)]
Merge "Moved shader cache to graphics backend" into devel/master

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

Change-Id: I20a7bd5c23e906d79e99c86f6844d312c11ef301

5 months agoMoved shader cache to graphics backend 95/301295/2
David Steele [Mon, 13 Nov 2023 17:58:22 +0000 (17:58 +0000)]
Moved shader cache to graphics backend

Change-Id: Ie1b01412bc9fd588ddfe5b511b510297dfaa9484

5 months agoAdded render-task to the touch event 82/295782/9
Adam Bialogonski [Mon, 13 Nov 2023 16:36:28 +0000 (16:36 +0000)]
Added render-task to the touch event

Change-Id: Ida661df52c894d39da7e345b157dcb2fe8529ae5

5 months agoDALi Version 2.2.52 01/301201/1 dali_2.2.52
Adam Bialogonski [Fri, 10 Nov 2023 07:42:22 +0000 (07:42 +0000)]
DALi Version 2.2.52

Change-Id: I7a4849eff2e8ca07674ce5ea4f7e4b4523075afa

5 months agoMerge "PipelineCacheL2 is struct which is defined in pipeline-cache.h" into devel...
Adeel Kazmi [Thu, 9 Nov 2023 17:34:45 +0000 (17:34 +0000)]
Merge "PipelineCacheL2 is struct which is defined in pipeline-cache.h" into devel/master

5 months agoMerge "Cleaned up unused code in Program" into devel/master
Adeel Kazmi [Thu, 9 Nov 2023 17:21:22 +0000 (17:21 +0000)]
Merge "Cleaned up unused code in Program" into devel/master

5 months agoFix miss implements of MapView touch patch + UTC for mutli exclusive touch 20/301120/2
Eunki, Hong [Thu, 9 Nov 2023 04:31:46 +0000 (13:31 +0900)]
Fix miss implements of MapView touch patch + UTC for mutli exclusive touch

Change-Id: I91906db2f756441dd059abf76d283aee858f0b84
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoFix MapView touch issue 09/300709/6
huiyu.eun [Wed, 1 Nov 2023 05:02:23 +0000 (14:02 +0900)]
Fix MapView touch issue

Change-Id: I8c5b2b82b260953a6c3107930ea10fbbbca0389a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 months agoMerge "When an actor receiving a hover event is hidden or removed, it receives an...
joogab yun [Wed, 8 Nov 2023 07:24:47 +0000 (07:24 +0000)]
Merge "When an actor receiving a hover event is hidden or removed, it receives an interrupted signal." into devel/master

5 months agoWhen an actor receiving a hover event is hidden or removed, it receives an interrupte... 05/301005/17
joogab.yun [Tue, 7 Nov 2023 04:20:23 +0000 (13:20 +0900)]
When an actor receiving a hover event is hidden or removed, it receives an interrupted signal.

Change-Id: I6d20c67deafb15dfb86e1e815e84f1c4e91c086c

5 months agoAdd screen position log for touch event 84/301084/1
joogab.yun [Wed, 8 Nov 2023 05:47:12 +0000 (14:47 +0900)]
Add screen position log for touch event

Change-Id: I1db65a4c459fe234f7ce50da8728f467fdceb52b