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

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

12 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

12 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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

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

13 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

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

14 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

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

14 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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 months agoDALi Version 2.2.43 30/298530/1 dali_2.2.43
Richard Huang [Fri, 8 Sep 2023 09:45:55 +0000 (10:45 +0100)]
DALi Version 2.2.43

Change-Id: I5d5120d65f00dd7257eb3d79bd8abfc364582669

15 months agoMerge "Remove unimplemented API" into devel/master
Eunki Hong [Fri, 8 Sep 2023 06:59:54 +0000 (06:59 +0000)]
Merge "Remove unimplemented API" into devel/master

15 months agoEven if the layer is set to SetTouchConsumed(true), the parent must be able to handle... 19/298019/14
joogab.yun [Tue, 29 Aug 2023 07:24:20 +0000 (16:24 +0900)]
Even if the layer is set to SetTouchConsumed(true), the parent must be able to handle the interceptTouchEvent.

With the current logic, if a layer exists in the window and SetTouchConsumed of that layer is true, the touch cannot be intercepted even if the window is the root.

Change-Id: I25911f3fb2cfb7ce3e857e25ca2bcd04912f62c1

15 months agoRemove unimplemented API 87/298287/1
Eunki, Hong [Tue, 5 Sep 2023 02:46:12 +0000 (11:46 +0900)]
Remove unimplemented API

Remove unused API

Change-Id: Ifbeb247b01f9318c8808fc8106bac451c5a79089
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoMerge "Consumes if the hitted layer is above the SourceActor's layer." into devel...
joogab yun [Mon, 4 Sep 2023 03:59:35 +0000 (03:59 +0000)]
Merge "Consumes if the hitted layer is above the SourceActor's layer." into devel/master

15 months agoMerge changes Ie023e8f7,If04a8ee9 into devel/master
David Steele [Fri, 1 Sep 2023 13:59:26 +0000 (13:59 +0000)]
Merge changes Ie023e8f7,If04a8ee9 into devel/master

* changes:
  Test harness sync
  Added view matrix to render callback

15 months agoDALi Version 2.2.42 68/298168/1 dali_2.2.42
David Steele [Fri, 1 Sep 2023 11:50:10 +0000 (12:50 +0100)]
DALi Version 2.2.42

Change-Id: I31cf7080b5dc4e6f956e88eaba727e03c40e1b00

15 months agoConsumes if the hitted layer is above the SourceActor's layer. 66/298066/9
joogab.yun [Thu, 31 Aug 2023 02:29:35 +0000 (11:29 +0900)]
Consumes if the hitted layer is above the SourceActor's layer.

test code
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-demo/+/293175/
The green area must be touched.

Change-Id: I11436d9711c0845d4becbf8c3f97ea80d772eb9c

15 months agoMerge "Make an Actor be exclusive source actor for multiple RenderTask" into devel...
Seungho BAEK [Tue, 29 Aug 2023 07:11:13 +0000 (07:11 +0000)]
Merge "Make an Actor be exclusive source actor for multiple RenderTask" into devel/master

15 months agoMerge "Destroy Render::Texture immediate when texture removed" into devel/master
Eunki Hong [Mon, 28 Aug 2023 06:23:06 +0000 (06:23 +0000)]
Merge "Destroy Render::Texture immediate when texture removed" into devel/master

15 months agoMerge "Increase min texture unit limit for tc" into devel/master
Seungho BAEK [Mon, 28 Aug 2023 01:43:11 +0000 (01:43 +0000)]
Merge "Increase min texture unit limit for tc" into devel/master

15 months agoDestroy Render::Texture immediate when texture removed 28/297728/3
Eunki, Hong [Wed, 23 Aug 2023 08:56:07 +0000 (17:56 +0900)]
Destroy Render::Texture immediate when texture removed

Since there was some strange widget viewer issue occured when we
destory texture at PostRender timing,

Just Destroy Render::Texture immediatly.

Change-Id: I0821046cecdc450099afe233e15ee0b5a56630cd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
16 months agoDALi Version 2.2.41 50/297850/1 dali_2.2.41
Adeel Kazmi [Fri, 25 Aug 2023 12:40:58 +0000 (13:40 +0100)]
DALi Version 2.2.41

Change-Id: Ic76cdeb16ef6f1bfb2ba7a6cec78b4c2915fb159

16 months agoTest harness sync 54/297454/3
David Steele [Fri, 18 Aug 2023 10:42:16 +0000 (11:42 +0100)]
Test harness sync

Change-Id: Ie023e8f74624f0d25cf2c93509f7486742a740d7

16 months agoMake an Actor be exclusive source actor for multiple RenderTask 87/297787/2
seungho baek [Thu, 24 Aug 2023 08:12:14 +0000 (17:12 +0900)]
Make an Actor be exclusive source actor for multiple RenderTask

Change-Id: Id0e6db5a514c3fc2d4c53bb3e5da83ea9f27f0c4
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
16 months agoAllow epsilon value for ray-test 96/297696/5
Eunki, Hong [Wed, 23 Aug 2023 03:52:57 +0000 (12:52 +0900)]
Allow epsilon value for ray-test

There was some numeric error comes when we touch
from edge of the screen.
The inputed screen coordiate was exactly 0,0 but
the result coordinate was out of bound
during calculate matrix invert or etc.

To allow this case, let we take some epsilone value
during hit-test

Change-Id: I57db59a7bab4d57fb07aa087aa675f1c060f81fd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
16 months agoAdded view matrix to render callback 05/295005/4
David Steele [Mon, 3 Apr 2023 06:13:31 +0000 (07:13 +0100)]
Added view matrix to render callback

Change-Id: If04a8ee9b772b7322692cbd64711ac893d1cb192