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

7 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

7 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

7 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

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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

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

8 months agoFix viewport size when off-screen actor hittest 27/297627/6
Eunki, Hong [Tue, 22 Aug 2023 02:37:11 +0000 (11:37 +0900)]
Fix viewport size when off-screen actor hittest

There was some miss-conversion of screen coordinate
when we use offscreen rendering.

Since hit-test algorithm use converted-screen-coordinate
by inputMappingActor, we also need to use inputMappingActor
when we use viewport value.

Change-Id: I2b1995a1b8e47b600239dcfb6e0380124e484f2f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoFix coverity issue (auto scene : scenes --> auto& scene : scenes) 18/297618/1
Eunki, Hong [Tue, 22 Aug 2023 00:52:11 +0000 (09:52 +0900)]
Fix coverity issue (auto scene : scenes --> auto& scene : scenes)

AUTO_CAUSES_COPY case fix. (Even it have low efforts)

Change-Id: I1fc7d4c66c5206484f0e7a46b68313280f5f39d1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoIncrease min texture unit limit for tc 14/297614/1
seungho baek [Mon, 21 Aug 2023 12:31:57 +0000 (21:31 +0900)]
Increase min texture unit limit for tc

Change-Id: I5cf473fedafccf3c46a106166005330e9c3c9e77
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
8 months agoMerge "DALi Version 2.2.40" into devel/master
David Steele [Fri, 18 Aug 2023 12:35:25 +0000 (12:35 +0000)]
Merge "DALi Version 2.2.40" into devel/master

8 months agoMerge "Relayout forcibly and flush event messages" into devel/master
David Steele [Fri, 18 Aug 2023 12:30:11 +0000 (12:30 +0000)]
Merge "Relayout forcibly and flush event messages" into devel/master

8 months agoDALi Version 2.2.40 64/297464/1 dali_2.2.40
Adam Bialogonski [Fri, 18 Aug 2023 12:22:43 +0000 (13:22 +0100)]
DALi Version 2.2.40

Change-Id: Idc232fb5dd9a8f80b7b7bf479613bf7b474a3013

8 months agoMerge "Updated test harness README.md" into devel/master
David Steele [Fri, 18 Aug 2023 09:01:00 +0000 (09:01 +0000)]
Merge "Updated test harness README.md" into devel/master

8 months agoUpdated test harness README.md 66/297366/1
David Steele [Thu, 17 Aug 2023 10:31:47 +0000 (11:31 +0100)]
Updated test harness README.md

Cleaned up the readme,
Removed out of date info
Added new command line options

Change-Id: Ia2ff85dcdf140cad0ddaa20c2e31117a2c2cecd4
Signed-off-by: David Steele <david.steele@samsung.com>
8 months agoIgnore mipmap generation when texture format compressed 41/297341/1
Eunki, Hong [Thu, 17 Aug 2023 05:41:34 +0000 (14:41 +0900)]
Ignore mipmap generation when texture format compressed

Change-Id: I41f991873d5300910affa218256e375171bd4a2c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoRelayout forcibly and flush event messages 29/296629/5
Eunki, Hong [Wed, 2 Aug 2023 09:13:43 +0000 (18:13 +0900)]
Relayout forcibly and flush event messages

Make a way to relayout & flush events messages by core API.

It will be useful when main thread spend a lots of time, but
user want to show the rendering result until now.

Change-Id: I70ef492defa9e23790e92f30bb40c036e25c0131
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
8 months agoDALi Version 2.2.39 87/297187/1 dali_2.2.39
Richard Huang [Fri, 11 Aug 2023 09:55:43 +0000 (10:55 +0100)]
DALi Version 2.2.39

Change-Id: Iaa71ac063405c60baefcb7fd52f4b09991e8a917

8 months agoMerge "If the touch is intercepted, future events will only be called on the parent...
joogab yun [Tue, 8 Aug 2023 08:03:41 +0000 (08:03 +0000)]
Merge "If the touch is intercepted, future events will only be called on the parent's Touchevent. The intercept touch event is not called again until it is touch up." into devel/master

8 months agoMerge "Make some camera actor animatable & constraint input" into devel/master
Seungho BAEK [Tue, 8 Aug 2023 05:02:11 +0000 (05:02 +0000)]
Merge "Make some camera actor animatable & constraint input" into devel/master

8 months agoMerge "DALi Version 2.2.38" into devel/master
David Steele [Fri, 4 Aug 2023 13:43:01 +0000 (13:43 +0000)]
Merge "DALi Version 2.2.38" into devel/master

8 months agoDALi Version 2.2.38 32/296832/1 dali_2.2.38
David Steele [Fri, 4 Aug 2023 12:43:12 +0000 (13:43 +0100)]
DALi Version 2.2.38

Change-Id: I14f75ac4a9009b5e2b850665629a140436485122

8 months agoMake some camera actor animatable & constraint input 09/296609/8
seungho baek [Wed, 2 Aug 2023 05:03:24 +0000 (14:03 +0900)]
Make some camera actor animatable & constraint input

