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

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

11 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

11 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

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

11 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

11 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

11 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

12 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

12 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

12 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

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

12 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

12 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

12 months agoCleaned up unused code in Program 50/300650/6
David Steele [Mon, 30 Oct 2023 16:49:34 +0000 (16:49 +0000)]
Cleaned up unused code in Program

Fixed WARNING debug to only have 1 function location string
Added debug to show shader code when missing attributes found:
  run with:
  export LOG_PIPELINE_CACHE=5

Change-Id: I852f703ae86c6e877b8c50380f7f24c1a7e21e77

12 months agoReset UpdateProxy traveler only if descendent hierarchy changed 26/300926/2
Eunki, Hong [Mon, 6 Nov 2023 06:00:02 +0000 (15:00 +0900)]
Reset UpdateProxy traveler only if descendent hierarchy changed

Add new dirty flags about descendent hierarchy changed.
It will be useful when we want to know that given node's traveler
need to reset cache or not.

Change-Id: I62cebb40b92e808bcf5fd446517da32442463b42
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "Reduce some useless if check during prepare render instructions" into devel...
David Steele [Fri, 3 Nov 2023 12:18:03 +0000 (12:18 +0000)]
Merge "Reduce some useless if check during prepare render instructions" into devel/master

12 months agoDALi Version 2.2.51 79/300879/1 dali_2.2.51
Richard Huang [Fri, 3 Nov 2023 10:57:32 +0000 (10:57 +0000)]
DALi Version 2.2.51

Change-Id: I8e3e4cc86b4566926bdd6f087de8f6313acac696

12 months agoReduce some useless if check during prepare render instructions 62/300862/4
Eunki, Hong [Fri, 3 Nov 2023 02:52:44 +0000 (11:52 +0900)]
Reduce some useless if check during prepare render instructions

- Reduce overhead when we get ShaderData
- Do not check RenderingBehaviour multiple times.
- Remove some useless IntrusivePtr copy operation (Reference / Unreference)

Change-Id: I2215f7bacff6571c2508848ebda1ea67d52b8c98
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoPipelineCacheL2 is struct which is defined in pipeline-cache.h 58/300658/3
AdunFang [Tue, 31 Oct 2023 02:30:17 +0000 (11:30 +0900)]
PipelineCacheL2 is struct which is defined in pipeline-cache.h

Change-Id: I3c3c0f0a6391ebf54df92419f05ffa638e755617

12 months agoDALi Version 2.2.50 75/300575/1 dali_2.2.50
David Steele [Fri, 27 Oct 2023 09:35:23 +0000 (10:35 +0100)]
DALi Version 2.2.50

Change-Id: I27dfd273580396ce2dd3eb21cccf95a1b955dbe1

12 months agoAllow to get Shader::Hint by integer 20/300320/1
Eunki Hong [Sat, 21 Oct 2023 14:01:29 +0000 (23:01 +0900)]
Allow to get Shader::Hint by integer

Previously Shader::Hint value could be assigned only by string.
Let we allow to assing hint value Shader::Hint::Value (as int32_t)
if user know the enum correctly.

Change-Id: Ifc6dbb8ea76180b8e454dace28ae3ed4de447037
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months agoDALi Version 2.2.49 92/300292/1 dali_2.2.49
Adeel Kazmi [Fri, 20 Oct 2023 06:07:29 +0000 (07:07 +0100)]
DALi Version 2.2.49

Change-Id: I22e0d70b9afe782d699ccaf7ac9479259a9f2687

12 months agoMerge "Reduce update proxy performance" into devel/master
David Steele [Thu, 19 Oct 2023 11:55:16 +0000 (11:55 +0000)]
Merge "Reduce update proxy performance" into devel/master

12 months agoFix minor coveriy issues 77/300077/3
Eunki Hong [Mon, 16 Oct 2023 10:26:33 +0000 (19:26 +0900)]
Fix minor coveriy issues

Resolve some minor coverity issues that might be meanful

1. Add check logic of Raise/Lower API when children was empty.
2. std::string move for some codes.

Change-Id: If8050ee21e840f6684545d4fca0a3cf430500f6d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months agoRevert "Remove unused program / shader caches" 97/300197/1
Eunki, Hong [Wed, 18 Oct 2023 08:03:45 +0000 (17:03 +0900)]
Revert "Remove unused program / shader caches"

