platform/core/uifw/dali-core.git
4 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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 years agokeep a static vector to avoid memory allocation 70/242970/3
Subhransu Mohanty [Wed, 2 Sep 2020 06:47:22 +0000 (15:47 +0900)]
keep a static  vector to avoid memory allocation

Change-Id: I3ada71c7fd7d5d4ede47f769cc81723e22ac3a77

4 years ago[dali_1.9.32] Merge branch 'devel/master' 16/245116/1
Cheng-Shiun Tsai [Fri, 2 Oct 2020 09:47:01 +0000 (10:47 +0100)]
[dali_1.9.32] Merge branch 'devel/master'

Change-Id: I273fcca7812387ae4d62a455aa69c43ea8f95c9f

4 years agoDALi Version 1.9.32 10/245110/1 dali_1.9.32
Cheng-Shiun Tsai [Fri, 2 Oct 2020 09:46:30 +0000 (10:46 +0100)]
DALi Version 1.9.32

Change-Id: I0e3ec20ed93df4dffc7a6604ae3ef069036f1af7

4 years agoMerge "partial rendering - When calculating the area, a difference of about 1px...
Adeel Kazmi [Wed, 30 Sep 2020 16:24:14 +0000 (16:24 +0000)]
Merge "partial rendering  - When calculating the area, a difference of about 1px occurs.    so change roundf to floor" into devel/master

4 years agoMerge "partial rendering" into devel/master
Adeel Kazmi [Wed, 30 Sep 2020 16:23:46 +0000 (16:23 +0000)]
Merge "partial rendering" into devel/master

4 years agoConst correctness improvements for Property::Value. 74/244974/4
György Straub [Mon, 28 Sep 2020 12:09:02 +0000 (13:09 +0100)]
Const correctness improvements for Property::Value.

GetArray() and GetMap() return non-const pointers, which allow const
objects being modified. While DALi itself doesn't seem to abuse this
in client code it may still lead to hard to trace bugs or UB at worst.

It makes sense that the modification of an element of a Property::Map
or Array that a Property::Value holds, means modification of the
Property::Value itself.

- GetArray/Map() const has been changed to return pointer-to-consts;
- a non-const counterpart has been added to each;

Change-Id: I187770bbb3cf355fbf1df95c909bad3ddc8cdb23
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoRefactor Property::Value::Impl class 39/242739/16
Subhransu Mohanty [Mon, 31 Aug 2020 01:33:12 +0000 (10:33 +0900)]
Refactor Property::Value::Impl class

- now Impl class object is 16byte for both 32 and 64 bit system.
- inplace constuct the object for type bool , int, float , vector2 , vector3 , Property::Map and Property::Array
- dosen't delete the Impl pointer when type dosen't match.
- all the constructos take argument by value (sink argument).
- marked move constructor and assignment operator as noexcept.

Change-Id: Ic5f4fb8956b67b00a7a68ba8f02d6963fb457221

4 years agopartial rendering 61/244861/2
Joogab Yun [Fri, 25 Sep 2020 07:31:20 +0000 (16:31 +0900)]
partial rendering
 - When calculating the area, a difference of about 1px occurs.
   so change roundf to floor

Change-Id: Id07ecd26456288884585ca58bc2d33e4f8bddb7e

4 years agorefcator demangler to avoid temporary vector and string creation. 21/244921/3
sub.mohanty@samsung.com [Sat, 26 Sep 2020 00:21:29 +0000 (09:21 +0900)]
refcator demangler to avoid temporary vector and string creation.

-this patch reduces heap allocation by 130,000

Change-Id: Ic095319c11aea9e5235683f409b7ee846087d702

4 years agoEnsuring CustomActor behaviour flags retain expected values 05/244905/2
David Steele [Fri, 25 Sep 2020 15:13:36 +0000 (16:13 +0100)]
Ensuring CustomActor behaviour flags retain expected values

Change-Id: Ica035f04ac71d0f514af0dbe3920f235bd775907

4 years ago[dali_1.9.31] Merge branch 'devel/master' 87/244887/1
Adeel Kazmi [Fri, 25 Sep 2020 10:58:50 +0000 (11:58 +0100)]
[dali_1.9.31] Merge branch 'devel/master'

