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

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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

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

16 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

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

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

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

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

17 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

17 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

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

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

17 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

17 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

17 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

17 months agoMerge "Updated FrameCallback to return value to specify whether we should keep render...
David Steele [Thu, 6 Jul 2023 16:18:58 +0000 (16:18 +0000)]
Merge "Updated FrameCallback to return value to specify whether we should keep rendering" into devel/master

17 months agoUpdated FrameCallback to return value to specify whether we should keep rendering 00/295400/3
Richard [Thu, 6 Jul 2023 09:39:37 +0000 (10:39 +0100)]
Updated FrameCallback to return value to specify whether we should keep rendering

Change-Id: If1e53ef0291074dcb53116cc05f2fd69dcc3da87

17 months agoAge down PropertyResetter when animator destroyed 56/295356/3
Eunki, Hong [Thu, 6 Jul 2023 02:31:11 +0000 (11:31 +0900)]
Age down PropertyResetter when animator destroyed

When PropertyOwner alive and Animator is destroyed,
(== AnimatorResetter::ObjectDestroyed called)
mRunning value become ACTIVE --> AGING.

In this case, IsFinished() value always return 'false', so
PropertyOwner hold the AnimatorResetter always.

This patch make we ensurely reduce the aging of AnimatorResetter and
ConstraintResetter.

Change-Id: I173f6780d73ab9e9ad104a20764f9fac6d9abcc9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoFix ToolChain update issue 34/295234/4
seungho baek [Tue, 4 Jul 2023 05:17:20 +0000 (14:17 +0900)]
Fix ToolChain update issue

Change-Id: If1e6c7e549120703115c0577a17994592632b285
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
17 months agoMerge "Fix build error for toolchain upgrade" into devel/master
Heeyong Song [Tue, 4 Jul 2023 23:55:50 +0000 (23:55 +0000)]
Merge "Fix build error for toolchain upgrade" into devel/master

17 months agoAdd InterceptWheelEvent 32/295232/2
joogab.yun [Tue, 4 Jul 2023 05:08:46 +0000 (14:08 +0900)]
Add InterceptWheelEvent

The Wheel event calls the WheelEvent callback by going back from the last child actor to the parent via hitTest.
InterceptWheelEvent checks the wheel event in the parent first.
Returning false from InterceptWheelEvent allows child actors to receive WheelEvents.
If it returns true, the actor will receive a WheelEvent.

for example

  Actor parent = Actor::New();
  Actor actor = Actor::New();
  parent.Add(actor);
  actor.WheelEventSignal().Connect(&application, functor);
  parent.WheelEventSignal().Connect(&application, parentFunctor);

The callbacks are called in the order functor -> parentFunctor.

If you connect InterceptWheelSignal to parentActor.

  Dali::DevelActor::InterceptWheelSignal(parent).Connect(&application, interceptFunctor);

When interceptFunctor returns false, it is called in the same order functor -> parentFunctor.
If it returns true, it means that the WheelEvent was intercepted.
So the child actor will not be able to receive wheel events.
Only the parentFunctor is called.

Change-Id: I8ec2c70ca148565e6e899cedb9a997b2f851b0b8

17 months agoFix build error for toolchain upgrade 86/295086/1
Heeyong Song [Mon, 3 Jul 2023 01:13:00 +0000 (10:13 +0900)]
Fix build error for toolchain upgrade

Change-Id: Ib9640d9c7dbdf6bfdac6baf722a050a6d9deb873

17 months agoDALi Version 2.2.33 51/295051/1 dali_2.2.33
Adeel Kazmi [Fri, 30 Jun 2023 13:16:43 +0000 (14:16 +0100)]
DALi Version 2.2.33

Change-Id: Iad5f75fd13582a729204189ff782d328cca8948f

18 months agoFix SVACE issue 99/294799/1
Heeyong Song [Tue, 27 Jun 2023 01:17:06 +0000 (10:17 +0900)]
Fix SVACE issue