Change-Id: I7b164c6885dc3225a0ba13e560a71c13ec23e88c
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
8 months agoMerge "Create Texture by ResourceId + Set Texture size and format internally." into...
Eunki Hong [Fri, 4 Aug 2023 03:22:19 +0000 (03:22 +0000)]
Merge "Create Texture by ResourceId + Set Texture size and format internally." into devel/master

8 months agoMerge "Make property resetter age down correctly" into devel/master
David Steele [Thu, 3 Aug 2023 17:06:40 +0000 (17:06 +0000)]
Merge "Make property resetter age down correctly" into devel/master

9 months agoCreate Texture by ResourceId + Set Texture size and format internally. 45/295645/32
Eunki, Hong [Wed, 12 Jul 2023 06:03:05 +0000 (15:03 +0900)]
Create Texture by ResourceId + Set Texture size and format internally.

Let we make some methods that can generate and control
Graphics::Texture object by ResourceId at graphics-controller side.

And also, let we make some integration api for texture so
we can change the size of Dali::Texture.

Change-Id: I185c6062c26cf494a6b33e8c6e534899f41bcbc5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoIf the touch is intercepted, future events will only be called on the parent's Touche... 04/296604/1
joogab.yun [Wed, 2 Aug 2023 01:53:53 +0000 (10:53 +0900)]
If the touch is intercepted, future events will only be called on the parent's Touchevent.
The intercept touch event is not called again until it is touch up.

Change-Id: I7f94c607b65387fc45cc33b7a6e48b831d3a1d57

9 months agoAllow to allocate texture's GPU memory at upload timing 27/296327/6
Eunki Hong [Tue, 25 Jul 2023 17:45:24 +0000 (02:45 +0900)]
Allow to allocate texture's GPU memory at upload timing

Let we make creation info property s.t. do not allocate gpu memory
right now.

For gl case, we don't call glTexImage2D function at creation time.

To support this behaviour, let we make TextureAllocationPolicy enum.

Change-Id: Iaa98a6b875cec60e4981eca259d9bfd760f903a3
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoMerge "To Caching UniformMap per node/renderer/program triple." into devel/master
Seungho BAEK [Tue, 1 Aug 2023 04:55:44 +0000 (04:55 +0000)]
Merge "To Caching UniformMap per node/renderer/program triple." into devel/master

9 months agoEnsure initialize fransform data 43/296543/1
Eunki, Hong [Tue, 1 Aug 2023 01:01:02 +0000 (10:01 +0900)]
Ensure initialize fransform data

We got some strange bugs that TransformManagerData::mManager is nullptr
and TransformManagerData::mId is not INVALID_TRANSFORM_ID.

If it is possible, we must mallocate SG::Node without constructor.
But it is impossible case.

But anyway, to ensure that we call constructor of TransformManagerData,
just initialize it on Node constructor timing

Change-Id: I6905799167381b228a054a9e53e1a8250ed90b8a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoTo Caching UniformMap per node/renderer/program triple. 77/296077/7
seungho baek [Wed, 19 Jul 2023 08:30:46 +0000 (17:30 +0900)]
To Caching UniformMap per node/renderer/program triple.

Change-Id: I67dee410688be3f5e0e7e2911fdaa89b66354938
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
9 months agoMake property resetter age down correctly 77/296477/2
Eunki, Hong [Fri, 28 Jul 2023 12:23:17 +0000 (21:23 +0900)]
Make property resetter age down correctly

Previously, we call this sequence.

frame#1
 - ObjectDestroyed (mRunning = AGING)
 - ResetToBaseValue (mRunning = STOPPED)
 - IsFinished (mRunning <= STOPPED --> finished!)

That mean, this property resetter works only 1 frame.

Now make age down on IsFinished function, so age works 2 frames.

frame#1
 - ObjectDestroyed (mRunning = AGING)
 - ResetToBaseValue (mRunning = AGING)
 - IsFinished (mRunning = STOPPED --> not finished!)
frame#2
 - ResetToBaseValue (mRunning = STOPPED)
 - IsFinished (mRunning <= STOPPED --> finished!)

Change-Id: Ie938df6088c4d73087fc138d29ebbf93df7f8dc7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoDALi Version 2.2.37 84/296484/1 dali_2.2.37
Adeel Kazmi [Fri, 28 Jul 2023 13:51:38 +0000 (14:51 +0100)]
DALi Version 2.2.37

Change-Id: I9cd8656614c43cd0578db7ff39aee40dc7b336d4

9 months agoDestroy Render::Texture after OnRenderFinished 02/296102/3
Eunki, Hong [Thu, 20 Jul 2023 01:36:11 +0000 (10:36 +0900)]
Destroy Render::Texture after OnRenderFinished

Since we can call OnRenderFinished even if this Render::Texture destroyed,
Let we keep alive until OnRenderFinished callback called.

Change-Id: Ia67a554fb8e98b5b4e1da6055bcdbc9058a5eb5d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoAdding frame callback notification system 06/295006/5
David Steele [Thu, 29 Jun 2023 16:45:52 +0000 (17:45 +0100)]
Adding frame callback notification system

We need some way of synchronizing update properties set
from event side with properties set from frame callback.
For example, if frame callback is used to update physics
objects, and we want to sync with actor visibility, then
the actor visibility might occur after the first frame
callback adding a physics object.