Change-Id: Id3ff79a9e7c09c3aa7b4e7bba1a854913556b762

4 years agoDALi Version 1.9.31 80/244880/1 dali_1.9.31
Adeel Kazmi [Fri, 25 Sep 2020 10:57:47 +0000 (11:57 +0100)]
DALi Version 1.9.31

Change-Id: Ia9d748e582577f2acb0bbfc85968fa9d12e8f92a

4 years agopartial rendering 10/240310/9
Joogab Yun [Wed, 5 Aug 2020 07:42:24 +0000 (16:42 +0900)]
partial rendering

1. Modify dirtyRects to have scene for multi window support.
  - Looking at a single dirtyRect in multiple windows causes problems.

2. Add Scissor for partial rendering

Change-Id: Iec8455c2b948d4344ab805d4426e2a17a447af99

4 years agoMerge "Not use texture bound cache in unexpected cases" into devel/master
Adeel Kazmi [Wed, 23 Sep 2020 12:57:37 +0000 (12:57 +0000)]
Merge "Not use texture bound cache in unexpected cases" into devel/master

4 years agoFix interface to avoid heap allocation. 63/244663/1
Subhransu Mohanty [Wed, 23 Sep 2020 04:44:50 +0000 (13:44 +0900)]
Fix interface to avoid heap allocation.

- take Property::Value and std::string by value.
- use vector::push_back(T&&) version to avoid copy.
- this patch reduces 300,000 memory allocation.

Change-Id: I2da12f4b18cef5967ada18d6c9c58d2bc406d8ea

4 years agoMerge "Include the algorithm header file" into devel/master
Adeel Kazmi [Tue, 22 Sep 2020 21:26:44 +0000 (21:26 +0000)]
Merge "Include the algorithm header file" into devel/master

4 years agoInclude the algorithm header file 41/244641/1
Wander Lairson Costa [Tue, 22 Sep 2020 17:24:58 +0000 (14:24 -0300)]
Include the algorithm header file

It is necessary by std::min and std::max. This fixes dali-demo build on
Windows.

Change-Id: Id10dd27f2b90b675ba68c1504f829853ace5071d

4 years agoNot use texture bound cache in unexpected cases 96/244396/2
Heeyong Song [Fri, 18 Sep 2020 06:14:22 +0000 (15:14 +0900)]
Not use texture bound cache in unexpected cases

Change-Id: I7866750a920a5c9da8c554088f72af501052a239

4 years agoMerge "Fix interface to take sink argument by value." into devel/master
Adeel Kazmi [Mon, 21 Sep 2020 12:29:22 +0000 (12:29 +0000)]
Merge "Fix interface to take sink argument by value." into devel/master

4 years agoMerge "Internal::Actor Refactoring" into devel/master
Adeel Kazmi [Mon, 21 Sep 2020 08:15:54 +0000 (08:15 +0000)]
Merge "Internal::Actor Refactoring" into devel/master

4 years agoFix interface to take sink argument by value. 61/242861/5
Subhransu Mohanty [Tue, 1 Sep 2020 09:38:06 +0000 (18:38 +0900)]
Fix interface to take sink argument by value.

 -Fix RegisterProperty() interface to take name and property by value.
 -Fix SetProperty() interface to take property by value.
 -Fix RegisterProperty() interface to take name and property by value.

Change-Id: I04231da346a62d3aa56892453d36ed0c0b1657f5

4 years ago[dali_1.9.30] Merge branch 'devel/master' 44/244444/1
David Steele [Fri, 18 Sep 2020 10:35:33 +0000 (11:35 +0100)]
[dali_1.9.30] Merge branch 'devel/master'

Change-Id: Ie458776623bc8eabd38c5d20534e1bc5b596c500

4 years agoDALi Version 1.9.30 38/244438/1 dali_1.9.30
David Steele [Fri, 18 Sep 2020 10:35:02 +0000 (11:35 +0100)]
DALi Version 1.9.30

Change-Id: Ib069886ed3b8bdf7d159e2fe5771b22d8de00816

4 years agoMerge "Fix texture bound cache issue" into devel/master
Heeyong Song [Thu, 17 Sep 2020 23:36:37 +0000 (23:36 +0000)]
Merge "Fix texture bound cache issue" into devel/master

