platform/core/uifw/dali-core.git
3 years ago[Tizen] Not execute the remove callback
Jiyun Yang [Thu, 26 Nov 2020 06:16:41 +0000 (15:16 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 58fbb0f1bbc31a06160808cbcf1307948d4d7fb1.

Change-Id: Id2b0a9382c6e4bf112234dad79c3917bc3938084

3 years agoMerge branch 'devel/master' into tizen
Jiyun Yang [Thu, 26 Nov 2020 06:16:34 +0000 (15:16 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I5d87bc9f5cf095d0fc47c25bfb70f72b90e2a772

3 years agoRevert "[Tizen] Not execute the remove callback"
Jiyun Yang [Thu, 26 Nov 2020 06:15:50 +0000 (15:15 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 4a5882e3ff8c081c394b3994d3650600dce8fea4.

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

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

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

3 years agoRevert "[Tizen] Partial Rendering"
Jiyun Yang [Thu, 26 Nov 2020 06:15:43 +0000 (15:15 +0900)]
Revert "[Tizen] Partial Rendering"

This reverts commit 7fa74b6eb659d0527db813e84af069daa3fc2772.

3 years agoMerge "Support screen and client rotation" into devel/master
Adeel Kazmi [Mon, 23 Nov 2020 16:48:36 +0000 (16:48 +0000)]
Merge "Support screen and client rotation" into devel/master

3 years agoImplement a semaphore primitive 32/244732/9
Wander Lairson Costa [Mon, 21 Sep 2020 20:03:52 +0000 (17:03 -0300)]
Implement a semaphore primitive

macOS doesn't implement unnamed POSIX semaphores (sem_*) and semaphores
is only available in the standard C++ library starting with C++20.

We implement a semaphore primitive that tries to mimic as much as
possible std::counting_semaphore, this way when we enable C++20 in the
code base we can easily migrate to the standard implementation.

Change-Id: Ifab8dbe41b57490564ad569cf53d6aa0c4100a13

3 years agoSupport screen and client rotation 21/244821/11
Wonsik Jung [Thu, 24 Sep 2020 11:32:20 +0000 (20:32 +0900)]
Support screen and client rotation

In Tizen embedded system, two types of rotation are supported.
One is Window Rotation and the other is Screen rotation
Although their use-case are different, their rotation itself  almost works are same.
Real surface buffer is not rotated.
When rotation event is received from window server,
then internal contents are rotated and drawn with angle of the event.
This patch is to support the Tizen Rotation.

Change-Id: I1745b8cefaeb1bb6ff7639ac5d942aeb3216262f

3 years agoDALi Version 2.0.2 79/248079/1 dali_2.0.2
György Straub [Fri, 20 Nov 2020 07:45:46 +0000 (07:45 +0000)]
DALi Version 2.0.2

Change-Id: Iba6ed1ee281eb70633c4425a8c55f075455368a4

3 years ago[Tizen] Partial Rendering accepted/tizen/unified/20201120.125446 submit/tizen/20201119.081650
Heeyong Song [Thu, 19 Nov 2020 03:04:03 +0000 (12:04 +0900)]
[Tizen] Partial Rendering

Change-Id: Icbe8a2009d1712081fd7e78fffe2ef22642fd2b8

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

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 agoMerge "Clean up the code to build successfully on macOS" into devel/master
Adeel Kazmi [Wed, 18 Nov 2020 17:46:41 +0000 (17:46 +0000)]
Merge "Clean up the code to build successfully on macOS" into devel/master

3 years agoClean up the code to build successfully on macOS 85/243985/9
Wander Lairson Costa [Wed, 12 Aug 2020 17:49:44 +0000 (14:49 -0300)]
Clean up the code to build successfully on macOS

This commit does some code cleanup to successfully build dali-core in
macOS using the Apple provided clang compiler.

The clang version shipped with macOS doesn't have the
-Wno-class-memaccess and the -Wno-cast-function-type switches, so we
test their existence before adding them to the compiler options.

Mutex now has move constructor and assigment operator, so classes with
mutexes members can use their defaults move operations. Classes holding
references cannot have a default move assigment operator.

Virtual functions overriding parent classes are now declared with the
`override` keyword.

MAXIMUM_TIME_DIFF_ALLOWED is a global internal variable nerver used, so
it was removed.

.gitignore was updated to include some artifacts from coc-nvim
extension.

Change-Id: I76201f867240a0822e7e202c2edcbfa07b2dffd6

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 ago[dali_1.9.34] Merge branch 'devel/master' 42/245842/1
Richard Huang [Fri, 16 Oct 2020 10:33:08 +0000 (11:33 +0100)]
[dali_1.9.34] Merge branch 'devel/master'

Change-Id: I9ad15755abccc4c455918b049bec38c1bcb84b4d

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 ago[dali_1.9.33] Merge branch 'devel/master' 69/245469/1
György Straub [Fri, 9 Oct 2020 13:06:40 +0000 (14:06 +0100)]
[dali_1.9.33] Merge branch 'devel/master'

Change-Id: I58ae05dfbcbb8b9a80a3548de1c051444e9c9f8f

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