Adeel Kazmi [Thu, 5 Oct 2023 17:31:30 +0000 (18:31 +0100)]
Reduce unused methods and CC of actor classes
Change-Id: I73bbca5c6556aabc0674af92ea3a6c8bbcf39945
David Steele [Fri, 6 Oct 2023 12:10:01 +0000 (13:10 +0100)]
DALi Version 2.2.47
Change-Id: I3380eb8b7a79bef91a0e39326db9261ab9119416
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
Adeel Kazmi [Fri, 29 Sep 2023 14:38:46 +0000 (15:38 +0100)]
Reduce cylcomatic complexity of actor-property-handler.cpp
Change-Id: Id53496834d7a42c68d85c25f745d309780c36de1
Richard Huang [Fri, 29 Sep 2023 11:27:19 +0000 (12:27 +0100)]
DALi Version 2.2.46
Change-Id: I52a05d24040c93619d69813287669f38a1d40368
Eunki Hong [Mon, 25 Sep 2023 10:41:42 +0000 (10:41 +0000)]
Merge "Remove unused program / shader caches" 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
David Steele [Fri, 22 Sep 2023 14:58:50 +0000 (14:58 +0000)]
Merge "DALi Version 2.2.45" into devel/master
Adeel Kazmi [Fri, 22 Sep 2023 14:11:50 +0000 (15:11 +0100)]
DALi Version 2.2.45
Change-Id: I9986413b8de550aca6add840763065614daeaffe
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
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>
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>
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
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>
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>
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>
David Steele [Fri, 15 Sep 2023 12:22:39 +0000 (12:22 +0000)]
Merge "DALi Version 2.2.44" into devel/master
Adam Bialogonski [Fri, 15 Sep 2023 11:24:15 +0000 (12:24 +0100)]
DALi Version 2.2.44
Change-Id: Iced5e11839b05e7272527cdfafe2946f515fbac8
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>
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
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
joogab.yun [Wed, 13 Sep 2023 06:45:12 +0000 (15:45 +0900)]
Add NewHoverEvent api
Change-Id: Id84499e6d3b3cbeb00c052a05aba0bcfc6c0e1f9
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
joogab.yun [Mon, 11 Sep 2023 05:20:30 +0000 (14:20 +0900)]
Add log about Touch and Gesture
Change-Id: I8b5c34c30132a11d8f090442ac789f79af46b9b7
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
David Steele [Fri, 8 Sep 2023 09:53:25 +0000 (09:53 +0000)]
Merge "DALi Version 2.2.43" into devel/master
Richard Huang [Fri, 8 Sep 2023 09:45:55 +0000 (10:45 +0100)]
DALi Version 2.2.43
Change-Id: I5d5120d65f00dd7257eb3d79bd8abfc364582669
Eunki Hong [Fri, 8 Sep 2023 06:59:54 +0000 (06:59 +0000)]
Merge "Remove unimplemented API" into devel/master
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
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>
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
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
David Steele [Fri, 1 Sep 2023 11:50:10 +0000 (12:50 +0100)]
DALi Version 2.2.42
Change-Id: I31cf7080b5dc4e6f956e88eaba727e03c40e1b00
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
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
Eunki Hong [Mon, 28 Aug 2023 06:23:06 +0000 (06:23 +0000)]
Merge "Destroy Render::Texture immediate when texture removed" 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
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>
Adeel Kazmi [Fri, 25 Aug 2023 12:40:58 +0000 (13:40 +0100)]
DALi Version 2.2.41
Change-Id: Ic76cdeb16ef6f1bfb2ba7a6cec78b4c2915fb159
David Steele [Fri, 18 Aug 2023 10:42:16 +0000 (11:42 +0100)]
Test harness sync
Change-Id: Ie023e8f74624f0d25cf2c93509f7486742a740d7
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>
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>
David Steele [Mon, 3 Apr 2023 06:13:31 +0000 (07:13 +0100)]
Added view matrix to render callback
Change-Id: If04a8ee9b772b7322692cbd64711ac893d1cb192
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>
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>
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>
David Steele [Fri, 18 Aug 2023 12:35:25 +0000 (12:35 +0000)]
Merge "DALi Version 2.2.40" 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
Adam Bialogonski [Fri, 18 Aug 2023 12:22:43 +0000 (13:22 +0100)]
DALi Version 2.2.40
Change-Id: Idc232fb5dd9a8f80b7b7bf479613bf7b474a3013
David Steele [Fri, 18 Aug 2023 09:01:00 +0000 (09:01 +0000)]
Merge "Updated test harness README.md" into devel/master
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>
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>
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>
Richard Huang [Fri, 11 Aug 2023 09:55:43 +0000 (10:55 +0100)]
DALi Version 2.2.39
Change-Id: Iaa71ac063405c60baefcb7fd52f4b09991e8a917
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
Seungho BAEK [Tue, 8 Aug 2023 05:02:11 +0000 (05:02 +0000)]
Merge "Make some camera actor animatable & constraint input" 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
David Steele [Fri, 4 Aug 2023 12:43:12 +0000 (13:43 +0100)]
DALi Version 2.2.38
Change-Id: I14f75ac4a9009b5e2b850665629a140436485122
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>
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
David Steele [Thu, 3 Aug 2023 17:06:40 +0000 (17:06 +0000)]
Merge "Make property resetter age down correctly" into devel/master
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>
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
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>
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
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>
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>
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>
Adeel Kazmi [Fri, 28 Jul 2023 13:51:38 +0000 (14:51 +0100)]
DALi Version 2.2.37
Change-Id: I9cd8656614c43cd0578db7ff39aee40dc7b336d4
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>
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>
Adeel Kazmi [Fri, 21 Jul 2023 10:08:21 +0000 (10:08 +0000)]
Merge "DALi Version 2.2.36" into devel/master
Adam Bialogonski [Fri, 21 Jul 2023 09:42:06 +0000 (10:42 +0100)]
DALi Version 2.2.36
Change-Id: I4257d178b15ff6c57d3ac4bfe1a3f05b5aac3691
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
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>
Richard Huang [Fri, 14 Jul 2023 11:35:28 +0000 (12:35 +0100)]
DALi Version 2.2.35
Change-Id: I0de486f9c9f08d083152c05d324df9997e74f6c5
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>
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>
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>
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
David Steele [Fri, 7 Jul 2023 11:13:48 +0000 (11:13 +0000)]
Merge "DALi Version 2.2.34" into devel/master
David Steele [Fri, 7 Jul 2023 11:00:49 +0000 (12:00 +0100)]
DALi Version 2.2.34
Change-Id: Ib6ffa4a2bd581fd64da525584da7379d6efda74b
Eunki Hong [Thu, 6 Jul 2023 21:53:30 +0000 (21:53 +0000)]
Merge "Age down PropertyResetter when animator destroyed" into devel/master
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
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
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>
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>
Heeyong Song [Tue, 4 Jul 2023 23:55:50 +0000 (23:55 +0000)]
Merge "Fix build error for toolchain upgrade" into devel/master
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
Heeyong Song [Mon, 3 Jul 2023 01:13:00 +0000 (10:13 +0900)]
Fix build error for toolchain upgrade
Change-Id: Ib9640d9c7dbdf6bfdac6baf722a050a6d9deb873
Adeel Kazmi [Fri, 30 Jun 2023 13:16:43 +0000 (14:16 +0100)]
DALi Version 2.2.33
Change-Id: Iad5f75fd13582a729204189ff782d328cca8948f
Heeyong Song [Tue, 27 Jun 2023 01:17:06 +0000 (10:17 +0900)]
Fix SVACE issue
Change-Id: I48683251f336e1f171c98296aaa03425f7ec227a
David Steele [Mon, 26 Jun 2023 11:17:17 +0000 (12:17 +0100)]
Removed repeated logic in UniformBufferManager
Change-Id: I7f05429ba5ad390319e88de6a508f18cc3515467
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
Adeel Kazmi [Sat, 24 Jun 2023 14:02:41 +0000 (14:02 +0000)]
Merge "Refactored Uniform Buffer support" into devel/master
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
Adam Bialogonski [Fri, 23 Jun 2023 10:03:02 +0000 (11:03 +0100)]
DALi Version 2.2.32
Change-Id: I936fc05badce1f4c855a51b4f68b064cce94989f
Eunki Hong [Thu, 22 Jun 2023 10:18:13 +0000 (10:18 +0000)]
Merge "Fix some keyframes devel api crash 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
Adeel Kazmi [Wed, 21 Jun 2023 11:27:08 +0000 (11:27 +0000)]
Merge "Added lockless synchronization to VertexBufferUpdateCallback" into devel/master