4 years agoMerge "Added API to apply native texture modification to shader" into devel/master
Adeel Kazmi [Thu, 17 Sep 2020 21:13:25 +0000 (21:13 +0000)]
Merge "Added API to apply native texture modification to shader" into devel/master

4 years agoInternal::Actor Refactoring 59/243759/8
Adeel Kazmi [Wed, 9 Sep 2020 17:53:17 +0000 (18:53 +0100)]
Internal::Actor Refactoring

Change-Id: Ibeb50bb81a8941fb1e72f8ca8d2db9c998085e7c

4 years agoFix texture bound cache issue 78/244278/2
Heeyong Song [Wed, 16 Sep 2020 15:23:13 +0000 (00:23 +0900)]
Fix texture bound cache issue

ActiveTexture should be called if mActiveTextureUnit is different.
We don't need to check it in BindTextureForUnit().

And the mBoundTextureId should store ids per target.

Change-Id: I30d93784577a2ce261ef047f2ec36c6adb766b0a

4 years agoMerge "Fix AddUniformMapping() interface to take uniform name by value." into devel...
Adeel Kazmi [Wed, 16 Sep 2020 17:44:36 +0000 (17:44 +0000)]
Merge "Fix AddUniformMapping() interface to take uniform name by value." into devel/master

4 years agoFix AddUniformMapping() interface to take uniform name by value. 55/242855/3
Subhransu Mohanty [Tue, 1 Sep 2020 09:24:16 +0000 (18:24 +0900)]
Fix AddUniformMapping() interface to take uniform name by value.

this will avoid temporary string allocation.

Change-Id: I21e358150c3ac40496ae62c23562a77551e66acd

4 years agorefactor PropertyMetadata table. 98/243998/3
Subhransu Mohanty [Mon, 14 Sep 2020 01:00:34 +0000 (10:00 +0900)]
refactor PropertyMetadata table.

- keep string_view insted of const char* for performance.
- make both table constexpr so that we can sanity check during compile time.

Change-Id: I13a424b3f9c5fadd52ea02889ba6d687f8f41346

4 years agoMerge "Ensure animation is not played when an actor is not on scene" into devel/master
Heeyong Song [Mon, 14 Sep 2020 14:16:21 +0000 (14:16 +0000)]
Merge "Ensure animation is not played when an actor is not on scene" into devel/master

4 years agoAdded API to apply native texture modification to shader 82/243982/2
David Steele [Fri, 11 Sep 2020 16:20:47 +0000 (17:20 +0100)]
Added API to apply native texture modification to shader

If a given texture is using a Native Image, then update the shader
using the custom prefix and sampler from that NativeImage.

Change-Id: Ic94e5b6eb90ad453d9e7e288837964634f20a2db
Signed-off-by: David Steele <david.steele@samsung.com>
4 years ago[dali_1.9.29] Merge branch 'devel/master' 70/243970/1
adam.b [Fri, 11 Sep 2020 11:57:12 +0000 (12:57 +0100)]
[dali_1.9.29] Merge branch 'devel/master'

Change-Id: I80d089c67fbb756a2d86e45b67d5ed0883f08130

4 years agoDALi Version 1.9.29 64/243964/1 dali_1.9.29
adam.b [Fri, 11 Sep 2020 11:56:15 +0000 (12:56 +0100)]
DALi Version 1.9.29

Change-Id: I971d9664063dc8f7a9c178735103c39fa64eb4ed

4 years agoEnsure animation is not played when an actor is not on scene 98/243898/2
Heeyong Song [Fri, 11 Sep 2020 04:05:09 +0000 (13:05 +0900)]
Ensure animation is not played when an actor is not on scene

Change-Id: Iadfe60520ad14de6db2c1867bc6df223fa5bf10a

4 years agoFormatting automated-tests 01/243601/4
David Steele [Mon, 7 Sep 2020 14:10:54 +0000 (15:10 +0100)]
Formatting automated-tests

Change-Id: Ic0fd2e6eef75ad8af21511ba6b9383fa287009a4

4 years agoFormatted API 58/243758/3
David Steele [Wed, 9 Sep 2020 17:28:27 +0000 (18:28 +0100)]
Formatted API

