platform/core/uifw/dali-core.git
3 years ago[Tizen] Partial rendering rotation does not work
Heeyong Song [Thu, 19 Nov 2020 03:03:05 +0000 (12:03 +0900)]
[Tizen] Partial rendering rotation does not work

Change-Id: I13351404da7fd572f0215b35629f996cc26345cd

3 years ago[Tizen] Add screen and client rotation itself function
Heeyong Song [Thu, 19 Nov 2020 03:02:43 +0000 (12:02 +0900)]
[Tizen] Add screen and client rotation itself function

Change-Id: I688adf575cd7e8d4ec42f22115e6ce242b1abbae

3 years ago[Tizen] Not execute the remove callback
Heeyong Song [Thu, 19 Nov 2020 03:02:14 +0000 (12:02 +0900)]
[Tizen] Not execute the remove callback

Change-Id: I20bd23bccce064e72d7dc24855028ddc9af093f6

3 years agoMerge branch 'devel/master' into tizen
Heeyong Song [Thu, 19 Nov 2020 03:01:55 +0000 (12:01 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I3eb194ae0b54cc482f448b4fde9c27b13fd47f44

3 years agoRevert "[Tizen] Not execute the remove callback"
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

3 years agoRevert "[Tizen] Add screen and client rotation itself function"
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

3 years agoRevert "[Tizen] Partial rendering rotation does not work"
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

3 years agoRevert "[Tizen] Add Integration API to Create public event type"
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

3 years agoRevert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture...
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

3 years agoRevert "[Tizen] Partial Rendering"
Heeyong Song [Thu, 19 Nov 2020 02:56:06 +0000 (11:56 +0900)]
Revert "[Tizen] Partial Rendering"

This reverts commit 33c6509ce20db3d379fdbadb53fc0b44a7015aad.

Change-Id: I903b5684a5f1cbce22c1a1f4c57de94817899e86

3 years agoRevert "[Tizen] Revert "Skip rendering if no animation is currently active""
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

3 years agoDALi Version 2.0.1 04/247704/1 dali_2.0.1
Cheng-Shiun Tsai [Fri, 13 Nov 2020 14:53:14 +0000 (14:53 +0000)]
DALi Version 2.0.1

Change-Id: I60ab4275600a2a4fd7e0b6cac346357b05a5a2fa

3 years agoMerge "Blend Equation Advanced Supporting" into devel/master
Seungho BAEK [Wed, 11 Nov 2020 03:07:08 +0000 (03:07 +0000)]
Merge "Blend Equation Advanced Supporting" into devel/master

3 years ago[Tizen] Revert "Skip rendering if no animation is currently active" accepted/tizen/6.0/unified/20201111.064916 accepted/tizen/6.0/unified/20201128.020326 accepted/tizen/unified/20201110.230608 submit/tizen/20201110.094917 submit/tizen_6.0/20201110.110443 submit/tizen_6.0/20201110.230218 submit/tizen_6.0/20201110.230946 submit/tizen_6.0/20201127.133124 submit/tizen_6.0/20201127.164604
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.

3 years ago[Tizen] Partial Rendering
Wonsik Jung [Tue, 10 Nov 2020 06:29:45 +0000 (15:29 +0900)]
[Tizen] Partial Rendering

This reverts commit 003dfd2fa8eebf3f96d23100dcafc98514a67461.

3 years ago[Tizen] Revert "Use touch consumed return to set whether we process a gesture or...
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.

3 years ago[Tizen] Add Integration API to Create public event type
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.

3 years ago[Tizen] Partial rendering rotation does not work
Wonsik Jung [Tue, 10 Nov 2020 06:28:30 +0000 (15:28 +0900)]
[Tizen] Partial rendering rotation does not work

This reverts commit 03a7f4bcfacc72ef4569d5f7dc5ed89b11e543f4.

3 years ago[Tizen] Add screen and client rotation itself function
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.

3 years ago[Tizen] Not execute the remove callback
Wonsik Jung [Tue, 10 Nov 2020 06:27:43 +0000 (15:27 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 20d68596742caa0c692eebd7fc613d0d29820fc1.

3 years agoMerge branch 'devel/master' into tizen
Wonsik Jung [Tue, 10 Nov 2020 06:27:25 +0000 (15:27 +0900)]
Merge branch 'devel/master' into tizen

3 years agoRevert "[Tizen] Not execute the remove callback"
Wonsik Jung [Tue, 10 Nov 2020 06:27:09 +0000 (15:27 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 0418ddeb67f3a2cea394bc7be5d17229a4c6cd9a.

3 years agoRevert "[Tizen] Add screen and client rotation itself function"
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.

3 years agoRevert "[Tizen] Partial rendering rotation does not work"
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.

3 years agoRevert "[Tizen] Add Integration API to Create public event type"
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.

3 years agoRevert "[Tizen] Revert "Use touch consumed return to set whether we process a gesture...
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.

3 years agoRevert "[Tizen] Partial Rendering"
Wonsik Jung [Tue, 10 Nov 2020 06:26:56 +0000 (15:26 +0900)]
Revert "[Tizen] Partial Rendering"

This reverts commit 7ea6acde7ee123768f4d8885c9503dfee4ec8f7d.

3 years agoRevert "[Tizen] Revert "Skip rendering if no animation is currently active""
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.

3 years ago(patch-coverage.pl) Outputs covered and total lines as well 05/247305/1
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

3 years ago[Tizen] Revert "Skip rendering if no animation is currently active" 78/247278/1
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

3 years agoDALi Version 2.0.0 72/247172/1 dali_2.0.0
Adeel Kazmi [Fri, 6 Nov 2020 09:17:46 +0000 (09:17 +0000)]
DALi Version 2.0.0

Change-Id: I0a32b1d26aa223dd728b36188726693084461e35

3 years ago[Tizen] Partial Rendering 27/247027/1
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

3 years agoRenderTaskProcessor::AddRenderablesForTask() optimization. 41/239741/9
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>
3 years agoImplement GetNanoseconds() with std::chrono. 08/242608/7
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>
3 years agoImprove the logic using Erase-Remove Idiom. 36/242436/6
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

3 years agoMerge "use string_view instead of const string literals." into devel/master
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

3 years agouse string_view instead of const string literals. 22/245322/4
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

3 years agorefactor dali-animation. 11/245511/11
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

3 years agoAdded test-harness timeout check 18/246618/2
David Steele [Mon, 2 Nov 2020 13:37:07 +0000 (13:37 +0000)]
Added test-harness timeout check

Change-Id: I82276c59de57bc29a2e6a2e895db26e5072a61e0

3 years agoDALi Version 1.9.36 29/246529/1 dali_1.9.36
David Steele [Fri, 30 Oct 2020 14:33:16 +0000 (14:33 +0000)]
DALi Version 1.9.36

Change-Id: Ie87e252297e782248c1d5222a3cabc58e2c8f76a

3 years agoBlend Equation Advanced Supporting 00/224500/45
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>
3 years agoChange property name from TouchDelegateArea to TouchArea. 91/246391/2
Joogab Yun [Thu, 29 Oct 2020 03:33:55 +0000 (12:33 +0900)]
Change property name from TouchDelegateArea to TouchArea.

Change-Id: I6b2af477ffb8523d7e98ffbc250cbb2deb59c5cc

3 years ago[Tizen] Revert "Use touch consumed return to set whether we process a gesture or... accepted/tizen/unified/20201103.123400 submit/tizen/20201030.020452 submit/tizen/20201030.161430
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

3 years ago[Tizen] Add Integration API to Create public event type
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

3 years ago[Tizen] Partial rendering rotation does not work
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

3 years ago[Tizen] Add screen and client rotation itself function
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

3 years ago[Tizen] Not execute the remove callback
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

3 years agoMerge branch 'devel/master' into tizen
seungho [Wed, 28 Oct 2020 12:22:13 +0000 (21:22 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I612dafb547931f225fb9bd4d7dc42dd008a62543

3 years agoRevert "Revert "Revert "[Tizen] Not execute the remove callback"""
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.

3 years agoRevert "Revert "Revert "[Tizen] Add screen and client rotation itself function"""
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.

3 years agoRevert "Revert "Revert "[Tizen] Partial rendering rotation does not work"""
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.

3 years agoRevert "Revert "Revert "[Tizen] Revert "Use touch consumed return to set whether...
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.

3 years agoRevert "Revert "Revert "[Tizen] Add Integration API to Create public event type"""
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.

3 years agoUpdated patch-coverage.pl script 24/246124/1
David Steele [Fri, 23 Oct 2020 14:33:40 +0000 (15:33 +0100)]
Updated patch-coverage.pl script

Change-Id: I01c1e0e7a6959596bea5ff3318e964eda230b519

3 years agouse algorithm and range for 67/243767/3
Subhransu Mohanty [Thu, 10 Sep 2020 01:59:09 +0000 (10:59 +0900)]
use algorithm and range for

Change-Id: I8f276553114fecf8c9f6b60696e2dcd274388958

3 years agoMerge "DALi Version 1.9.35" into devel/master
Adeel Kazmi [Fri, 23 Oct 2020 10:48:15 +0000 (10:48 +0000)]
Merge "DALi Version 1.9.35" into devel/master

3 years agoDALi Version 1.9.35 03/246103/1 dali_1.9.35
adam.b [Fri, 23 Oct 2020 10:44:56 +0000 (11:44 +0100)]
DALi Version 1.9.35

Change-Id: I39bd529cc7846aebdebe06c06145977b3dd6e269

3 years agoMerge "use modern construct '= default' for special functions." into devel/master
David Steele [Fri, 23 Oct 2020 10:32:46 +0000 (10:32 +0000)]
Merge "use modern construct '= default' for special functions." into devel/master

3 years agoMerge "Add TouchDelegateArea property." into devel/master
joogab yun [Fri, 23 Oct 2020 02:02:45 +0000 (02:02 +0000)]
Merge "Add TouchDelegateArea property." into devel/master

3 years agoAdding new patch-coverage script 61/245661/3
David Steele [Tue, 13 Oct 2020 15:57:58 +0000 (16:57 +0100)]
Adding new patch-coverage script

Change-Id: Iaf227f70e10f2af1db928c0f0614619dbee53d5d

3 years agoAdd TouchDelegateArea property. 35/245935/9
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

3 years agoMerge "refactor Property::Map interface." into devel/master
David Steele [Tue, 20 Oct 2020 15:05:45 +0000 (15:05 +0000)]
Merge "refactor Property::Map interface." into devel/master

3 years agoMerge "add base type of enum to reduce class size." 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

3 years agoMerge "DALi Version 1.9.34" 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

3 years agoDALi Version 1.9.34 36/245836/1 dali_1.9.34
Richard Huang [Fri, 16 Oct 2020 10:30:35 +0000 (11:30 +0100)]
DALi Version 1.9.34

Change-Id: I5f8723bdcce4d478589a8dc72cea88180882d69f

3 years agoMerge "Skip rendering if no animation is currently active" into devel/master
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

3 years agoAdd intercept touch event 58/245258/18
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

3 years agoFix doxygen comments 85/245585/1
Adeel Kazmi [Mon, 12 Oct 2020 19:46:40 +0000 (20:46 +0100)]
Fix doxygen comments

Change-Id: If8c7b64bbf197370ccdcf71d959846a477cee8d1

3 years agoMerge "Fix PropertySetSignalType signal interface signature" into devel/master
David Steele [Fri, 9 Oct 2020 14:07:06 +0000 (14:07 +0000)]
Merge "Fix PropertySetSignalType signal interface signature" into devel/master

3 years agouse modern construct '= default' for special functions. 75/243875/3
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

3 years agoMerge changes I2769d6ae,I11060630,I5c96789c,I1d0e89be,I331a838c, ... into devel/master
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.

3 years agoDALi Version 1.9.33 63/245463/1 dali_1.9.33
György Straub [Fri, 9 Oct 2020 13:05:41 +0000 (14:05 +0100)]
DALi Version 1.9.33

Change-Id: I055725b0491f27960da25b48a94d6ee3d67dff89

3 years agoFix PropertySetSignalType signal interface signature 04/242604/4
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

3 years agoSkip rendering if no animation is currently active 27/244727/4
Richard Huang [Wed, 23 Sep 2020 15:00:31 +0000 (16:00 +0100)]
Skip rendering if no animation is currently active

Change-Id: Ie14194eeee047d908f36ec4c509e3863cc227cb8

3 years agoMerge "skipping the render items outside of the partial rendering merged area." into...
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

3 years agoAdd template keyword for android compiler 60/245360/2
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

3 years agoadd base type of enum to reduce class size. 31/245331/2
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

3 years agorefactor Property::Map interface. 44/244744/4
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

3 years agorefactor SignalBase and CallbackBase using variadic template. 94/245194/3
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

3 years agoMerge "added Erase and EraseIf function to dali-vector" into devel/master
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

3 years agoadded Erase and EraseIf function to dali-vector 47/245247/2
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

3 years agoskipping the render items outside of the partial rendering merged area. 01/245101/2
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

3 years agorefactor Signal class. 06/244206/6
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

3 years agorefactor ConnectionTracker class. 05/244205/5
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

3 years agorefactor SlotConnection class. 04/244204/5
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

3 years agorefactor CallbackBase class. 03/244203/5
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

3 years agorefactor BaseSignal class. 02/244202/5
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

3 years agorefactor SignalConnection class. 01/244201/5
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

3 years agoMerge "Added small buffer optimization to Property::Value." into devel/master
Adeel Kazmi [Tue, 6 Oct 2020 11:37:47 +0000 (11:37 +0000)]
Merge "Added small buffer optimization to Property::Value." into devel/master

3 years agoAdded small buffer optimization to Property::Value. 43/244843/6
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

3 years agoRevert "Revert "[Tizen] Add New API of Scene with screen orientation"" accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113721 accepted/tizen/6.0/unified/hotfix/20201103.001747 accepted/tizen/unified/20201007.090635 submit/tizen/20201006.153948 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
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.

3 years agoRevert "Revert "[Tizen] Add Integration API to Create public event type""
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.

3 years agoRevert "Revert "[Tizen] Revert "Use touch consumed return to set whether we process...
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.

3 years agoRevert "Revert "[Tizen] Partial rendering rotation does not work""
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.

3 years agoRevert "Revert "[Tizen] Add screen and client rotation itself function""
Daekwang Ryu [Tue, 6 Oct 2020 05:15:05 +0000 (14:15 +0900)]
Revert "Revert "[Tizen] Add screen and client rotation itself function""

This reverts commit c9ae3cd21ea6a145f3f1f63594bd08eb83609b7e.

Change-Id: I177845f7dfff9378826b36f6bc15a4c34bb315ad

3 years agoRevert "Revert "[Tizen] Not execute the remove callback""
Daekwang Ryu [Tue, 6 Oct 2020 05:13:55 +0000 (14:13 +0900)]
Revert "Revert "[Tizen] Not execute the remove callback""

This reverts commit 0c6231fd8c92dd48b27bc7f91b514a0b671c87f6.

3 years agoMerge branch 'devel/master' into tizen
Daekwang Ryu [Tue, 6 Oct 2020 03:08:44 +0000 (12:08 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I85a9d58779be0490ed0517832a4558078e51d16c

3 years agoRevert "[Tizen] Not execute the remove callback"
Daekwang Ryu [Tue, 6 Oct 2020 03:08:01 +0000 (12:08 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 869820a8b29e0ed0df506e6a9887f8bbd44e402e.

3 years agoRevert "[Tizen] Add screen and client rotation itself function"
Daekwang Ryu [Tue, 6 Oct 2020 03:07:59 +0000 (12:07 +0900)]
Revert "[Tizen] Add screen and client rotation itself function"

This reverts commit 3e6302f19066584da65035c81f8bcb6a3da941fc.

3 years agoRevert "[Tizen] Partial rendering rotation does not work"
Daekwang Ryu [Tue, 6 Oct 2020 03:07:55 +0000 (12:07 +0900)]
Revert "[Tizen] Partial rendering rotation does not work"

This reverts commit 710797e912a4f8ab9b63883e64dca72961aa8069.