This patch adds a synchronization point to the FrameCallback
UpdateProxy. The application can notify the FrameCallback that
it wants to set a sync point, and also modify dali object
properties. Then, in the update during which the associated
messages are being processed, that sync point is available
in the FrameCallback::Update() UpdateProxy. So, the application
can synchronize any other properties during the callback,
knowing they are happening in the same frame.

If multiple notifications are sent before the next Update,
all of them are queued with unique values.

(But, it's not a true sync point, it doesn't intersperse
any Update() callbacks during processing the message queue)

Change-Id: I154539044ceaff17c55c0640c3828010b087844a
Signed-off-by: David Steele <david.steele@samsung.com>
9 months agoMerge "DALi Version 2.2.36" into devel/master
Adeel Kazmi [Fri, 21 Jul 2023 10:08:21 +0000 (10:08 +0000)]
Merge "DALi Version 2.2.36" into devel/master

9 months agoDALi Version 2.2.36 83/296183/1 dali_2.2.36
Adam Bialogonski [Fri, 21 Jul 2023 09:42:06 +0000 (10:42 +0100)]
DALi Version 2.2.36

Change-Id: I4257d178b15ff6c57d3ac4bfe1a3f05b5aac3691

9 months agoChange the multi-tap recognition logic of TapGesture. 01/292901/19
joogab.yun [Wed, 17 May 2023 00:55:16 +0000 (09:55 +0900)]
Change the multi-tap recognition logic of TapGesture.
Previously, we checked how many TouchDowns occurred within mMaximumAllowedTime.

Now, after a tap occurs, if the next touchdown occurs within mMaximumAllowedTime., it is recognized as a multi-tap.

ex) If it's a double tap, it's like this:
|(touch down <--recognizerTime--> touch up) <--  wihtin maximumAllowedTime --> (touch down <--recognizerTime--> touch up)|

Change-Id: I8b33bfbe09729d558bb8495738259ae5a757ddc9

9 months agoChange the name of CalculateScreenExtents 65/295965/1
Eunki, Hong [Tue, 18 Jul 2023 02:07:41 +0000 (11:07 +0900)]
Change the name of CalculateScreenExtents

Remove legacy API and change the logic of CalculateScreenExtents.

Change-Id: I403ed21006e84021aba7d35be22f7656f43677e5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoDALi Version 2.2.35 55/295855/1 dali_2.2.35
Richard Huang [Fri, 14 Jul 2023 11:35:28 +0000 (12:35 +0100)]
DALi Version 2.2.35

Change-Id: I0de486f9c9f08d083152c05d324df9997e74f6c5

9 months agoFix more compile error/warnings for gcc-13 14/295414/6
Eunki Hong [Fri, 7 Jul 2023 00:08:56 +0000 (09:08 +0900)]
Fix more compile error/warnings for gcc-13

 - Let we ignore -Wself-move for some UTC
 - Include vector-wrapper and cstdint

Change-Id: I0bfe5be0cbc4f76645618fcdd52bdeb87df00da5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoDo not render if bounded sample texture don't have GraphicsObject 55/294755/7
Eunki, Hong [Mon, 26 Jun 2023 05:44:07 +0000 (14:44 +0900)]
Do not render if bounded sample texture don't have GraphicsObject

Let make Renderer doesn't rendering if bounded texture is
not prepared. Let we apply commands only if all textureSet are
ready to be rendered.

Change-Id: Ie425308eb1cb1fb2939dc4742932057b5626221f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoMake Texture can use Uploaded data infomation 51/294351/11
Eunki, Hong [Fri, 16 Jun 2023 07:22:25 +0000 (16:22 +0900)]
Make Texture can use Uploaded data infomation

Make new way to use Dali::Texture that don't know the destination size.
For special case, if width and height are both 0, 0, and format is INVALID,
let we make to use uploaded pixeldata's size and format.

Change-Id: Ieec3f102d2568f3481344e164c5c29ff20c6a604
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months agoAdd test case to eusure Core update status reflects the framecallback's rendering... 74/295474/1
Richard Huang [Fri, 7 Jul 2023 13:42:37 +0000 (14:42 +0100)]
Add test case to eusure Core update status reflects the framecallback's rendering request

Change-Id: I9403f784532c882431941f31365daf7c907479c8

9 months agoMerge "DALi Version 2.2.34" into devel/master
David Steele [Fri, 7 Jul 2023 11:13:48 +0000 (11:13 +0000)]
Merge "DALi Version 2.2.34" into devel/master

9 months agoDALi Version 2.2.34 61/295461/1 dali_2.2.34
David Steele [Fri, 7 Jul 2023 11:00:49 +0000 (12:00 +0100)]
DALi Version 2.2.34

Change-Id: Ib6ffa4a2bd581fd64da525584da7379d6efda74b

9 months agoMerge "Age down PropertyResetter when animator destroyed" into devel/master
Eunki Hong [Thu, 6 Jul 2023 21:53:30 +0000 (21:53 +0000)]
Merge "Age down PropertyResetter when animator destroyed" into devel/master