Change-Id: I48683251f336e1f171c98296aaa03425f7ec227a

18 months agoRemoved repeated logic in UniformBufferManager 76/294776/1
David Steele [Mon, 26 Jun 2023 11:17:17 +0000 (12:17 +0100)]
Removed repeated logic in UniformBufferManager

Change-Id: I7f05429ba5ad390319e88de6a508f18cc3515467

18 months agoAdd SetPartialUpdateEnabled to Scene 34/294634/3
Heeyong Song [Thu, 22 Jun 2023 02:49:43 +0000 (11:49 +0900)]
Add SetPartialUpdateEnabled to Scene

Support enabling/disabling partial update at runtime

Change-Id: I7854d0f7ad0efb526da864456eb9b5672e1ef4d2

18 months agoMerge "Refactored Uniform Buffer support" into devel/master
Adeel Kazmi [Sat, 24 Jun 2023 14:02:41 +0000 (14:02 +0000)]
Merge "Refactored Uniform Buffer support" into devel/master

18 months agoRefactored Uniform Buffer support 58/290958/18
David Steele [Wed, 21 Jun 2023 12:07:41 +0000 (13:07 +0100)]
Refactored Uniform Buffer support

Uniform blocks in GLES3 shaders are now supported by GPU buffer.
Fixed up test harness to handle CPU buffers properly
Fixed up test cases with wrong buffer counts

Added method to get uniform block alignment from the
backend - this is slightly more complicated than it
needs to be, because of the Vulkan-like API we have.

Enhanced test harness to enable testing of UBOs.
Adding reflection & test cases for uniform blocks

Ensured that multi-pass of draw commands doesn't
generate multiple blocks.

Ensured GPU uniform buffers are double-buffered

Ensured size of CPU/GPU for offscreen vs onscreen
buffers is correct.

Added test cases to ensure that large enough buffers
are allocated, and that properties are written
into the relevant uniform block areas within the buffers.

Change-Id: Id551d56ecea228320af3896afef49790d5ceec6d

18 months agoDALi Version 2.2.32 97/294697/1 dali_2.2.32
Adam Bialogonski [Fri, 23 Jun 2023 10:03:02 +0000 (11:03 +0100)]
DALi Version 2.2.32

Change-Id: I936fc05badce1f4c855a51b4f68b064cce94989f

18 months agoMerge "Fix some keyframes devel api crash issue" into devel/master
Eunki Hong [Thu, 22 Jun 2023 10:18:13 +0000 (10:18 +0000)]
Merge "Fix some keyframes devel api crash issue" into devel/master

18 months agoMerge "(Partial Update) Fix animation delay issue" into devel/master
Heeyong Song [Thu, 22 Jun 2023 00:50:02 +0000 (00:50 +0000)]
Merge "(Partial Update) Fix animation delay issue" into devel/master

18 months agoMerge "Added lockless synchronization to VertexBufferUpdateCallback" into devel/master
Adeel Kazmi [Wed, 21 Jun 2023 11:27:08 +0000 (11:27 +0000)]
Merge "Added lockless synchronization to VertexBufferUpdateCallback" into devel/master

18 months ago(Partial Update) Fix animation delay issue 72/294572/1
Heeyong Song [Wed, 21 Jun 2023 08:49:07 +0000 (17:49 +0900)]
(Partial Update) Fix animation delay issue

Set updated flag when the animator is changed to the delayed state

Change-Id: I83bc23f19c7ca255f1c7e670c1afe306919b4e8c

18 months agoFix some keyframes devel api crash issue 35/294535/2
Eunki, Hong [Wed, 21 Jun 2023 03:27:49 +0000 (12:27 +0900)]
Fix some keyframes devel api crash issue

There was some nullptr error for some DevelKeyFrames API.

1. Let we allow to call GetKeyFrameCount even we never call Add.
2. Let we only change value if keyframe type is same as SetKeyFrameValue type.

