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

4 years agoChanged const variables to constexpr where possible. 12/242412/3
David Steele [Wed, 26 Aug 2020 17:28:55 +0000 (18:28 +0100)]
Changed const variables to constexpr where possible.

Some const variables can't be changed, such as class members that
require that class's constructor.

Change-Id: I4f60b58220b069265de81fa59ba9405b2754db56
Signed-off-by: David Steele <david.steele@samsung.com>
4 years agoRenamed KeyEvent enum values to comply with coding standards. 84/242484/4
György Straub [Thu, 27 Aug 2020 07:39:36 +0000 (08:39 +0100)]
Renamed KeyEvent enum values to comply with coding standards.

Change-Id: I3a643607c9a7b97ac89a92d1ba2c6128184b3602
Signed-off-by: György Straub <g.straub@partner.samsung.com>
4 years agoMoved RotationGesture to the Public API 16/242416/3
Adeel Kazmi [Wed, 26 Aug 2020 18:10:03 +0000 (19:10 +0100)]
Moved RotationGesture to the Public API

Change-Id: Ibb604d9e4fef2cb7843c00aa0f09e306a47af9d9

4 years agoMerge "Dali::Vector<char> used as file buffer container" into devel/master
Paul Wisbey [Wed, 26 Aug 2020 17:59:25 +0000 (17:59 +0000)]
Merge "Dali::Vector<char> used as file buffer container" into devel/master

4 years agoDali::Vector<char> used as file buffer container 35/238235/6
Cheng-Shiun Tsai [Thu, 9 Jul 2020 15:58:07 +0000 (16:58 +0100)]
Dali::Vector<char> used as file buffer container

dali-adator file reader uses Dali::Vector<char,true> as the container for data buffer.
However, Dali::Vector::Resize always initialize the element by doing PushBack().
Considering now you need to read a file of 1MB,
Resize() would lead to PushBack() of one byte X one million times,
so that it becomes a vector of 1MB, this is unnecessary waste of CPU time.
We need another method which simply allocates the buffer without initialize the value.
It will help use cases such as MCD Avatar3D / AREmoji where there are a lot of resource files

Change-Id: I03eb723142799cc9ae0f71bc1b35036e1b21cc81

4 years agoUse the default methods in the rect class rather 51/242351/4
Adeel Kazmi [Tue, 25 Aug 2020 14:03:31 +0000 (15:03 +0100)]
Use the default methods in the rect class rather

Change-Id: Ib99649fada571d2ed933e644fbcdbe0cab52c4e1

4 years agoMerge "Renaming PropertyBuffer to VertexBuffer" into devel/master
Adeel Kazmi [Tue, 25 Aug 2020 18:25:21 +0000 (18:25 +0000)]
Merge "Renaming PropertyBuffer to VertexBuffer" into devel/master

4 years agoMerge "KeyEvent class pimpling" into devel/master
Adeel Kazmi [Tue, 25 Aug 2020 17:24:41 +0000 (17:24 +0000)]
Merge "KeyEvent class pimpling" into devel/master

4 years agoRenaming PropertyBuffer to VertexBuffer 76/242176/3
David Steele [Mon, 24 Aug 2020 15:08:50 +0000 (16:08 +0100)]
Renaming PropertyBuffer to VertexBuffer

Change-Id: I1d00165182d979795629c900400c236c49db3027

4 years agoMerge "Changed Animation API enums to uppercase." into devel/master
Adeel Kazmi [Tue, 25 Aug 2020 15:59:08 +0000 (15:59 +0000)]
Merge "Changed Animation API enums to uppercase." into devel/master

4 years agoKeyEvent class pimpling 82/242282/3
Richard Huang [Tue, 25 Aug 2020 09:33:01 +0000 (10:33 +0100)]
KeyEvent class pimpling

Change-Id: I459ad95131f7e6cf650bfae8b6b98d9ec934032d

4 years agoMigrating Handle devel-api to public-api 46/242146/5
David Steele [Fri, 21 Aug 2020 13:37:29 +0000 (14:37 +0100)]
Migrating Handle devel-api to public-api

Change-Id: If2e537646fbcb60149eaa3213e061d836a70e448
Signed-off-by: David Steele <david.steele@samsung.com>
4 years agoChanged Animation API enums to uppercase. 65/242165/1
adam.b [Mon, 24 Aug 2020 14:04:59 +0000 (15:04 +0100)]
Changed Animation API enums to uppercase.

Change-Id: I8e755ab1c320d5e8328000cadbd7f2efc5a8c561

4 years agoAdded terse syntax for Get/Set Property 33/209233/10
David Steele [Thu, 21 Apr 2016 15:47:04 +0000 (16:47 +0100)]
Added terse syntax for Get/Set Property