This patch make some unusal bugs relative with shader.
Until resolve that issue, let we just revert this logic for now.

Change-Id: I17bea478ea4b401f009b1d01cfb90b5e67bcc793
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoReduce update proxy performance 39/300139/5
Eunki, Hong [Tue, 17 Oct 2023 08:50:53 +0000 (17:50 +0900)]
Reduce update proxy performance

Since we try to travel whole scene tree whenever
we fail to found node id, It might make some performance drop.

To avoid these kind of performance issue, let we cache
whole traversal scene tree only one times until scene tree
updated.

Change-Id: Iab4379c9421a18e5fa9ebcb373c7ef1de91022a5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "Revert "Fix node texture draw issue"" into devel/master
Eunki Hong [Tue, 17 Oct 2023 09:15:08 +0000 (09:15 +0000)]
Merge "Revert "Fix node texture draw issue"" into devel/master

12 months agoRevert "Fix node texture draw issue" 29/300129/1
Eunki, Hong [Tue, 17 Oct 2023 06:41:31 +0000 (15:41 +0900)]
Revert "Fix node texture draw issue"

This reverts commit 386df6932dbcba70a010e386f7256b01ddc68b93.

Change-Id: Ifab2623356d775339b9a4745f4422c7cd72c621a

12 months agoMerge "INTERRUPTED events are divided into touch and hover." into devel/master
joogab yun [Tue, 17 Oct 2023 06:24:14 +0000 (06:24 +0000)]
Merge "INTERRUPTED events are divided into touch and hover." into devel/master

12 months agoINTERRUPTED events are divided into touch and hover. 69/300069/4
joogab.yun [Mon, 16 Oct 2023 09:27:52 +0000 (18:27 +0900)]
INTERRUPTED events are divided into touch and hover.

Change-Id: I1474072e22199263922dd2ddb33ae38387999679

13 months agoMerge "DALi Version 2.2.48" into devel/master
Adeel Kazmi [Fri, 13 Oct 2023 13:22:28 +0000 (13:22 +0000)]
Merge "DALi Version 2.2.48" into devel/master

13 months agoDALi Version 2.2.48 98/299998/1 dali_2.2.48
Adam Bialogonski [Fri, 13 Oct 2023 10:06:24 +0000 (11:06 +0100)]
DALi Version 2.2.48

Change-Id: Idf1243bc74b750b22c5078aeacf0a195521e3f6d

13 months agoFix node texture draw issue 14/299914/3
huiyu.eun [Thu, 12 Oct 2023 05:22:49 +0000 (14:22 +0900)]
Fix node texture draw issue

MapView drawing issue
In the case of a node without texture set, it is not drawn.

If we do not call 'TrimContainers', it works normally.

Fix UTC :
 If an empty texture is set, the number of textures does not change

Please refer this patch :
 Change the TextureSet Count when we set empty texture or sampler

Change-Id: If0d9c3abdd8d34d5a90e5dd40c63fe228232e2ac
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
13 months agoMerge "Update test harness to use matching build system" into devel/master
David Steele [Tue, 10 Oct 2023 10:27:44 +0000 (10:27 +0000)]
Merge "Update test harness to use matching build system" into devel/master

13 months agoAdd API for check core thread + shutting down 96/299296/4
Eunki Hong [Mon, 25 Sep 2023 09:56:35 +0000 (18:56 +0900)]
Add API for check core thread + shutting down

Add some API to check whether the core is shutting down or not,
So out of dali-core side can also know it.

Also, Make combined helper API to check whether core installed before or not.
It will be useful when we check worker thread access into UI classes of dali.

Change-Id: I2d8d3120b4fc959056f4644846d3d14a3b89bcc6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoReduce unused methods and CC of actor classes 28/299628/2
Adeel Kazmi [Thu, 5 Oct 2023 17:31:30 +0000 (18:31 +0100)]
Reduce unused methods and CC of actor classes

Change-Id: I73bbca5c6556aabc0674af92ea3a6c8bbcf39945