Change-Id: I6a53648df3e19556c8462fbd4fd39340dc593373
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoMerge "Calculate ScreenExtents and ScreenPosition only with event side properties...
Eunki Hong [Wed, 21 Jun 2023 01:10:21 +0000 (01:10 +0000)]
Merge "Calculate ScreenExtents and ScreenPosition only with event side properties." into devel/master

18 months agoAdded lockless synchronization to VertexBufferUpdateCallback 14/294514/2
Adam Bialogonski [Tue, 20 Jun 2023 11:23:55 +0000 (12:23 +0100)]
Added lockless synchronization to VertexBufferUpdateCallback

Change-Id: I3ae62318868840403b9619c02e5c98fbcd7c9766

18 months agoMerge "DALi Version 2.2.31" into devel/master
David Steele [Fri, 16 Jun 2023 14:27:24 +0000 (14:27 +0000)]
Merge "DALi Version 2.2.31" into devel/master

18 months agoDALi Version 2.2.31 70/294370/1 dali_2.2.31
Richard Huang [Fri, 16 Jun 2023 13:48:20 +0000 (14:48 +0100)]
DALi Version 2.2.31

Change-Id: Ief9367f95d5267dabea7a7a2ebcaf1933d53efd1

18 months agoMerge "Change the naming of RenderPass to RenderPassTag for Shader and RenderTask...
Seungho BAEK [Fri, 16 Jun 2023 11:21:40 +0000 (11:21 +0000)]
Merge "Change the naming of RenderPass to RenderPassTag for Shader and RenderTask" into devel/master

18 months agoChange the naming of RenderPass to RenderPassTag for Shader and RenderTask 61/294361/2
seungho baek [Fri, 16 Jun 2023 09:05:49 +0000 (18:05 +0900)]
Change the naming of RenderPass to RenderPassTag for Shader and RenderTask

Change-Id: I7c4f7f24fdb7d13f202be317899e915e73f979cd
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months agoRemove unsued member variable 07/294307/1
Heeyong Song [Fri, 16 Jun 2023 02:47:09 +0000 (11:47 +0900)]
Remove unsued member variable

Change-Id: If4125c2e39bd97890a470ea6b1a6056e70f835d2

18 months agoSupport multi pass shading with different shaders 11/294011/10
seungho baek [Fri, 9 Jun 2023 13:00:09 +0000 (22:00 +0900)]
Support multi pass shading with different shaders

Change-Id: I34ac0d2dd0d63b316816bfa58954c739e7460e55
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months agoCalculate ScreenExtents and ScreenPosition only with event side properties. 39/292839/11
Eunki Hong [Mon, 15 May 2023 14:38:54 +0000 (23:38 +0900)]
Calculate ScreenExtents and ScreenPosition only with event side properties.

Let we seperate CalculateCurrentScreenExtents and CalculateScreenExtents.
Since ScreenPosition was used by update-side values, we cannot use
this values during Relayout.
Now, let we make devel api so user can get values only by event-thread
side properties.

Change-Id: I52ee19be1bea172743f97cfef7c03b57de8b5778
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
18 months agoMerge "Modify so that unnecessary hover events do not occur when the device is touch...
joogab yun [Wed, 14 Jun 2023 01:52:28 +0000 (01:52 +0000)]
Merge "Modify so that unnecessary hover events do not occur when the device is touch." into devel/master

18 months agoModify so that unnecessary hover events do not occur when the device is touch. 08/294108/3
joogab.yun [Tue, 13 Jun 2023 07:56:37 +0000 (16:56 +0900)]
Modify so that unnecessary hover events do not occur when the device is touch.

On touch down the MOTION -> STARTED event received at the same time.
In this case, unnecessary hoverEvent may be triggered by the MOTION event.
So, in case of touch device, it is ignored.

Change-Id: Idad7ba7e890c85180772f244b6ca42da2591ba85