Added an IndirectValue which enables the setting and getting of property values
using the following syntax:

  actor["color"] = Color::BLACK;
  AngleAxis orientation = actor[Actor::Property::ORIENTATION];

Change-Id: I01088e5d7011a0b74bda1bf5a5f0f226c85a115c
Signed-off-by: David Steele <david.steele@samsung.com>
4 years ago[dali_1.9.26] Merge branch 'devel/master' 87/241987/1
György Straub [Fri, 21 Aug 2020 07:53:04 +0000 (08:53 +0100)]
[dali_1.9.26] Merge branch 'devel/master'

Change-Id: Id52b2ed8a7cd72a1ea7f63bb534edb7036b64b2c

4 years agoDALi Version 1.9.26 81/241981/1 dali_1.9.26
György Straub [Fri, 21 Aug 2020 07:51:54 +0000 (08:51 +0100)]
DALi Version 1.9.26

Change-Id: If87a7ffef1b00cb31a0b47c5efa75570fe7781ee

4 years agoChanged minimum supported Cmake Version to allow C++17 Support 92/241392/1
Adeel Kazmi [Tue, 18 Aug 2020 18:31:59 +0000 (19:31 +0100)]
Changed minimum supported Cmake Version to allow C++17 Support

Change-Id: Ieb2bc95af08955737f6477ba99a1edf8f5ef9333

4 years agoWheelEvent class pimpling 56/241356/2
Richard Huang [Tue, 18 Aug 2020 17:06:06 +0000 (18:06 +0100)]
WheelEvent class pimpling

Change-Id: I6cd78c380d0231dd688941fec1f2be428203ccd0

4 years agoMerge "Change to C++14 Support" into devel/master
Adeel Kazmi [Wed, 19 Aug 2020 11:20:28 +0000 (11:20 +0000)]
Merge "Change to C++14 Support" into devel/master

4 years agoChange to C++14 Support 11/241211/1
Adeel Kazmi [Tue, 18 Aug 2020 17:49:10 +0000 (18:49 +0100)]
Change to C++14 Support

Change-Id: I50332a77cdb85e2f6a4458865762c451f94493b5

4 years ago(Automated Tests) Added several negative test cases 06/241206/2
Adeel Kazmi [Tue, 18 Aug 2020 12:43:58 +0000 (13:43 +0100)]
(Automated Tests) Added several negative test cases

Change-Id: Id07259f551f6095d7d95bd8447375935587c2605

4 years agoRenamed TouchData to TouchEvent 05/241105/3
Adeel Kazmi [Fri, 14 Aug 2020 10:49:49 +0000 (11:49 +0100)]
Renamed TouchData to TouchEvent

Change-Id: I89458424fc73f0eb29fdfe2b525fd075a6b502bf

4 years agoFixes HoverEvent struct/class forward declarations. 16/241116/1
Victor Cebollada [Mon, 17 Aug 2020 07:38:28 +0000 (08:38 +0100)]
Fixes HoverEvent struct/class forward declarations.

* Fixes the warning
* Fixes the link fail for MS Visual Studio.

Change-Id: I3147360500ca7c4ed122c4a569e8c541ebb98183
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years ago[dali_1.9.25] Merge branch 'devel/master' 93/241093/1
greynaga [Fri, 14 Aug 2020 10:39:28 +0000 (11:39 +0100)]
[dali_1.9.25] Merge branch 'devel/master'

Change-Id: I3ce12b071a98d3dd9611e74fa7cb53947e5b4dd6

4 years agoDALi Version 1.9.25 87/241087/1 dali_1.9.25
greynaga [Fri, 14 Aug 2020 10:38:31 +0000 (11:38 +0100)]
DALi Version 1.9.25

Change-Id: I91cecaacf42b7b83bce31605efc818b9aff21174

4 years agoMerge "Removed TouchEvent from actor & stage" into devel/master
David Steele [Thu, 13 Aug 2020 16:59:30 +0000 (16:59 +0000)]
Merge "Removed TouchEvent from actor & stage" into devel/master

4 years agoRemoved TouchEvent from actor & stage 10/240710/7
David Steele [Mon, 10 Aug 2020 17:47:53 +0000 (18:47 +0100)]
Removed TouchEvent from actor & stage

TouchEvent has been deprecated for over 2 versions, now time
to remove it.

Change-Id: I6d4891766b69a7faeeccf340e1de75a4ef329aee

4 years agoHoverEvent class pimpling 97/240897/3
Richard Huang [Wed, 12 Aug 2020 13:34:02 +0000 (14:34 +0100)]
HoverEvent class pimpling

Change-Id: Ie9e8d3fd4966afd5e966a82d7bf5e108cfa15497