Change-Id: I46852b09a374bb8115a2ce12959800f030e54c60

4 years agoclang-format: added .clang-format with rules adhere to dali coding guidelines. 98/242698/8
Subhransu Mohanty [Mon, 31 Aug 2020 02:08:43 +0000 (11:08 +0900)]
clang-format: added .clang-format with rules adhere to dali coding guidelines.

added ./format file which will apply the coding guideline to the latest commit at HEAD^ and
reformats  the files if it violates Dali style  guideline.

Change-Id: Ic265bdab2f43123eba72dd3317f2fda39248c2e4

4 years agoExport Setter APIs in DevelKeyEvent 23/243823/1
Richard Huang [Thu, 10 Sep 2020 09:08:59 +0000 (10:08 +0100)]
Export Setter APIs in DevelKeyEvent

Change-Id: Id14c93d01b2cfad68ba2bb9a01b6fad457ab6231

4 years agoAdding 'override', removing 'virtual' from overriding functions' declarations in... 52/243752/1
György Straub [Wed, 9 Sep 2020 10:02:34 +0000 (11:02 +0100)]
Adding 'override', removing 'virtual' from overriding functions' declarations in tests.

Change-Id: I8954231725d60faf8caac222db73ebf7b5a4bfae
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoMerge "Add devel api to create valid handle for Gesture classes" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 17:25:10 +0000 (17:25 +0000)]
Merge "Add devel api to create valid handle for Gesture classes" into devel/master

4 years agoMerge "Changed 'virtual' function override declarations to 'override' in automated...
Adeel Kazmi [Tue, 8 Sep 2020 10:56:58 +0000 (10:56 +0000)]
Merge "Changed 'virtual' function override declarations to 'override' in automated-tests." into devel/master

4 years agoAdd devel api to create valid handle for Gesture classes 91/243591/2
Richard Huang [Tue, 8 Sep 2020 10:16:18 +0000 (11:16 +0100)]
Add devel api to create valid handle for Gesture classes

Change-Id: I63f180b330ad0da44f09ad0e323d89ec78101ae0

4 years agoMerge "Fix indenting" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 10:51:13 +0000 (10:51 +0000)]
Merge "Fix indenting" into devel/master

4 years agoMerge "use modern construct 'nullptr' instead of 'NULL' or '0'" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 10:47:39 +0000 (10:47 +0000)]
Merge "use modern construct 'nullptr' instead of 'NULL' or '0'" into devel/master

4 years agoMerge "Add Integration API to Create public event type" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 10:30:30 +0000 (10:30 +0000)]
Merge "Add Integration API to Create public event type" into devel/master

4 years agoMerge "fix deep copy of the vector." into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 09:57:21 +0000 (09:57 +0000)]
Merge "fix deep copy of the vector." into devel/master

4 years agoMerge "use modern construct 'override' in the derive class." into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 09:49:52 +0000 (09:49 +0000)]
Merge "use modern construct 'override' in the derive class." into devel/master

4 years agoMerge "Make Update() function of frame callback is called for every frame." into...
Seungho BAEK [Tue, 8 Sep 2020 06:49:45 +0000 (06:49 +0000)]
Merge "Make Update() function of frame callback is called for every frame." into devel/master

4 years agofix deep copy of the vector. 47/243547/2
Subhransu Mohanty [Tue, 8 Sep 2020 03:26:54 +0000 (12:26 +0900)]
fix deep copy of the vector.

as the function returns the vector by const& and our temporary
object dosen't match the return type we make a deep copy of the vector.

Change-Id: Ie402d85962b138ed08bf00cbb3a8453190b8f812

4 years agouse modern construct 'nullptr' instead of 'NULL' or '0' 21/243521/2
Subhransu Mohanty [Tue, 8 Sep 2020 01:47:59 +0000 (10:47 +0900)]
use modern construct 'nullptr' instead of 'NULL' or '0'

This patch is auto generated by clang-tidy with modernize-use-nullptr check.

Change-Id: Iafb79e884e79ec02ebdf32ea687f519aceb1f4dc

