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

3 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

5 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

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

5 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

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

6 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

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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

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

6 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

6 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

6 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

7 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

7 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

7 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

7 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