18 months agoAdd DevelActor::Property::USE_TEXTURE_UPDATE_AREA 60/293460/5
Heeyong Song [Fri, 26 May 2023 09:31:44 +0000 (18:31 +0900)]
Add DevelActor::Property::USE_TEXTURE_UPDATE_AREA

Change-Id: I34a465ee79663c8a3a037639dfd24a566f8465d0

18 months agoUse Dali::KeyFrames during AnimateBetween 46/293946/3
Eunki, Hong [Fri, 9 Jun 2023 02:19:29 +0000 (11:19 +0900)]
Use Dali::KeyFrames during AnimateBetween

Since KeyFrames is already BaseHandle, we don't need to use
reference of BaseHandle. So let we make BaseHandle instead of
Internal::KeyFrames.

Change-Id: I32d79aa382dde45af07bb3ded376c37fcdbfe629
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoDALi Version 2.2.30 85/293985/1 dali_2.2.30
David Steele [Fri, 9 Jun 2023 09:50:06 +0000 (10:50 +0100)]
DALi Version 2.2.30

Change-Id: I1f5e65ef4a9291a8ec05f1a9a8550641f9663094

18 months agoReduce overhead of notification (like AnimationFinished, PropertyNotify) 44/290144/44
Eunki Hong [Mon, 20 Mar 2023 16:19:21 +0000 (01:19 +0900)]
Reduce overhead of notification (like AnimationFinished, PropertyNotify)

Previously, we check existed all animations are finished, and send signal.
We can reduce this kind of iteration.

Now, send specific scenegraph notify id, and send signal for this.
It will reduce NotificationManager::ProcessMessage running time on event side.

And, refactorize notifier-interface.
Previously, we use scene-graph object's pointer to check whether this object
is valid or not. But it has some logical problem when we destroy and create
continously.

Now we define NotifyId to specify the notify required item.
So we can expect SceneGraph items to excute notify process.

TODO : Make RenderTaskList also keep hashing... or just ignore this case

Change-Id: Ied35d018d1da854ef0e61343710230461d76c67a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
18 months agoMerge "Check whether the scene-graph RenderTask object is valid" into devel/master
Heeyong Song [Mon, 5 Jun 2023 07:49:51 +0000 (07:49 +0000)]
Merge "Check whether the scene-graph RenderTask object is valid" into devel/master

18 months agoMerge changes I8d35c74c,I4785021d into devel/master
David Steele [Fri, 2 Jun 2023 17:18:18 +0000 (17:18 +0000)]
Merge changes I8d35c74c,I4785021d into devel/master

* changes:
  Test sync with adaptor
  Adding instance count and vertex range to Renderer

18 months agoDALi Version 2.2.29 49/293749/1 dali_2.2.29
Richard Huang [Fri, 2 Jun 2023 10:36:46 +0000 (11:36 +0100)]
DALi Version 2.2.29

Change-Id: Icf79fcf84c805f8574cfd9a7e86007051bb815a3

18 months agoCheck whether the scene-graph RenderTask object is valid 71/293671/1
Heeyong Song [Fri, 2 Jun 2023 02:25:30 +0000 (11:25 +0900)]
Check whether the scene-graph RenderTask object is valid

Change-Id: I444479a472c76ca96c36db39f7e3b1eab4be84c3

18 months agoMake Ubuntu use MSAA level 4 as default 97/293597/1
Eunki, Hong [Wed, 31 May 2023 23:52:05 +0000 (08:52 +0900)]
Make Ubuntu use MSAA level 4 as default

Change-Id: I116b05deac366c47533d4e232d42ad3a1c06c785
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months agoTest sync with adaptor 01/293201/6
David Steele [Mon, 22 May 2023 16:28:25 +0000 (17:28 +0100)]
Test sync with adaptor

Change-Id: I8d35c74c95c83f7b4f155fdfd02a4d1bc5df44c4