4 years agouse modern construct 'override' in the derive class. 34/243334/2
Subhransu Mohanty [Mon, 7 Sep 2020 00:14:01 +0000 (09:14 +0900)]
use modern construct 'override' in the derive class.

this patch is auto generated by clang-tidy with modernize-use-override.

Change-Id: Id2a6abb4a6ce9725bd870dc6a846e8cea33b37ae

4 years agoFix indenting 04/243504/1
Adeel Kazmi [Mon, 7 Sep 2020 15:52:57 +0000 (16:52 +0100)]
Fix indenting

Change-Id: I352dcbb67b54f928ee20695f63f009afa58f8cd7

4 years agoMake Update() function of frame callback is called for every frame. 53/238353/6
Seungho, Baek [Mon, 13 Jul 2020 04:39:37 +0000 (13:39 +0900)]
Make Update() function of frame callback is called for every frame.

 - Currently updateScene flag is not be true even though frame callback is existed.
 - So, make updateScene true when frame callback processor is existed.

Change-Id: If5003ab5be3fa9293ef94ed2482e6cd36ac5166e
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoUse modern construct 'using' instead of typedef. 43/243343/2
Subhransu Mohanty [Mon, 7 Sep 2020 01:14:15 +0000 (10:14 +0900)]
Use modern construct 'using' instead of typedef.

this patch is auto generated by clang-tidy using 'modernize-use-using' check.

Change-Id: I269203c391d6a676db65a28ac7dd4b19301bdbd1

4 years agoChanged 'virtual' function override declarations to 'override' in automated-tests. 26/243326/1
György Straub [Fri, 4 Sep 2020 15:40:23 +0000 (16:40 +0100)]
Changed 'virtual' function override declarations to 'override' in automated-tests.

Change-Id: I39b03b7d75ceb50c20ca2b964eb65fa488827040
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years ago[dali_1.9.28] Merge branch 'devel/master' 81/243281/1
Richard Huang [Fri, 4 Sep 2020 10:16:10 +0000 (11:16 +0100)]
[dali_1.9.28] Merge branch 'devel/master'

Change-Id: I3f7cd18342490e72c5c7b05349a25f3036facde4

4 years agoDALi Version 1.9.28 74/243274/1 dali_1.9.28
Richard Huang [Fri, 4 Sep 2020 10:15:39 +0000 (11:15 +0100)]
DALi Version 1.9.28

Change-Id: I1dc2f217b6ef5c25114c7dc1e03bd2cee4055d19

4 years agoAdd Integration API to Create public event type 56/239956/9
Daekwang Ryu [Tue, 1 Sep 2020 05:24:31 +0000 (14:24 +0900)]
Add Integration API to Create public event type

Add intergration API to support GlWindow.
It is used gl-window-impl in dali-adaptor.

Change-Id: I296ed587911135c3fea616f7114352f5a6af6a9e

4 years agoMerge "Removed On(...)Event()" into devel/master
Adeel Kazmi [Thu, 3 Sep 2020 17:23:32 +0000 (17:23 +0000)]
Merge "Removed On(...)Event()" into devel/master

4 years agoRemoved On(...)Event() 58/242358/7
adam.b [Thu, 3 Sep 2020 15:55:40 +0000 (16:55 +0100)]
Removed On(...)Event()

Change-Id: Ia14b294a1fbdde5bf82cac93ff3101285f86727f

4 years agochange Object::OnPropertySet() interface signature. 27/242427/3
Subhransu Mohanty [Thu, 27 Aug 2020 01:18:32 +0000 (10:18 +0900)]
change Object::OnPropertySet() interface signature.

the old interface was taking Property::Value object by value which
was making a deep copy (2 allocation). so changed the interface to
take it as a const& object.

Change-Id: I6cd67f6900ea61ea47154f9345a9ffe8f949f816

4 years agoMoved Gesture::State and -::Type to gesture-enumerations.h. 25/243025/4
György Straub [Wed, 2 Sep 2020 07:44:52 +0000 (08:44 +0100)]
Moved Gesture::State and -::Type to gesture-enumerations.h.

- GestureState is now an enum class;
- Their values have been changed to upper case in compliance with the
  DALi coding standards;
- Added tests for Pinch- & TapGestureProcessor abort cases;