13 months agoDALi Version 2.2.47 98/299698/1 dali_2.2.47
David Steele [Fri, 6 Oct 2023 12:10:01 +0000 (13:10 +0100)]
DALi Version 2.2.47

Change-Id: I3380eb8b7a79bef91a0e39326db9261ab9119416

13 months agoUpdate test harness to use matching build system 47/299547/2
David Steele [Wed, 4 Oct 2023 15:56:37 +0000 (16:56 +0100)]
Update test harness to use matching build system

Change-Id: Ic1d88150378be4308909bc854cd24965c2f3da53

13 months agoWhen a touch-up occurs, a hover-down event is generated. 87/299387/5
joogab.yun [Wed, 27 Sep 2023 05:56:47 +0000 (14:56 +0900)]
When a touch-up occurs, a hover-down event is generated.

Change-Id: Ia1bafd5250992a6337efcc1ceb935b93e9aa4bb4

13 months agoReduce cylcomatic complexity of actor-property-handler.cpp 73/299473/1
Adeel Kazmi [Fri, 29 Sep 2023 14:38:46 +0000 (15:38 +0100)]
Reduce cylcomatic complexity of actor-property-handler.cpp

Change-Id: Id53496834d7a42c68d85c25f745d309780c36de1

13 months agoDALi Version 2.2.46 59/299459/1 dali_2.2.46
Richard Huang [Fri, 29 Sep 2023 11:27:19 +0000 (12:27 +0100)]
DALi Version 2.2.46

Change-Id: I52a05d24040c93619d69813287669f38a1d40368

13 months agoMerge "Remove unused program / shader caches" into devel/master
Eunki Hong [Mon, 25 Sep 2023 10:41:42 +0000 (10:41 +0000)]
Merge "Remove unused program / shader caches" into devel/master

13 months agoMerge "Check Scene pointer is null or not" into devel/master
Seungho BAEK [Mon, 25 Sep 2023 03:12:22 +0000 (03:12 +0000)]
Merge "Check Scene pointer is null or not" into devel/master

13 months agoMerge "DALi Version 2.2.45" into devel/master
David Steele [Fri, 22 Sep 2023 14:58:50 +0000 (14:58 +0000)]
Merge "DALi Version 2.2.45" into devel/master

13 months agoDALi Version 2.2.45 46/299246/1 dali_2.2.45
Adeel Kazmi [Fri, 22 Sep 2023 14:11:50 +0000 (15:11 +0100)]
DALi Version 2.2.45

Change-Id: I9986413b8de550aca6add840763065614daeaffe

13 months agoMerge "Change the TextureSet Count when we set empty texture or sampler" into devel...
David Steele [Fri, 22 Sep 2023 09:23:44 +0000 (09:23 +0000)]
Merge "Change the TextureSet Count when we set empty texture or sampler" into devel/master

13 months agoChange the TextureSet Count when we set empty texture or sampler 70/298470/4
Eunki, Hong [Thu, 7 Sep 2023 09:55:32 +0000 (18:55 +0900)]
Change the TextureSet Count when we set empty texture or sampler

Let we change the number of textures / samplers in TextureSet
when we setting empty texture / sampler.

It will ignore some useless new creation of TextureSet if we just want to
remove some textures.

And also, let we ignore useless Sampler nullptr setup. We can control
cases when sampler is nullptr.

Change-Id: Iddc99bf2d7ad934a39e12ebe831ebffa8a7882b3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoCheck Scene pointer is null or not 09/299209/1
seungho baek [Thu, 21 Sep 2023 11:43:36 +0000 (20:43 +0900)]
Check Scene pointer is null or not

 - UpdateManager::KeepRendering did not check scene pointer is null or not.
 - This patch check it before calling KeepRendering

Change-Id: Icb61fc9d6b14ea31a5d6f3f0c6aa67fc28ea19c4
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months agoAdd DISPATCH_TOUCH_MOTION and DISPATCH_HOVER_MOTION 76/299176/2
joogab.yun [Thu, 21 Sep 2023 06:20:22 +0000 (15:20 +0900)]
Add DISPATCH_TOUCH_MOTION and DISPATCH_HOVER_MOTION

These determine whether to send touch and hover motion events or not.
This is used when the user does not want to receive motion events.

