Jiyun Yang [Thu, 26 Nov 2020 06:15:48 +0000 (15:15 +0900)]
Revert "[Tizen] Add screen and client rotation itself function"
This reverts commit
8f612650d20752ab6aba022a9dbefdb883968e8f.
Jiyun Yang [Thu, 26 Nov 2020 06:15:47 +0000 (15:15 +0900)]
Revert "[Tizen] Partial rendering rotation does not work"
This reverts commit
46974c7b760055c1d048ef14dbaa415c25a36148.
Jiyun Yang [Thu, 26 Nov 2020 06:15:45 +0000 (15:15 +0900)]
Revert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not""
This reverts commit
cf2c9cf3e9ef6dea77e83210779b54c9f0402efa.
Jiyun Yang [Thu, 26 Nov 2020 06:15:43 +0000 (15:15 +0900)]
Revert "[Tizen] Partial Rendering"
This reverts commit
7fa74b6eb659d0527db813e84af069daa3fc2772.
Heeyong Song [Thu, 19 Nov 2020 03:04:03 +0000 (12:04 +0900)]
[Tizen] Partial Rendering
Change-Id: Icbe8a2009d1712081fd7e78fffe2ef22642fd2b8
Heeyong Song [Thu, 19 Nov 2020 03:03:35 +0000 (12:03 +0900)]
[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not"
Change-Id: I499971a1ee3e670f414feba5e4356725b908e063
Heeyong Song [Thu, 19 Nov 2020 03:03:05 +0000 (12:03 +0900)]
[Tizen] Partial rendering rotation does not work
Change-Id: I13351404da7fd572f0215b35629f996cc26345cd
Heeyong Song [Thu, 19 Nov 2020 03:02:43 +0000 (12:02 +0900)]
[Tizen] Add screen and client rotation itself function
Change-Id: I688adf575cd7e8d4ec42f22115e6ce242b1abbae
Heeyong Song [Thu, 19 Nov 2020 03:02:14 +0000 (12:02 +0900)]
[Tizen] Not execute the remove callback
Change-Id: I20bd23bccce064e72d7dc24855028ddc9af093f6
Heeyong Song [Thu, 19 Nov 2020 03:01:55 +0000 (12:01 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I3eb194ae0b54cc482f448b4fde9c27b13fd47f44
Heeyong Song [Thu, 19 Nov 2020 02:57:28 +0000 (11:57 +0900)]
Revert "[Tizen] Not execute the remove callback"
This reverts commit
f0e1a7e27266a6095f00214e8e13149d8b331a63.
Change-Id: Ie0f20581d30aa7c7ebaa512c82088498eb6687c0
Heeyong Song [Thu, 19 Nov 2020 02:57:20 +0000 (11:57 +0900)]
Revert "[Tizen] Add screen and client rotation itself function"
This reverts commit
54e09df4cbea2e5d857a86d6f3bf7ffd7bb9f07a.
Change-Id: I515ca38b474c874d3c9aee7cd799095617a4a374
Heeyong Song [Thu, 19 Nov 2020 02:57:08 +0000 (11:57 +0900)]
Revert "[Tizen] Partial rendering rotation does not work"
This reverts commit
18d6ccf0ea8cdf5473375f4f57b1388ae994359a.
Change-Id: I2f9e9b3c77d5335aeb335246433198c444fb762b
Heeyong Song [Thu, 19 Nov 2020 02:56:51 +0000 (11:56 +0900)]
Revert "[Tizen] Add Integration API to Create public event type"
This reverts commit
91774df0e24a91dfb4ad935c85a53fc76804ddb4.
Change-Id: Ie1b77848a50c05bc27244877ec94c7d5ea501e09
Heeyong Song [Thu, 19 Nov 2020 02:56:23 +0000 (11:56 +0900)]
Revert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not""
This reverts commit
2400f145f65b0cf2cd0e43e11d7220462b3d91ed.
Change-Id: I98d49451e73c9dfda6a54c83de40a00c8e7e1860
Heeyong Song [Thu, 19 Nov 2020 02:56:06 +0000 (11:56 +0900)]
Revert "[Tizen] Partial Rendering"
This reverts commit
33c6509ce20db3d379fdbadb53fc0b44a7015aad.
Change-Id: I903b5684a5f1cbce22c1a1f4c57de94817899e86
Heeyong Song [Thu, 19 Nov 2020 02:45:18 +0000 (11:45 +0900)]
Revert "[Tizen] Revert "Skip rendering if no animation is currently active""
This reverts commit
35952536d36e03b9ddf5356a8844a959644bbf55.
Change-Id: I1b6e5a772ef79dbbfb809c23e80f47f8a8ed080e
Cheng-Shiun Tsai [Fri, 13 Nov 2020 14:53:14 +0000 (14:53 +0000)]
DALi Version 2.0.1
Change-Id: I60ab4275600a2a4fd7e0b6cac346357b05a5a2fa
Seungho BAEK [Wed, 11 Nov 2020 03:07:08 +0000 (03:07 +0000)]
Merge "Blend Equation Advanced Supporting" into devel/master
Wonsik Jung [Tue, 10 Nov 2020 06:30:22 +0000 (15:30 +0900)]
[Tizen] Revert "Skip rendering if no animation is currently active"
This reverts commit
0fb391f04a2faae7d874e146068372b7a0ca9ce4.
Wonsik Jung [Tue, 10 Nov 2020 06:29:45 +0000 (15:29 +0900)]
[Tizen] Partial Rendering
This reverts commit
003dfd2fa8eebf3f96d23100dcafc98514a67461.
Wonsik Jung [Tue, 10 Nov 2020 06:29:21 +0000 (15:29 +0900)]
[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not"
This reverts commit
bf695994d0f7b5a81bdc6cb9a1ea16634715f0c5.
Wonsik Jung [Tue, 10 Nov 2020 06:28:57 +0000 (15:28 +0900)]
[Tizen] Add Integration API to Create public event type
This reverts commit
137fd30000b354f32e7b30e15614202c19179255.
Wonsik Jung [Tue, 10 Nov 2020 06:28:30 +0000 (15:28 +0900)]
[Tizen] Partial rendering rotation does not work
This reverts commit
03a7f4bcfacc72ef4569d5f7dc5ed89b11e543f4.
Wonsik Jung [Tue, 10 Nov 2020 06:28:07 +0000 (15:28 +0900)]
[Tizen] Add screen and client rotation itself function
This reverts commit
4c9fb2902c2b74710ca56c2068b13644b8c2bcb6.
Wonsik Jung [Tue, 10 Nov 2020 06:27:43 +0000 (15:27 +0900)]
[Tizen] Not execute the remove callback
This reverts commit
20d68596742caa0c692eebd7fc613d0d29820fc1.
Wonsik Jung [Tue, 10 Nov 2020 06:27:25 +0000 (15:27 +0900)]
Merge branch 'devel/master' into tizen
Wonsik Jung [Tue, 10 Nov 2020 06:27:09 +0000 (15:27 +0900)]
Revert "[Tizen] Not execute the remove callback"
This reverts commit
0418ddeb67f3a2cea394bc7be5d17229a4c6cd9a.
Wonsik Jung [Tue, 10 Nov 2020 06:27:07 +0000 (15:27 +0900)]
Revert "[Tizen] Add screen and client rotation itself function"
This reverts commit
cd8de3f34c08f12e6443e016873e1c5e4826960a.
Wonsik Jung [Tue, 10 Nov 2020 06:27:04 +0000 (15:27 +0900)]
Revert "[Tizen] Partial rendering rotation does not work"
This reverts commit
780615404d3de39db1cf4e4840ac8d76220d1366.
Wonsik Jung [Tue, 10 Nov 2020 06:27:01 +0000 (15:27 +0900)]
Revert "[Tizen] Add Integration API to Create public event type"
This reverts commit
5d408becbc79a72be94ed78b1943b417bb166e9b.
Wonsik Jung [Tue, 10 Nov 2020 06:26:58 +0000 (15:26 +0900)]
Revert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not""
This reverts commit
dc12e043fdd3a3d4946e5afdd0c5d0f398f7733b.
Wonsik Jung [Tue, 10 Nov 2020 06:26:56 +0000 (15:26 +0900)]
Revert "[Tizen] Partial Rendering"
This reverts commit
7ea6acde7ee123768f4d8885c9503dfee4ec8f7d.
Wonsik Jung [Tue, 10 Nov 2020 06:26:53 +0000 (15:26 +0900)]
Revert "[Tizen] Revert "Skip rendering if no animation is currently active""
This reverts commit
5672d38bbd1699f9829551e07957f44df0a03b3f.
Adeel Kazmi [Mon, 9 Nov 2020 19:07:26 +0000 (19:07 +0000)]
(patch-coverage.pl) Outputs covered and total lines as well
Change-Id: Ia66f4f1fd8134548c94722e55ee3ae824af7c288
Heeyong Song [Mon, 9 Nov 2020 10:39:06 +0000 (19:39 +0900)]
[Tizen] Revert "Skip rendering if no animation is currently active"
This reverts commit
0246a6acf4875d1c4fa37b7c8f942548de583166.
Change-Id: I478de1771454cb0be7c6e56d7f82a4b0848a0c7d
Adeel Kazmi [Fri, 6 Nov 2020 09:17:46 +0000 (09:17 +0000)]
DALi Version 2.0.0
Change-Id: I0a32b1d26aa223dd728b36188726693084461e35
Joogab Yun [Tue, 27 Oct 2020 07:14:19 +0000 (16:14 +0900)]
[Tizen] Partial Rendering
: If there is a change in Node property, do SetUpdated(true).
Change-Id: I5efbdc080fba666d8834b6b6e3383681f5f724cc
György Straub [Wed, 29 Jul 2020 09:55:48 +0000 (10:55 +0100)]
RenderTaskProcessor::AddRenderablesForTask() optimization.
- pulled loop-invariant conditional for which RenderableContainer to add
to, out of the loop;
- replaced branch for assigning true, with compound or-assignment of the
result of the check;
Change-Id: I2f36f2b7a5eb95da6e3cc04bddfbede0f8437b69
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Victor Cebollada [Fri, 28 Aug 2020 07:15:24 +0000 (08:15 +0100)]
Implement GetNanoseconds() with std::chrono.
* Platform independent.
Change-Id: I484dbfb5a0b6115a6ea8cd6c645420985e9aae0d
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Subhransu Mohanty [Thu, 27 Aug 2020 03:57:28 +0000 (12:57 +0900)]
Improve the logic using Erase-Remove Idiom.
instead of erasing each element found and restarting the
loop again . first find all element and move them to the end
of list and then erase them once using std::erase(std::remove_if()).
This will improve the cache locality as this will avoid lot ofpointer chaseing.
Also avoids expensing Dali::Vector::end() call.
Change-Id: I306de3f017ef23ea7d4d1e6e5202940f84fcf872
David Steele [Tue, 3 Nov 2020 15:43:52 +0000 (15:43 +0000)]
Merge "use string_view instead of const string literals." into devel/master
Subhransu Mohanty [Wed, 7 Oct 2020 05:16:26 +0000 (14:16 +0900)]
use string_view instead of const string literals.
as constexpr stringview calculates the length of the string during
compiletime. the == comparison is fast as it first checks whether
the size of the both string are same before calling the expensive
compare() function.
Change-Id: I996faed4d82e5c478f5f55c31cfe25581aa4bbc9
sub.mohanty@samsung.com [Sun, 11 Oct 2020 01:26:36 +0000 (10:26 +0900)]
refactor dali-animation.
- refactor keyframeChannel class.
- refactor KeyFrameBaseSpec to avoid heap allocation.
- keep a templated form of GetSpecialization.
- in the keyframeanimation functor keep a copy of keyframeChannel instead of heap allocated object.
- remove AnimatorFunctorBase class and replace it with std::function to avoid heap allocation when possible.
- structure packing of AnimatorBase
Change-Id: I416df4601116547c79f04b2cf8e0bc95e622b869
David Steele [Mon, 2 Nov 2020 13:37:07 +0000 (13:37 +0000)]
Added test-harness timeout check
Change-Id: I82276c59de57bc29a2e6a2e895db26e5072a61e0
David Steele [Fri, 30 Oct 2020 14:33:16 +0000 (14:33 +0000)]
DALi Version 1.9.36
Change-Id: Ie87e252297e782248c1d5222a3cabc58e2c8f76a
Seungho, Baek [Tue, 11 Feb 2020 05:51:46 +0000 (14:51 +0900)]
Blend Equation Advanced Supporting
Change-Id: I7a813e3831424de2b63e1cc53fd5682bbaaa4683
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Joogab Yun [Thu, 29 Oct 2020 03:33:55 +0000 (12:33 +0900)]
Change property name from TouchDelegateArea to TouchArea.
Change-Id: I6b2af477ffb8523d7e98ffbc250cbb2deb59c5cc
Joogab Yun [Thu, 29 Oct 2020 06:14:25 +0000 (15:14 +0900)]
[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not"
Change-Id: I3e8991a25f0be0430d68f0a9ae481e3637810eab
seungho [Thu, 29 Oct 2020 01:38:27 +0000 (10:38 +0900)]
[Tizen] Add Integration API to Create public event type
This reverts commit
37dacff6c2a6970f2bb0f86f1daf22823df91623.
Change-Id: I5d7fa0a6aecf73ad57dc6c139db878e6e791db28
seungho [Wed, 28 Oct 2020 12:23:09 +0000 (21:23 +0900)]
[Tizen] Partial rendering rotation does not work
This reverts commit
deee06c88b13be90cd4b861e595fdbfa2b6f3b24.
Change-Id: I982dc9878ffa5661101d5982942c939ad624571e
seungho [Wed, 28 Oct 2020 12:22:51 +0000 (21:22 +0900)]
[Tizen] Add screen and client rotation itself function
This reverts commit
df36176f354b67024161a57a1cbb234023772749.
Change-Id: I549948987666f1786de6eeeebfadea5ca3623254
seungho [Wed, 28 Oct 2020 12:22:29 +0000 (21:22 +0900)]
[Tizen] Not execute the remove callback
This reverts commit
7f981181e68a6884db3a26c5e3102b4238b4a912.
Change-Id: I6236921dfd7952a352e21c61ea764923091b0a04
seungho [Wed, 28 Oct 2020 12:22:13 +0000 (21:22 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I612dafb547931f225fb9bd4d7dc42dd008a62543
seungho [Wed, 28 Oct 2020 12:22:08 +0000 (21:22 +0900)]
Revert "Revert "Revert "[Tizen] Not execute the remove callback"""
This reverts commit
f79c48eeb60f6244a9b9518d8ae12096783c8676.
seungho [Wed, 28 Oct 2020 12:22:05 +0000 (21:22 +0900)]
Revert "Revert "Revert "[Tizen] Add screen and client rotation itself function"""
This reverts commit
c8d4a9700affd6dce08df45fbf40cd5946ffdd5f.
seungho [Wed, 28 Oct 2020 12:22:01 +0000 (21:22 +0900)]
Revert "Revert "Revert "[Tizen] Partial rendering rotation does not work"""
This reverts commit
006ca0a266664ad1e5d7619099e1c78ceaf66dfc.
seungho [Wed, 28 Oct 2020 12:21:58 +0000 (21:21 +0900)]
Revert "Revert "Revert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not""""
This reverts commit
ac791d290a2050dc0166f6ad5bfe4158f889c60d.
seungho [Wed, 28 Oct 2020 12:21:55 +0000 (21:21 +0900)]
Revert "Revert "Revert "[Tizen] Add Integration API to Create public event type"""
This reverts commit
c367f2f6810bc2a4a5c2ff4dd43bb448a28e442f.
David Steele [Fri, 23 Oct 2020 14:33:40 +0000 (15:33 +0100)]
Updated patch-coverage.pl script
Change-Id: I01c1e0e7a6959596bea5ff3318e964eda230b519
Subhransu Mohanty [Thu, 10 Sep 2020 01:59:09 +0000 (10:59 +0900)]
use algorithm and range for
Change-Id: I8f276553114fecf8c9f6b60696e2dcd274388958
Adeel Kazmi [Fri, 23 Oct 2020 10:48:15 +0000 (10:48 +0000)]
Merge "DALi Version 1.9.35" into devel/master
adam.b [Fri, 23 Oct 2020 10:44:56 +0000 (11:44 +0100)]
DALi Version 1.9.35
Change-Id: I39bd529cc7846aebdebe06c06145977b3dd6e269
David Steele [Fri, 23 Oct 2020 10:32:46 +0000 (10:32 +0000)]
Merge "use modern construct '= default' for special functions." into devel/master
joogab yun [Fri, 23 Oct 2020 02:02:45 +0000 (02:02 +0000)]
Merge "Add TouchDelegateArea property." into devel/master
David Steele [Tue, 13 Oct 2020 15:57:58 +0000 (16:57 +0100)]
Adding new patch-coverage script
Change-Id: Iaf227f70e10f2af1db928c0f0614619dbee53d5d
Joogab Yun [Tue, 20 Oct 2020 06:46:19 +0000 (15:46 +0900)]
Add TouchDelegateArea property.
TouchDelegateArea can reset the actor's touchable area.
This is usefull when the actor is small, but it should have a larger touch area.
for example
Actor actor = Actor::New();
actor.SetProperty(Actor::Property::SIZE, Vector2(10.0f, 10.0f));
actor.SetProperty(DevelActor::Property::TOUCH_DELEGATE_AREA, Vector2(200.0f, 200.0f));
actor.TouchedSignal().Connect(OnTouchCallback);
The actor is small, If you want to set the touch area to a larger area,
you can use the TOUCH_DELEGATE_AREA property.
Change-Id: Ic4e3683e09d1636bc61719ea1e83bcd05a1c4153
David Steele [Tue, 20 Oct 2020 15:05:45 +0000 (15:05 +0000)]
Merge "refactor Property::Map interface." into devel/master
David Steele [Mon, 19 Oct 2020 13:35:41 +0000 (13:35 +0000)]
Merge "add base type of enum to reduce class size." into devel/master
Adeel Kazmi [Fri, 16 Oct 2020 10:39:18 +0000 (10:39 +0000)]
Merge "DALi Version 1.9.34" into devel/master
Richard Huang [Fri, 16 Oct 2020 10:30:35 +0000 (11:30 +0100)]
DALi Version 1.9.34
Change-Id: I5f8723bdcce4d478589a8dc72cea88180882d69f
Adeel Kazmi [Fri, 16 Oct 2020 08:03:24 +0000 (08:03 +0000)]
Merge "Skip rendering if no animation is currently active" into devel/master
Joogab Yun [Tue, 6 Oct 2020 06:38:33 +0000 (15:38 +0900)]
Add intercept touch event
The Touch event calls the TouchEvent callback by going back from the last child actor to the parent via hitTest.
InterceptTouchEvent checks the touch event in the parent first.
Returning false from interceptTouchEvent allows child actors to receive TouchEvents.
If it returns true, the actor will receive a TouchEvent.
for example
Actor parent = Actor::New();
Actor actor = Actor::New();
parent.Add(actor);
actor.TouchedSignal().Connect(&application, functor);
parent.TouchedSignal().Connect(&application, parentFunctor);
The callbacks are called in the order functor -> parentFunctor.
If you connect interceptTouchSignal to parentActor.
Dali::DevelActor::InterceptTouchedSignal(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 TouchEvent was intercepted.
So the child actor will not be able to receive touch events.
Only the parentFunctor is called.
Change-Id: Ib6887adbcee59168a7caf7f36bcc400500c626e8
Adeel Kazmi [Mon, 12 Oct 2020 19:46:40 +0000 (20:46 +0100)]
Fix doxygen comments
Change-Id: If8c7b64bbf197370ccdcf71d959846a477cee8d1
David Steele [Fri, 9 Oct 2020 14:07:06 +0000 (14:07 +0000)]
Merge "Fix PropertySetSignalType signal interface signature" into devel/master
Subhransu Mohanty [Fri, 11 Sep 2020 01:17:42 +0000 (10:17 +0900)]
use modern construct '= default' for special functions.
This patch is auto generated by clang-tidy with modernize-use-equals-default.
excluded automated-tests
Change-Id: I50cf90eb5684144a95b263774f3d8b3be8f4518c
David Steele [Fri, 9 Oct 2020 13:37:15 +0000 (13:37 +0000)]
Merge changes I2769d6ae,I11060630,I5c96789c,I1d0e89be,I331a838c, ... into devel/master
* changes:
Add template keyword for android compiler
refactor SignalBase and CallbackBase using variadic template.
refactor Signal class.
refactor ConnectionTracker class.
refactor SlotConnection class.
refactor CallbackBase class.
refactor BaseSignal class.
refactor SignalConnection class.
György Straub [Fri, 9 Oct 2020 13:05:41 +0000 (14:05 +0100)]
DALi Version 1.9.33
Change-Id: I055725b0491f27960da25b48a94d6ee3d67dff89
Subhransu Mohanty [Fri, 28 Aug 2020 08:13:41 +0000 (17:13 +0900)]
Fix PropertySetSignalType signal interface signature
because Property::Value class is not a regular type each
time we pass by value it takes a deep copy(2 allocation)
this interface change will fix that issue.
Change-Id: I1c54c1fac00d0387f474c831df4eacf017dbd54b
Richard Huang [Wed, 23 Sep 2020 15:00:31 +0000 (16:00 +0100)]
Skip rendering if no animation is currently active
Change-Id: Ie14194eeee047d908f36ec4c509e3863cc227cb8
Adeel Kazmi [Thu, 8 Oct 2020 16:19:53 +0000 (16:19 +0000)]
Merge "skipping the render items outside of the partial rendering merged area." into devel/master
David Steele [Wed, 7 Oct 2020 14:37:59 +0000 (15:37 +0100)]
Add template keyword for android compiler
Android compiler needs template keyword added
to be able to find Emit / EmitReturns methods.
Not needed on latest GCC on Ubuntu or target.
Change-Id: I2769d6ae7e4aa6e56b26361885b8edc9a9277a35
Subhransu Mohanty [Wed, 7 Oct 2020 06:47:29 +0000 (15:47 +0900)]
add base type of enum to reduce class size.
with base type and structure packing the Animation class size reduced by 16byte.
Also added class member-initializer rather than updating default value in constructor.
Change-Id: I0153e8aefc6bb0128f185996389ba7d85f689049
Subhransu Mohanty [Thu, 24 Sep 2020 02:02:36 +0000 (11:02 +0900)]
refactor Property::Map interface.
- take std::string and Property::Value by value.
- use std::string_view in the find interface.
Change-Id: I8bcedb15f1b84663520a79b0e4a724e0cb28487b
Subhransu Mohanty [Mon, 5 Oct 2020 07:15:21 +0000 (16:15 +0900)]
refactor SignalBase and CallbackBase using variadic template.
Variadic template and parameter pack makes the Api list much shorter
and enables for future optimization.
Removed assertion from Callback::Execute if an empty callback has
been setup.
Fixed negative test case.
Change-Id: I11060630ef4b82fc9966610b5c63ef2fa27b3779
David Steele [Wed, 7 Oct 2020 11:10:03 +0000 (11:10 +0000)]
Merge "added Erase and EraseIf function to dali-vector" into devel/master
Subhransu Mohanty [Tue, 6 Oct 2020 02:17:07 +0000 (11:17 +0900)]
added Erase and EraseIf function to dali-vector
These functions uses erase-remove idiom for efficient
removal of more than one item from vector.
The signature is same as the standard erase() and erase_if()
function added to c++20.
Change-Id: I2d6769cde5b6acfbb03447b6576491021ab14fe1
adam.b [Thu, 1 Oct 2020 14:11:54 +0000 (15:11 +0100)]
skipping the render items outside of the partial rendering merged area.
Change-Id: I7a9019fc75600f71a5580c4a4956b6324399a2a3
Subhransu Mohanty [Wed, 16 Sep 2020 02:01:05 +0000 (11:01 +0900)]
refactor Signal class.
- current Signal<> class takes 3 Pointer size . 24byte in 64bit system and 12byte in 32bit system.
- The Actor class uses 11 siganls which takes 250bytes almost 50% of the Actor class size.
- With this patch the Signal<> object now occupies 1 pointer size. and allocates only when
user connects a signal.
Change-Id: I5c96789ca995e50bf54890d1d9048dc4e1b276bb
Subhransu Mohanty [Tue, 15 Sep 2020 09:32:14 +0000 (18:32 +0900)]
refactor ConnectionTracker class.
- keep Dali::Vector<SlotConnection> instead of Dali::Vector<SlotConnection*>, this will
reduce heap allocation as well as performance.
Change-Id: I1d0e89be58a41f89087708d8a59f2e0cbfa454df
Subhransu Mohanty [Tue, 15 Sep 2020 09:24:54 +0000 (18:24 +0900)]
refactor SlotConnection class.
- make SlotConnection a trivial type so that we can keep in container by value.
Change-Id: I331a838ccef8f9fecfd1a2b26830fb3ced801ee4
Subhransu Mohanty [Tue, 15 Sep 2020 07:03:42 +0000 (16:03 +0900)]
refactor CallbackBase class.
- Don't allocate objectdata separately as we allways heap allocate the CallbackBase object.
- keep operator==() in the header to give compiler opertunity for inlining.
Change-Id: Id17214b4c91d27849f67c953d526e4d3789a2cb4
Subhransu Mohanty [Tue, 15 Sep 2020 06:00:03 +0000 (15:00 +0900)]
refactor BaseSignal class.
- replace Dali::Vector<SignalConnection*> with std::vector<SignalConnection>
- Fixed Empty() and GetConnectionCount() implementaion complexity from O(n) to O(1).
- move trivial functions to header to make them inline.
- use erase-remove idiom to cleanup the empty connections.
Change-Id: I941bcf6b0b27a14d29a316f005f37bfca44c3530
Subhransu Mohanty [Tue, 15 Sep 2020 02:20:19 +0000 (11:20 +0900)]
refactor SignalConnection class.
- make SignalConnection class a move-only type.
- with this change we can use this object as a valuetype
instead of pointer in the std::vector.
- this will reduce the heap allocation as well as search
inside the container.
Change-Id: I87a0a4b38e979be23bfec75076fbda97ea73e932
Adeel Kazmi [Tue, 6 Oct 2020 11:37:47 +0000 (11:37 +0000)]
Merge "Added small buffer optimization to Property::Value." into devel/master
Subhransu Mohanty [Fri, 25 Sep 2020 02:33:40 +0000 (11:33 +0900)]
Added small buffer optimization to Property::Value.
With SBO optimization we don't need to allocate memory
for the Pimpl pointer as we will be creating the object
inplace in th Storage buffer.
After this change the Property::Value size will be 16byte
instead of 8. I think the overhead is minimal comparing to
the number of allocation this class does in a dali application.
Note: with the SBO and union trick the implementaion is little
bit complex than before. but as this class is core for property
and animation and used every where. the complexity is justified
in my opinion.
Change-Id: Ibe14fe92f15c2ab93395c9731bd1fca902e98259
Daekwang Ryu [Tue, 6 Oct 2020 05:15:47 +0000 (14:15 +0900)]
Revert "Revert "[Tizen] Add New API of Scene with screen orientation""
This reverts commit
494529bb9878775323b94d9603d7b32b8d4c485c.
Daekwang Ryu [Tue, 6 Oct 2020 05:15:41 +0000 (14:15 +0900)]
Revert "Revert "[Tizen] Add Integration API to Create public event type""
This reverts commit
37fc29497663b85a5ac50c00ae272539f0885459.
Daekwang Ryu [Tue, 6 Oct 2020 05:15:27 +0000 (14:15 +0900)]
Revert "Revert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture or not"""
This reverts commit
4dff9e72216170bca91db1d28fd411dc4d4b07f8.
Daekwang Ryu [Tue, 6 Oct 2020 05:15:17 +0000 (14:15 +0900)]
Revert "Revert "[Tizen] Partial rendering rotation does not work""
This reverts commit
543ff8422738d1bbc2527cac271464c7e46fb4d3.