Change-Id: Iae9414e0f771535dffe6373e448c8769131f1b6d

4 years agoMerge "Renamed TouchSignal to TouchedSignal" into devel/master
Adeel Kazmi [Wed, 2 Sep 2020 20:09:31 +0000 (20:09 +0000)]
Merge "Renamed TouchSignal to TouchedSignal" into devel/master

4 years agoRenamed TouchSignal to TouchedSignal 16/243016/5
Adeel Kazmi [Wed, 2 Sep 2020 11:57:41 +0000 (12:57 +0100)]
Renamed TouchSignal to TouchedSignal

Change-Id: Iee038875f65be610804e4209c0be22be9914df02

4 years agoAdd devel API to create an initialized HoverEvent handle 34/243034/2
Richard Huang [Wed, 2 Sep 2020 13:44:06 +0000 (14:44 +0100)]
Add devel API to create an initialized HoverEvent handle

Change-Id: I8860e77d8abce7d2097cdd146316dff936303086

4 years agoMerge "Added move semantics to TouchEvent & fixed some other internal event classes...
Adeel Kazmi [Tue, 1 Sep 2020 20:00:34 +0000 (20:00 +0000)]
Merge "Added move semantics to TouchEvent & fixed some other internal event classes" into devel/master

4 years agoAdded move semantics to TouchEvent & fixed some other internal event classes 92/242892/2
Adeel Kazmi [Tue, 1 Sep 2020 18:00:23 +0000 (19:00 +0100)]
Added move semantics to TouchEvent & fixed some other internal event classes

Change-Id: Iaff0eb50d4cdb9b7e481cfe5def5ad850c58eb92

4 years agoMerge "Moved (DEFAULT|DEBUG)_BACKGROUND_COLOR out of Stage and over to constants...
Adeel Kazmi [Tue, 1 Sep 2020 17:36:43 +0000 (17:36 +0000)]
Merge "Moved (DEFAULT|DEBUG)_BACKGROUND_COLOR out of Stage and over to constants.h" into devel/master

4 years agoRefactoring Gestures Class 81/235481/55
Joogab Yun [Fri, 5 Jun 2020 01:57:43 +0000 (10:57 +0900)]
Refactoring Gestures Class

Change-Id: I5e11996bc2a02f7fb0e9ebe958d8c8b794912635

4 years agoMoved (DEFAULT|DEBUG)_BACKGROUND_COLOR out of Stage and over to constants.h 80/242880/4
György Straub [Tue, 1 Sep 2020 12:41:11 +0000 (13:41 +0100)]
Moved (DEFAULT|DEBUG)_BACKGROUND_COLOR out of Stage and over to constants.h

Change-Id: I48371fcc2684ba3c2205440fa51fc06515d9bd5f
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoRenaming of enum values for coding standards compliance. 68/242668/4
György Straub [Fri, 28 Aug 2020 12:32:57 +0000 (13:32 +0100)]
Renaming of enum values for coding standards compliance.

Change-Id: I9a718cb49886146a169f82bb3cd5acf81d121fa2
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoMove TouchPoint to Devel API 73/242673/2
Richard Huang [Fri, 28 Aug 2020 15:27:05 +0000 (16:27 +0100)]
Move TouchPoint to Devel API

Change-Id: I8c9bc63e159f64593998281e1cff85ef83c13752

4 years ago[dali_1.9.27] Merge branch 'devel/master' 31/242631/1
Victor Cebollada [Fri, 28 Aug 2020 10:12:07 +0000 (11:12 +0100)]
[dali_1.9.27] Merge branch 'devel/master'

Change-Id: I46a29786191b3e10f8205eea2b56c4637f553c26

4 years agoDALi Version 1.9.27 25/242625/1 dali_1.9.27
Victor Cebollada [Fri, 28 Aug 2020 10:11:23 +0000 (11:11 +0100)]
DALi Version 1.9.27

Change-Id: I1452176bdf4ece1a22c77e0c7127fd5fb53955ac

4 years agoMerge "Changed const variables to constexpr where possible." into devel/master
Adeel Kazmi [Thu, 27 Aug 2020 20:11:24 +0000 (20:11 +0000)]
Merge "Changed const variables to constexpr where possible." into devel/master