David Steele [Fri, 8 Oct 2021 13:54:50 +0000 (14:54 +0100)]
[dali_2.0.47] Merge branch 'devel/master'
Change-Id: I928beaf8955effc64403909ed00b96bb258bb880
David Steele [Fri, 8 Oct 2021 13:54:22 +0000 (14:54 +0100)]
DALi Version 2.0.47
Change-Id: Ie0ca363284bc1ed55f9cc02359cd7730d20c2e9f
Adeel Kazmi [Fri, 1 Oct 2021 17:23:42 +0000 (18:23 +0100)]
[dali_2.0.46] Merge branch 'devel/master'
Change-Id: I8bdd7c26c7e2a853dc3f8070b365fd28d953f081
Adeel Kazmi [Fri, 1 Oct 2021 17:22:50 +0000 (18:22 +0100)]
DALi Version 2.0.46
Change-Id: I9c473ddd86cd66ded7dc18d19cd143fa4d6e193c
David Steele [Thu, 30 Sep 2021 09:29:43 +0000 (10:29 +0100)]
Prevent unused attributes from binding bad location
Change-Id: I2655aa8d6e2fb42cc2aed1f06ce91cd05dc37b5d
Eunki, Hong [Fri, 24 Sep 2021 11:26:14 +0000 (20:26 +0900)]
Add Default Uniform : uActorColor
Previously, DevelRenderer always merged into uColor.a value.
When we use Borderline feature, it will occure some problems.
This patch add one more default uniform : named "uActorColor"
So now we can split MIX_COLOR.a and Actor::COLOR.a
Change-Id: Ib74731fab0bca87fd3970abb8e4f290a09c45e88
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Fri, 24 Sep 2021 08:48:22 +0000 (09:48 +0100)]
[dali_2.0.45] Merge branch 'devel/master'
Change-Id: I1a43e59d0fbc4c6024ccddca4e84dcd4bde8b5af
Adam Bialogonski [Fri, 24 Sep 2021 08:47:34 +0000 (09:47 +0100)]
DALi Version 2.0.45
Change-Id: I002cb962e0df531e8fd3f5edcdfbf14f6aae2d91
Richard Huang [Fri, 17 Sep 2021 10:42:51 +0000 (11:42 +0100)]
[dali_2.0.44] Merge branch 'devel/master'
Change-Id: Ia1922e50818e5956e39f75046dfb875609ea6e94
Richard Huang [Fri, 17 Sep 2021 10:42:04 +0000 (11:42 +0100)]
DALi Version 2.0.44
Change-Id: Ic23ea29b6caa984854d00ed525c4b3181ff66f36
Richard Huang [Fri, 27 Aug 2021 17:26:18 +0000 (18:26 +0100)]
Perform AABB test in the viewport space for renderers when not processing a 3D layer
Change-Id: Ib95e9fb1a4c0c4dd7b8ef8260ab9cbe2f4c3c706
Adeel Kazmi [Mon, 13 Sep 2021 17:29:33 +0000 (18:29 +0100)]
(dali_env) Install the correct package depending on the Ubuntu version
Change-Id: I007d91f7e6f38abfd387c8bd4bd86a578959289f
Heeyong Song [Mon, 13 Sep 2021 03:03:52 +0000 (03:03 +0000)]
Merge "Enable assert always in Dali::Vector" into devel/master
Adeel Kazmi [Fri, 10 Sep 2021 15:24:12 +0000 (15:24 +0000)]
Merge "DALi Version 2.0.43" into devel/master
David Steele [Fri, 10 Sep 2021 15:21:03 +0000 (16:21 +0100)]
[dali_2.0.43] Merge branch 'devel/master'
Change-Id: I5a8676e5638d5b4e0358c9c4f21a98d9a6773ae7
David Steele [Fri, 10 Sep 2021 15:20:34 +0000 (16:20 +0100)]
DALi Version 2.0.43
Change-Id: I7a05dbf8094a9348cb16cf68861f45883b3c3623
Heeyong Song [Thu, 9 Sep 2021 05:39:34 +0000 (14:39 +0900)]
Enable assert always in Dali::Vector
Change-Id: I1bcc79fd84665d4a127f9572e89fa9331542bd86
Eunki Hong [Wed, 1 Sep 2021 07:35:59 +0000 (00:35 -0700)]
Add BlendMode::ON_WITHOUT_CULL to keep rendering even Transparent.
Previously, DevelRenderer always merged into uColor.a value.
This situation usally have no problem.
But when we want to use both MIX_COLOR and BORDERLINE_COLOR
there was no way to split Actor's opacity and MIX_COLOR's opacity.
So BORDERLINE_COLOR.a is always pre-multiplired by MIX_COLOR.a.
And also, when MIX_COLOR.a is zero, There is no way to render BORDERLINE only.
This patch try to fix this issue.
First, Add some flag keep-rendering logic.
Second, Turn on that flag only if borderline required (dali-toolkit)
Third, Add new custom uniform which have same value with actor's color (dali-toolkit)
Change-Id: I7115ecfa252eaaa862e4115b7fb41f208ca7026f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 3 Sep 2021 15:04:53 +0000 (16:04 +0100)]
[dali_2.0.42] Merge branch 'devel/master'
Change-Id: Idf8db7d3cf6359340048f97ffa72a42b338b22f9
Adeel Kazmi [Fri, 3 Sep 2021 15:04:09 +0000 (16:04 +0100)]
DALi Version 2.0.42
Change-Id: I3cf99a2cb04241eaecb1123d32ffe1f9bbf96c80
Adeel Kazmi [Thu, 2 Sep 2021 09:36:54 +0000 (10:36 +0100)]
Fix SVACE error in tap-gesture-detector-impl.cpp
Change-Id: I7699e9ead0867c86b32ef795a22d0f168e2f4091
joogab yun [Mon, 30 Aug 2021 05:07:22 +0000 (05:07 +0000)]
Merge "Add KEYBOARD_FOCUSABLE_CHILDREN property. Whether the children of this actor can be focusable by keyboard navigation." into devel/master
Adeel Kazmi [Fri, 27 Aug 2021 12:25:23 +0000 (13:25 +0100)]
Fix SVACE errors in Graphics Backend
Change-Id: I64b21bef750b84777af3c2438ba3f853c7c416db
David Steele [Fri, 27 Aug 2021 11:42:59 +0000 (11:42 +0000)]
Merge "DALi Version 2.0.41" into devel/master
Adam Bialogonski [Fri, 27 Aug 2021 09:50:09 +0000 (10:50 +0100)]
[dali_2.0.41] Merge branch 'devel/master'
Change-Id: I6b3edd084ee64618db48a89099931d10674e0ac6
Adam Bialogonski [Fri, 27 Aug 2021 09:49:13 +0000 (10:49 +0100)]
DALi Version 2.0.41
Change-Id: I2d78b35b5fe72003d9a35f890e0f9073c1b8ce19
joogab.yun [Thu, 19 Aug 2021 08:18:21 +0000 (17:18 +0900)]
Add KEYBOARD_FOCUSABLE_CHILDREN property.
Whether the children of this actor can be focusable by keyboard navigation.
Change-Id: I9a2093aeb9bb0a4c3ace6dcb888cbe8b1b1cfd28
joogab.yun [Tue, 24 Aug 2021 07:57:08 +0000 (16:57 +0900)]
Add ReceiveAllTapEvents(bool)
If MaximumTaps is greater than MinimumTaps, the event is sent by checking whether it is the correct single tap or multi tap.
However, there are cases when I want to receive all tap events without these checks.
Change-Id: Icad048eec6f87b6a0efca9907904afecee70fe08
Adeel Kazmi [Tue, 24 Aug 2021 18:01:24 +0000 (18:01 +0000)]
Merge "Remove unused custom shader prefix method" into devel/master
seungho [Mon, 23 Aug 2021 05:14:14 +0000 (14:14 +0900)]
Remove unused custom shader prefix method
Change-Id: I1f9fe11db6e4d4ba324122deff111d3b66537224
Signed-off-by: seungho <sbsh.baek@samsung.com>
Heeyong Song [Mon, 23 Aug 2021 04:59:13 +0000 (04:59 +0000)]
Merge "Fix PropertyNotification issue" into devel/master
Adeel Kazmi [Fri, 20 Aug 2021 17:03:06 +0000 (17:03 +0000)]
Merge "Fix static analysis issue" into devel/master
David Steele [Fri, 20 Aug 2021 11:19:05 +0000 (12:19 +0100)]
[dali_2.0.40] Merge branch 'devel/master'
Change-Id: Ic4e05bc2909fc04e59c7a1ea4b15170417cf3294
David Steele [Fri, 20 Aug 2021 11:18:36 +0000 (12:18 +0100)]
DALi Version 2.0.40
Change-Id: Iccbc8b899c20eed780b838e9003903886ba8ee1e
Heeyong Song [Fri, 13 Aug 2021 08:21:41 +0000 (17:21 +0900)]
Fix static analysis issue
- The type of pixelDataType is unsigned.
Change-Id: I13e7b2fa79217bfd6502164f5957a02f6a0cb6ac
Heeyong Song [Wed, 18 Aug 2021 01:21:12 +0000 (10:21 +0900)]
Fix PropertyNotification issue
Compare each component value for Vector3
Change-Id: I82ea7661a5bbaee24b0d5cfaf7d306e5d9d04d04
Adeel Kazmi [Fri, 13 Aug 2021 12:47:15 +0000 (13:47 +0100)]
[dali_2.0.39] Merge branch 'devel/master'
Change-Id: I6bac811a7ff11ecfd3a49298dd27154c763f90f6
Adeel Kazmi [Fri, 13 Aug 2021 12:46:16 +0000 (13:46 +0100)]
DALi Version 2.0.39
Change-Id: I2a73948f85d537a96da37965941a6920c20ce9c7
Adeel Kazmi [Fri, 6 Aug 2021 10:27:59 +0000 (10:27 +0000)]
Merge "DALi Version 2.0.38" into devel/master
Richard Huang [Fri, 6 Aug 2021 09:48:28 +0000 (10:48 +0100)]
[dali_2.0.38] Merge branch 'devel/master'
Change-Id: I9e307599aaa12d0b3e81f9fa1e1c571801b424ad
Richard Huang [Fri, 6 Aug 2021 09:47:31 +0000 (10:47 +0100)]
DALi Version 2.0.38
Change-Id: I42ba89fcdf6d54efd2996eb397232dad919b9756
joogab.yun [Thu, 22 Jul 2021 08:33:32 +0000 (17:33 +0900)]
Add SetTapMaximumAllowedTime
Sets the MaximumAllowedTime of the tap gesture as an environment variable.
Change-Id: Ic506a936171860aeb4c5e6e96fcdc9fa244c64f1
joogab.yun [Thu, 29 Jul 2021 17:09:43 +0000 (02:09 +0900)]
1. Revert "Sets the tap gesture timer to 330ms."
2. Revert "Add Timer at TapGestureRecognizer"
3. Add Timer at TapGestureDetector
Currently, when double tap operation is performed,
single tap and double tap are always transmitted together.
So, when single and double taps are required, then after one tap, we wait for the timeout,
if the timeout happens, then we emit the single-tap,
if we tap again during this time, then we emit a double-tap instead.
Change-Id: Iac7cfd964a3f9d58593325e85841d2a6ee53b9ac
Adam Bialogonski [Fri, 30 Jul 2021 10:22:31 +0000 (11:22 +0100)]
[dali_2.0.37] Merge branch 'devel/master'
Change-Id: Ibae4fb0e9dae07fea56e0675abe4de56829e7198
Adam Bialogonski [Fri, 30 Jul 2021 10:21:27 +0000 (11:21 +0100)]
DALi Version 2.0.37
Change-Id: I24e3f60f5107e633121ca19f930f1e2af000cbd3
Richard Huang [Fri, 23 Jul 2021 09:29:02 +0000 (10:29 +0100)]
[dali_2.0.36] Merge branch 'devel/master'
Change-Id: I25e490553de1274bd2d7359fdef2982736879744
Richard Huang [Fri, 23 Jul 2021 09:28:12 +0000 (10:28 +0100)]
DALi Version 2.0.36
Change-Id: I769463aa45227b6c375765afa426fc42adaf4274
David Steele [Wed, 21 Jul 2021 15:25:55 +0000 (16:25 +0100)]
Moved SetUpdate propagation to UpdateNodes
Change-Id: I6c8f7be591e23a9fd776665d0fc074353fa027ee
Adeel Kazmi [Wed, 21 Jul 2021 12:15:40 +0000 (12:15 +0000)]
Merge "Changed RenderDataProvider to remove copy" into devel/master
Seungho BAEK [Wed, 21 Jul 2021 06:30:13 +0000 (06:30 +0000)]
Merge "Just block notifying OnScene and OffScene callback during SwithParent." into devel/master
Heeyong Song [Wed, 21 Jul 2021 06:23:35 +0000 (06:23 +0000)]
Merge "Add ApplyCustomFragmentPrefix" into devel/master
David Steele [Tue, 20 Jul 2021 17:21:05 +0000 (18:21 +0100)]
Changed RenderDataProvider to remove copy
Previously, RenderDataProvider had it's own data, and
we copied in texture & sampler ptrs whenever texture changed.
Changed RenderDataProvider to a pure interface with no data.
Changed to make SceneGraph::Renderer a RenderDataProvider,
and removed copies & TextureSet observers.
Change-Id: I6f19fc667f0abafd07b29c664dec316f86e88ebb
Signed-off-by: David Steele <david.steele@samsung.com>
Joogab Yun [Tue, 20 Jul 2021 05:06:54 +0000 (14:06 +0900)]
Sets the tap gesture timer to 330ms.
Change-Id: I57bf55b7f4a8783699e263516872fd6d427366b3
David Steele [Mon, 19 Jul 2021 09:24:29 +0000 (09:24 +0000)]
Merge changes I6d6c0232,I6667d1d6,I43e227fc into devel/master
* changes:
Removed memcpy() from uniform write
Uniform data cached locally in the uniform map
Updating geometry without iterating render items
Joogab Yun [Wed, 30 Jun 2021 07:06:18 +0000 (16:06 +0900)]
Add Timer at TapGestureRecognizer
Currently, when double tap operation is performed,
single tap and double tap are always transmitted together.
So, when single and double taps are required, then after one tap, we wait for the timeout,
if the timeout happens, then we emit the single-tap,
if we tap again during this time, then we emit a double-tap instead.
Change-Id: I4a5faecc8cf1cc50734b51ad1701e4823c44baab
seungho [Mon, 12 Jul 2021 10:12:40 +0000 (19:12 +0900)]
Just block notifying OnScene and OffScene callback during SwithParent.
- Currently, during SwitchParent, too many works were blocked
such as changing node hierarchy and changing tree depth.
- This patch just block only notifying OnScene and OffScene signal and callback.
Change-Id: I642bd22d7886933d5999fcd73d31eda8892e6fbe
Signed-off-by: seungho <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 16 Jul 2021 09:33:31 +0000 (09:33 +0000)]
Merge "DALi Version 2.0.35" into devel/master
Adeel Kazmi [Fri, 16 Jul 2021 09:30:29 +0000 (09:30 +0000)]
Merge "Revert "Correctly aging renderer uniformMap"" into devel/master
David Steele [Fri, 16 Jul 2021 09:29:26 +0000 (10:29 +0100)]
[dali_2.0.35] Merge branch 'devel/master'
Change-Id: Iba80d1c3c8a321aba29617da844f42c9321ec217
David Steele [Fri, 16 Jul 2021 09:28:59 +0000 (10:28 +0100)]
DALi Version 2.0.35
Change-Id: I79e64f40c6c1051bf6f2fe05d57ca45f0cd860b2
Adam Bialogonski [Mon, 12 Jul 2021 11:58:30 +0000 (12:58 +0100)]
Removed memcpy() from uniform write
memcpy() replaced by word-size writes.
Change-Id: I6d6c02327424fac69beec4b98ef547076775aecf
Adam Bialogonski [Thu, 15 Jul 2021 15:41:53 +0000 (16:41 +0100)]
Uniform data cached locally in the uniform map
Change-Id: I6667d1d63cafb949f1553318f9b2233d886903df
Adam Bialogonski [Fri, 16 Jul 2021 08:54:29 +0000 (09:54 +0100)]
Updating geometry without iterating render items
Change-Id: I43e227fc5ef0b88adc08af298d7f8742f5ecfaa8
Joogab Yun [Tue, 25 May 2021 06:15:50 +0000 (15:15 +0900)]
Gesture is interrupted if even one of several views is consumed.
This is a problem for backward-compatibility.
So, I remove the code that interrupts Gesture when the touch event is consumed
Change-Id: I01379cffb8edbfa1b82cdb585c08517752f64335
Adeel Kazmi [Mon, 12 Jul 2021 15:50:49 +0000 (15:50 +0000)]
Revert "Correctly aging renderer uniformMap"
This reverts commit
66d2e8abd97025440598b6cb7da0ba68e21348c8.
Change-Id: I9ffb1ad3a782854f45d27f0545cd8fa9536895ce
Adam Bialogonski [Fri, 9 Jul 2021 08:45:17 +0000 (09:45 +0100)]
[dali_2.0.34] Merge branch 'devel/master'
Change-Id: I86ec0827e36bf019dbe56675677f89cb02a10819
Adam Bialogonski [Fri, 9 Jul 2021 08:44:17 +0000 (09:44 +0100)]
DALi Version 2.0.34
Change-Id: I182c3bc2ae54579272df1e8a1f75f6f3304849e1
Adam Bialogonski [Tue, 6 Jul 2021 14:32:47 +0000 (15:32 +0100)]
Reflection GetSamplers() returns const ref
Change-Id: I41dfbc9269f375c193d5f9c1c6d56d74c64368ca
Adeel Kazmi [Fri, 2 Jul 2021 16:41:41 +0000 (17:41 +0100)]
[dali_2.0.33] Merge branch 'devel/master'
Change-Id: Idb77365f0c5a6102081f91cb2ab18f9e970625ba
Adeel Kazmi [Fri, 2 Jul 2021 16:41:11 +0000 (17:41 +0100)]
DALi Version 2.0.33
Change-Id: Iee7b41cbf1ccda9639a1f9a1c1726acec41c9115
seungho [Thu, 24 Jun 2021 07:11:20 +0000 (16:11 +0900)]
Add ApplyCustomFragmentPrefix
- Apply suitable prefix for the native image fragment shader
Change-Id: I86b34a3086e1326b0568cc1ac1a3a37e6c8c37b0
Signed-off-by: seungho <sbsh.baek@samsung.com>
Adam Bialogonski [Fri, 25 Jun 2021 14:25:48 +0000 (15:25 +0100)]
Optimized program retrieval from the cache
Change-Id: I6dda5244b32a2cc5c21285673d7a125cd36caaee
Adam Bialogonski [Fri, 25 Jun 2021 14:11:14 +0000 (15:11 +0100)]
Added local pipeline cache on the dali-core side
Change-Id: I29865baefea49d9e8856663a43381ff2d16e6e13
Adam Bialogonski [Fri, 25 Jun 2021 14:18:57 +0000 (15:18 +0100)]
Simplified uniform write
Change-Id: I9e9871ccdc9a18c7624ce97ef9611cdf072bd58c
Adam Bialogonski [Mon, 21 Jun 2021 11:05:05 +0000 (12:05 +0100)]
Removed 'bindings' parameter from WriteUniform() functions
Change-Id: Id04fcbcf0822f062ed385b3d9dfa02286e1f63bf
Richard Huang [Fri, 25 Jun 2021 10:17:52 +0000 (11:17 +0100)]
[dali_2.0.32] Merge branch 'devel/master'
Change-Id: If8f9a03a3348f2928c32e5b5793e304f05d71770
Richard Huang [Fri, 25 Jun 2021 10:17:06 +0000 (11:17 +0100)]
DALi Version 2.0.32
Change-Id: I9e46086707ee0734b654bb87b5c5cf8823b20d8b
David Steele [Tue, 22 Jun 2021 11:09:21 +0000 (12:09 +0100)]
Correctly aging renderer uniformMap
Change-Id: Ie3378269d8f4c6b84b4a17b2c730806b7245c20f
Adeel Kazmi [Tue, 22 Jun 2021 10:42:51 +0000 (10:42 +0000)]
Merge "Removing GL usage from dali core" into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 10:46:10 +0000 (10:46 +0000)]
Merge "DALi Version 2.0.31" into devel/master
David Steele [Fri, 18 Jun 2021 10:38:24 +0000 (11:38 +0100)]
[dali_2.0.31] Merge branch 'devel/master'
Change-Id: I2d6638de5422ba4f92fe0dac02d75e15927d9d97
David Steele [Fri, 18 Jun 2021 10:37:56 +0000 (11:37 +0100)]
DALi Version 2.0.31
Change-Id: I035176ecaccc7fbb8c0a1b6b0d1c1f95c7f14a94
Wonsik Jung [Fri, 4 Jun 2021 06:39:56 +0000 (15:39 +0900)]
Fix window/screen rotation issue.
Fix window/screen rotation issue when scissor clipping is used.
Change-Id: I2a8e6dbfcc30e36551e6a8640499d98cf05b26c9
David Steele [Thu, 17 Jun 2021 09:48:28 +0000 (10:48 +0100)]
Removing GL usage from dali core
Removed texture dependency syncing from render manager
(Not used/useful, needs to be re-implemented in graphics impl
differently)
Removed usages of glconfighelper, removed references to GL, GL defines
and GL types.
Cleaned up includes.
Change-Id: I85b76d2c1714e7993ec13b558a3c971c7b5f2a68
Signed-off-by: David Steele <david.steele@samsung.com>
joogab yun [Tue, 15 Jun 2021 05:35:25 +0000 (05:35 +0000)]
Merge "Add TOUCH_FOCUSABLE property" into devel/master
joogab yun [Tue, 15 Jun 2021 05:34:55 +0000 (05:34 +0000)]
Merge "Add input source type to TapGesture. This is similar to MouseButton in TouchEvent." into devel/master
Adeel Kazmi [Fri, 11 Jun 2021 11:43:33 +0000 (11:43 +0000)]
Merge "Fixed depth/stencil renderbuffer attachments" into devel/master
David Steele [Fri, 11 Jun 2021 10:45:28 +0000 (10:45 +0000)]
Merge "DALi Version 2.0.30" into devel/master
Seungho BAEK [Fri, 11 Jun 2021 10:36:29 +0000 (10:36 +0000)]
Merge "Add SwitchParent api in actor-devel" into devel/master
Adeel Kazmi [Fri, 11 Jun 2021 10:36:18 +0000 (11:36 +0100)]
[dali_2.0.30] Merge branch 'devel/master'
Change-Id: I61fa9cb91aa99b4b1202f40305a8b527d9922724
Adeel Kazmi [Fri, 11 Jun 2021 10:35:23 +0000 (11:35 +0100)]
DALi Version 2.0.30
Change-Id: Ifbed5cc644dfecd305b23fe9ae60f1308717badb
Joogab Yun [Thu, 3 Jun 2021 06:43:05 +0000 (15:43 +0900)]
Add TOUCH_FOCUSABLE property
This is a property that allows you to have focus even when touched.
It works only when KEYBOARD_FOCUSABLE is set to true.
KEYBOARD_FOCUSABLE : whether the view can have focus or not
TOUCH_FOCUSABLE : Whether the user can focus by touch
Change-Id: Id991d7a0bd734718164b874f013e24235476e789
David Steele [Thu, 10 Jun 2021 17:15:09 +0000 (18:15 +0100)]
Fixed depth/stencil renderbuffer attachments
If no depth or depth/stencil texture was attached, but depth/stencil
attachment was requested on initialization, then the renderbuffer
attachments weren't being created.
Added usage flags to the Graphics::DepthStencilAttachment to indicate
when RenderBuffers are required.
Also, the load/clear ops were set incorrectly for depth/stencil,
so each renderpass wasn't working as intended.
Change-Id: I6a77bf67628a7225007ab40bef31ffa271023f1f
Signed-off-by: David Steele <david.steele@samsung.com>
Joogab Yun [Tue, 1 Jun 2021 02:00:53 +0000 (11:00 +0900)]
Add input source type to TapGesture.
This is similar to MouseButton in TouchEvent.
Now, you can see from which input the tap was made.
Change-Id: I80800ebd805e283581486d76d046b5e269cbb8ba
Heeyong Song [Mon, 7 Jun 2021 00:48:50 +0000 (09:48 +0900)]
Add ETC2_EAC compressed texture format
Change-Id: I70801783da355a28f17004cf507381774ecfb6be
Adam Bialogonski [Fri, 4 Jun 2021 08:57:32 +0000 (09:57 +0100)]
[dali_2.0.29] Merge branch 'devel/master'
Change-Id: I193bc957eb8419e4ba87738b0471a8dcc55f48a7
Adam Bialogonski [Fri, 4 Jun 2021 08:56:32 +0000 (09:56 +0100)]
DALi Version 2.0.29
Change-Id: Ie234f7bb71d0341355f8d6a62257fba000e31313
Seungho Baek [Tue, 29 Dec 2020 10:16:31 +0000 (19:16 +0900)]
Add SwitchParent api in actor-devel
- SwitchParent changes parent of an actor without add/remove notification.
- SwitchParent make an actor keep on Scene during changing parent.
- To use SwitchParent, both the actor and new parent must be on scene
Change-Id: Ieb2114227b69cfd1fcbbe97930f21bf902e3b2d8
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
joogab yun [Tue, 1 Jun 2021 03:09:02 +0000 (03:09 +0000)]
Merge "Add Gesture Propagation" into devel/master
Joogab Yun [Tue, 11 May 2021 07:13:35 +0000 (16:13 +0900)]
Add Gesture Propagation
This is used when the parent actor wants to listen to gesture events.
example)
The child is overlapped on the parent.
So, if you tap a child, the parent cannot listen to the tap event.
Now, If set to SetNeedGesturePropagation(true), the parent can receive gesture events.
{
Actor parent = Actor::New();
Actor child = Actor::New();
parent.Add(child);
pTapDetector = TapGestureDetector::New();
cTapDetector = TapGestureDetector::New();
pTapDetector.Attach(parent);
cTapDetector.Attach(child);
pTapDetector.DetectedSignal().Connect(this, &OnParentTap);
cTapDetector.DetectedSignal().Connect(this, &OnChildTap);
}
void OnChildTap(Dali::Actor actor, const Dali::TapGesture& tap)
{
// If you set SetNeedGesturePropagation to true here, the parent actor can also listen to events
Dali::DevelActor::SetNeedGesturePropagation(Self(), true);
}
Change-Id: I0e6c16c2b2dec1dfa873caa453302cc746c3f258