Change-Id: I23e51473029ebf3dbddc968429dbceafe29b19cf

13 months agoFix svace/coverity issue (key events constructor) 46/299046/2
Eunki, Hong [Tue, 19 Sep 2023 02:07:48 +0000 (11:07 +0900)]
Fix svace/coverity issue (key events constructor)

And also, make default KeyEvent::New() API, for coverage.

Change-Id: Id8fbaea475664db81609a78116c091d15d813713
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoRemove unused program / shader caches 24/298924/2
Eunki, Hong [Fri, 15 Sep 2023 08:56:54 +0000 (17:56 +0900)]
Remove unused program / shader caches

Since there is no way to clean shader / program informations,
there was some memory leak occured while we try to use custom shader.

This patch make we clean-up unused program / shader during 10 seconds.

Change-Id: I86c7916678b141556b2c28d0ee6227d199ff6ec8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoAdd isRepeat to KeyEvent 70/298970/2
Bowon Ryu [Mon, 18 Sep 2023 03:04:05 +0000 (12:04 +0900)]
Add isRepeat to KeyEvent

Change-Id: Ic7334bbba68fd472e257dc8d33a2c29555da79e7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months agoMerge "DALi Version 2.2.44" into devel/master
David Steele [Fri, 15 Sep 2023 12:22:39 +0000 (12:22 +0000)]
Merge "DALi Version 2.2.44" into devel/master

14 months agoDALi Version 2.2.44 42/298942/1 dali_2.2.44
Adam Bialogonski [Fri, 15 Sep 2023 11:24:15 +0000 (12:24 +0100)]
DALi Version 2.2.44

Change-Id: Iced5e11839b05e7272527cdfafe2946f515fbac8

14 months agoMake trace/debug filter as unique_ptr 23/298923/1
Eunki, Hong [Fri, 15 Sep 2023 08:17:41 +0000 (17:17 +0900)]
Make trace/debug filter as unique_ptr

Since we don't deallocate global static filters default,
memory leak tooks (like valgrind) detact they are memory leak.

To avoid this tiny error message, just make them unique_ptr
and allow automatically released after app terminated

Change-Id: If8f9cf8cafb86ef66c41877ab254177d0a4fbb10
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Make Hittable and touch required function be public" into devel/master
Wonsik Jung [Thu, 14 Sep 2023 08:19:19 +0000 (08:19 +0000)]
Merge "Make Hittable and touch required function be public" into devel/master

14 months agoAdd log that the layer has been consumed, when hittesting 11/298811/1
joogab.yun [Thu, 14 Sep 2023 00:54:08 +0000 (09:54 +0900)]
Add log that the layer has been consumed, when hittesting

Change-Id: If736446a334dcf9330a08565d2d071ac80306a8c

14 months agoAdd NewHoverEvent api 52/298752/3
joogab.yun [Wed, 13 Sep 2023 06:45:12 +0000 (15:45 +0900)]
Add NewHoverEvent api

Change-Id: Id84499e6d3b3cbeb00c052a05aba0bcfc6c0e1f9

14 months agoFixed typos in log and add change log level 62/298662/5
joogab.yun [Tue, 12 Sep 2023 07:20:41 +0000 (16:20 +0900)]
Fixed typos in log and add change log level

Change-Id: If5ac06756ffa44f6066cff51a324d18792c74293

14 months agoAdd log about Touch and Gesture 81/298581/3
joogab.yun [Mon, 11 Sep 2023 05:20:30 +0000 (14:20 +0900)]
Add log about Touch and Gesture

Change-Id: I8b5c34c30132a11d8f090442ac789f79af46b9b7

14 months agoMake Hittable and touch required function be public 64/296464/7
Wonsik Jung [Fri, 28 Jul 2023 06:37:43 +0000 (15:37 +0900)]
Make Hittable and touch required function be public

Make Hittable and touch required function be public to use in dali-toolkit

Change-Id: Ia537a46643162c2cf0d7976d7e29ee2675ed3961

14 months agoMerge "DALi Version 2.2.43" into devel/master
David Steele [Fri, 8 Sep 2023 09:53:25 +0000 (09:53 +0000)]
Merge "DALi Version 2.2.43" into devel/master