platform/core/uifw/dali-core.git
5 years agoTemporarily disable viewport caching in GL context 72/202872/1
Richard Huang [Fri, 5 Apr 2019 09:43:56 +0000 (10:43 +0100)]
Temporarily disable viewport caching in GL context

Change-Id: I5d6bdf82d3cea8c6e40f5b62c7d263b49f2ae86b

5 years agoDALi Version 1.4.13 93/202493/1 dali_1.4.13
Victor Cebollada [Fri, 29 Mar 2019 07:06:53 +0000 (07:06 +0000)]
DALi Version 1.4.13

Change-Id: I50ed758a9517bca7ad063d7621df2797cdbd6c39

5 years agoUse correct macro in Stage & fix wild pointer issue in RenderTaskList 68/199068/4
adun [Fri, 1 Feb 2019 09:43:23 +0000 (17:43 +0800)]
Use correct macro in Stage & fix wild pointer issue in RenderTaskList

Change-Id: I60e17c9cc8d1e0e1882db36bb2454e02a2a5eafd

5 years agoDALi Version 1.4.12 77/202077/1 dali_1.4.12
Richard Huang [Fri, 22 Mar 2019 10:45:34 +0000 (10:45 +0000)]
DALi Version 1.4.12

Change-Id: I38e1890a155faf51af101cb0fc415605a7a1adad

5 years agoMerge "Revert "Remove dependency of OpenGL es version."" into devel/master
Adeel Kazmi [Fri, 15 Mar 2019 14:35:37 +0000 (14:35 +0000)]
Merge "Revert "Remove dependency of OpenGL es version."" into devel/master

5 years agoRevert "Remove dependency of OpenGL es version." 57/201557/1
Richard Huang [Fri, 15 Mar 2019 14:01:26 +0000 (14:01 +0000)]
Revert "Remove dependency of OpenGL es version."

This reverts commit 9d38b085d8a186cc7980a6f854492591353ddfe5.

Change-Id: Iec561d896c2f731912b66934225153bdf2fec076

5 years agoDALi Version 1.4.11 35/201535/1 dali_1.4.11
György Straub [Fri, 15 Mar 2019 09:39:16 +0000 (09:39 +0000)]
DALi Version 1.4.11

Change-Id: I00cc62f24e62b073e16bf31d234e65f109f72389

5 years agoRemove dependency of OpenGL es version. 43/200343/12
Seungho, Baek [Fri, 22 Feb 2019 02:09:39 +0000 (11:09 +0900)]
Remove dependency of OpenGL es version.

 - Remove compile option DALI_GLES_VERSION
 - Define texture format converting in the dali-adaptor

Change-Id: Ib6805783b718c5796341ce77a5346f7178c0705b
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
5 years agoAdd event handling support for multiple windows. 53/194553/13
Anton Obzhirov [Fri, 30 Nov 2018 17:44:15 +0000 (17:44 +0000)]
Add event handling support for multiple windows.

Add all basic event handling for multiple windows.
Event gestures are partially supported for now.

Change-Id: I2c2d81b0e0eb25c0d8619afd94b5aa8784b0db8a

5 years agoDALi Version 1.4.10 13/201113/1 dali_1.4.10
Daniel McEwen [Fri, 8 Mar 2019 11:29:13 +0000 (11:29 +0000)]
DALi Version 1.4.10

Change-Id: Iea8c46a953ab7196bd2ab04e16f381f2a6e05eef

5 years agoRemove HitTest Devel API for RenderTask. 42/201042/1
Anton Obzhirov [Thu, 7 Mar 2019 11:08:23 +0000 (11:08 +0000)]
Remove HitTest Devel API for RenderTask.

Change-Id: Ibfb7504a1b99986033165a86a0b502a6893ced23

5 years agoDALi Version 1.4.9 38/200738/1 dali_1.4.9
greynaga [Fri, 1 Mar 2019 14:34:31 +0000 (14:34 +0000)]
DALi Version 1.4.9

Change-Id: I9f8ccc7cb2aa42a3f06fe040f24e7791056a4567

5 years agoadd Convert from TouchEvent to TouchData 44/198944/7
junqing.ma [Thu, 31 Jan 2019 07:55:40 +0000 (15:55 +0800)]
add Convert from TouchEvent to TouchData

Change-Id: I2a75db549b506c502eb622702459f892f2880c82

5 years agoMerge "Support multiple window rendering" into devel/master
David Steele [Fri, 22 Feb 2019 16:22:47 +0000 (16:22 +0000)]
Merge "Support multiple window rendering" into devel/master

5 years agoDALi Version 1.4.8 88/200388/1 dali_1.4.8
David Steele [Fri, 22 Feb 2019 14:31:56 +0000 (14:31 +0000)]
DALi Version 1.4.8

Change-Id: Id405aed8745e90a02393d7fd0c538524c067e4aa

5 years agoSupport multiple window rendering 34/193934/34
Richard Huang [Tue, 27 Nov 2018 15:16:38 +0000 (15:16 +0000)]
Support multiple window rendering

Multiple windows support is added to Core with new Scene API.
It also removed the top margin from the Stage as system overlay is already removed.

Change-Id: If6b42be996cf884be6da00c41456155a881fc554

5 years agoAdd cairo 71/198071/6
Joogab Yun [Fri, 18 Jan 2019 09:17:00 +0000 (18:17 +0900)]
Add cairo

Change-Id: I6674f228209e4824b5ad598f47cddabc86034382

5 years agoMerge "Remove SystemOverlay." into devel/master
Adeel Kazmi [Thu, 14 Feb 2019 15:04:34 +0000 (15:04 +0000)]
Merge "Remove SystemOverlay." into devel/master

5 years agoDALi Version 1.4.7 99/199799/1 dali_1.4.7
Anton Obzhirov [Thu, 14 Feb 2019 14:07:08 +0000 (14:07 +0000)]
DALi Version 1.4.7

Change-Id: I52d531a1520fa5461ec11ff10f6baa8c011d5cbc

5 years agoRemove SystemOverlay. 49/199649/2
Anton Obzhirov [Wed, 13 Feb 2019 16:24:30 +0000 (16:24 +0000)]
Remove SystemOverlay.

Change-Id: If4b9ad894ba0da12b7b267f9f0fb9a5b5af3f373

5 years agoFix SINCE and DEPRECATED versions to be included in Tizen 5.5 89/199289/3
Seoyeon Kim [Fri, 8 Feb 2019 07:09:10 +0000 (16:09 +0900)]
Fix SINCE and DEPRECATED versions to be included in Tizen 5.5

- Some APIs are added or deprecated without Tizen ACR process.
  To be included in Tizen platform, fixed ALIASES tags for Tizen 5.5

Change-Id: I3e1993e6f1bf2e5468a2d3d93ba757019827c81d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoMerge "Separating Processor Interface from core.h" into devel/master
Adeel Kazmi [Fri, 8 Feb 2019 12:21:33 +0000 (12:21 +0000)]
Merge "Separating Processor Interface from core.h" into devel/master

5 years agoDALi Version 1.4.6 22/199322/1 dali_1.4.6
Agnelo Vaz [Fri, 8 Feb 2019 12:14:50 +0000 (12:14 +0000)]
DALi Version 1.4.6

Change-Id: Ibbd3eb49b378e5695222041d42d6be960fd15a06

5 years agoSeparating Processor Interface from core.h 30/199230/4
Agnelo Vaz [Thu, 7 Feb 2019 11:02:54 +0000 (11:02 +0000)]
Separating Processor Interface from core.h

Change-Id: I3adac9125078542b76e791148af1a72b47281dd0

5 years agoMerge "Add descriptions to generate doxygen page" into devel/master
Adeel Kazmi [Thu, 7 Feb 2019 14:41:53 +0000 (14:41 +0000)]
Merge "Add descriptions to generate doxygen page" into devel/master

5 years agoEnsure visibility of std namespace symbols are hidden with later versions of GCC 20/199120/4
Adeel Kazmi [Mon, 4 Feb 2019 15:24:30 +0000 (15:24 +0000)]
Ensure visibility of std namespace symbols are hidden with later versions of GCC

Change-Id: If18e4e8c4244ddb5261e2a7190327b5129578b87

5 years agoDALi Version 1.4.5 77/199077/1 dali_1.4.5
Adeel Kazmi [Fri, 1 Feb 2019 11:57:25 +0000 (11:57 +0000)]
DALi Version 1.4.5

Change-Id: I52b03abf1a6a3202ec81f87946e43be3441337e1

5 years ago(CodingGuidelines) Added a chapter about inheritance 83/198583/2
Adeel Kazmi [Fri, 25 Jan 2019 15:17:32 +0000 (15:17 +0000)]
(CodingGuidelines) Added a chapter about inheritance

Change-Id: Iace7cdc9b113dc09749c807d124dbd40966f3b16

5 years agoAdd descriptions to generate doxygen page 89/198589/2
Seoyeon Kim [Fri, 25 Jan 2019 02:28:05 +0000 (11:28 +0900)]
Add descriptions to generate doxygen page

Change-Id: Ie74614771d548068c934d9eb34d24c1cd3f4a983
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoDALi Version 1.4.4 67/198567/1 dali_1.4.4
adam.b [Fri, 25 Jan 2019 12:20:05 +0000 (12:20 +0000)]
DALi Version 1.4.4

Change-Id: I79c2eadc6615dde4020cd9d3b0094b5dba74a367

5 years agoAdd RENDERING_BEHAVIOR property to Renderer 48/198048/2
Heeyong Song [Fri, 18 Jan 2019 05:01:30 +0000 (14:01 +0900)]
Add RENDERING_BEHAVIOR property to Renderer

Change-Id: Ie4775bf4ca31453bcff399b434e5a0d42d7fbeb3

5 years agoDALi Version 1.4.3 74/198074/1 dali_1.4.3
Victor Cebollada [Fri, 18 Jan 2019 10:44:02 +0000 (10:44 +0000)]
DALi Version 1.4.3

Change-Id: I73afbb7857c50fff11a87cfdfd8784fab85cbc3f

5 years agoRestore the deprecated property of Actor 00/197700/2
Seoyeon Kim [Tue, 15 Jan 2019 10:42:50 +0000 (19:42 +0900)]
Restore the deprecated property of Actor

- One former patch removed some deprecated APIs
  including a property, "POSITION_INHERITANCE".
- But, to keep binary compatibility, the table of Property and the number of properties
  should be same, even though the properties can be removed.
- Instead, Property name changes to RESERVED_PROPERTY_01, not to be used in an application

Change-Id: I6d855df42e2d74756f2819ae507e3b637595c796
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years agoMerge "Add the logical key to Integration::KeyEvent" into devel/master
Seoyeon Kim [Mon, 14 Jan 2019 05:13:31 +0000 (05:13 +0000)]
Merge "Add the logical key to Integration::KeyEvent" into devel/master

5 years agoDALi Version 1.4.2 93/197493/1 dali_1.4.2
Richard Huang [Fri, 11 Jan 2019 12:38:46 +0000 (12:38 +0000)]
DALi Version 1.4.2

Change-Id: I6003c4e5965281826340f4e2e434e30a900d4166

5 years ago(FrameBuffer) Add Attachment enum boolean operator to allow it being used as a bool... 96/197096/3
Adeel Kazmi [Wed, 9 Jan 2019 11:34:31 +0000 (11:34 +0000)]
(FrameBuffer) Add Attachment enum boolean operator to allow it being used as a bool expression

Fixes an SVACE error as well.

Change-Id: Icfb3a970753b2a558854176e24580a222e8d6e2c

5 years agoFix typo in math-util.h 17/197017/2
Sunghyun kim [Wed, 9 Jan 2019 02:09:54 +0000 (11:09 +0900)]
Fix typo in math-util.h

Change-Id: I382877543dc0ddfb8a29c2b653f028005bf2cdc0

5 years agoDALi Version 1.4.1 29/196829/1 dali_1.4.1
David Steele [Fri, 4 Jan 2019 17:39:37 +0000 (17:39 +0000)]
DALi Version 1.4.1

Change-Id: Ifda8951858c3e5dbfb2f3fc09835d56b4348a07e

5 years agoRemove deprecated APIs in Tizen 3.0 98/195798/2
Seoyeon Kim [Tue, 18 Dec 2018 06:50:45 +0000 (15:50 +0900)]
Remove deprecated APIs in Tizen 3.0

- Except several APIs related to TouchEvent,
  removed deprecated APIs in Tizen 3.0
  (~ DALi Version 1.1.45)

Change-Id: I4b87a0bbea1b543fcd84397a9fd675cdf010d4a6
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoDALi Version 1.4.0 90/196090/1 dali_1.4.0
György Straub [Fri, 21 Dec 2018 10:22:01 +0000 (10:22 +0000)]
DALi Version 1.4.0

Change-Id: I8fbe3a8f1332e606aee9563cccd798f5db1691a2

6 years agoChange version of new FrameBuffer APIs 95/195995/2
Adeel Kazmi [Thu, 20 Dec 2018 11:23:25 +0000 (11:23 +0000)]
Change version of new FrameBuffer APIs

Change-Id: I196c5a4e30e31a3240575337ef56ab47beb1fdb5

6 years agoUpdates required to build on 18.04 19/195919/3
Adeel Kazmi [Tue, 18 Dec 2018 16:18:50 +0000 (16:18 +0000)]
Updates required to build on 18.04

- Undef SIZE_WIDTH in actor.h as it's used in stdint.h
- Add more packages that are required
- Additionally, ensured gtest is only installed if required

Change-Id: Ibc89c1456a7c4fb34262f1aed254636a1c2c504d

6 years agoAdd the logical key to Integration::KeyEvent 41/193441/2
Seoyeon Kim [Tue, 20 Nov 2018 07:02:20 +0000 (16:02 +0900)]
Add the logical key to Integration::KeyEvent

- Should get Logical key symbol and send it to Ecore_IMF_Event

Change-Id: Idfb91eb9a60caaa8c0ceb5d0ad365710bd600f82
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoDALi Version 1.3.54 98/195598/1 dali_1.3.54
greynaga [Fri, 14 Dec 2018 15:37:18 +0000 (15:37 +0000)]
DALi Version 1.3.54

Change-Id: Ib88cd8446d69518c457b8312064055ecc41ae6a7

6 years agoAdd an easier to use New in FrameBuffer for the 99% of the cases where we use offscreens 58/194558/5
Kimmo Hoikka [Wed, 5 Dec 2018 18:17:16 +0000 (18:17 +0000)]
Add an easier to use New in FrameBuffer for the 99% of the cases where we use offscreens

- Deprecated the unsafe version which allows enum to be passed in as uint32_t

Change-Id: I9c28f06d26c25ce1d84e840e7a46056d6760208a

6 years agoMerge changes I1aa1107c,Iede00fcd,I43ba1a81 into devel/master
Adeel Kazmi [Thu, 6 Dec 2018 13:27:50 +0000 (13:27 +0000)]
Merge changes I1aa1107c,Iede00fcd,I43ba1a81 into devel/master

* changes:
  Fix some more of size_t and unsigned ints in DALi API
  Reduce the binary size of Constraint code by refactoring the templates to produce less bloat
  Refactored Animator classes to reduce code binary size by 60%

6 years agoDALi Version 1.3.53 32/194632/1 dali_1.3.53
Anton Obzhirov [Thu, 6 Dec 2018 11:29:01 +0000 (11:29 +0000)]
DALi Version 1.3.53

Change-Id: Ia8d257c0c221f1f060dc5f8c5cbce748b3acac0f

6 years agoFix some more of size_t and unsigned ints in DALi API 56/194556/1
Kimmo Hoikka [Wed, 5 Dec 2018 17:49:23 +0000 (17:49 +0000)]
Fix some more of size_t and unsigned ints in DALi API

Change-Id: I1aa1107cbd9323248b42b06ba33fed53b7ad777b

6 years agoReduce the binary size of Constraint code by refactoring the templates to produce... 56/194456/2
Kimmo Hoikka [Mon, 26 Nov 2018 17:50:17 +0000 (17:50 +0000)]
Reduce the binary size of Constraint code by refactoring the templates to produce less bloat

Change-Id: Iede00fcdd937fcfd592f9bece6a655a4bad5354f

6 years agoRefactored Animator classes to reduce code binary size by 60% 45/193645/3
Kimmo Hoikka [Thu, 22 Nov 2018 18:03:55 +0000 (18:03 +0000)]
Refactored Animator classes to reduce code binary size by 60%

- Moved all type independent data to base classes in both AnimatorConnector and SceneGraph::Animator
- Moved all type independent methods to base classes and made them non-virtual
- Re-implemented the type specific parts to use template method to have common base code
- Added a template specialization for float type AnimatorConnector as thats the only type that can be a property component

Change-Id: I43ba1a814b4abf21032b005751454867e446574d

6 years agoRefactor SceneGraphProperty handling code in event side to make RegisterProperty... 75/192675/22
Kimmo Hoikka [Wed, 7 Nov 2018 16:25:45 +0000 (16:25 +0000)]
Refactor SceneGraphProperty handling code in event side to make RegisterProperty work for all handle derived classes

- Merge CustomObject into Object
- Remove unnecessary virtuals returning nullptr
- Change GetSceneObject to always return Node for Actors
- Remove GetScenePropertyOwner as obsolete
- Fix incorrect baking behaviour in SceneGraphAnimator
- Remove ObjectImplHelper as redundant code
- Chain Scene Animatable and Input -Property getters correctly to base classes
- Remove Node& from Actor and use GetSceneObject instead, added a GetNode() helper
- Remove duplicate SceneObject pointers from Shader, Renderer, RenderTask and PanGesture
- Fix RenderTask to create its own SceneObject and not return public Handles in its construction
- Fix SceneGraph::RenderTask to observe Source and Camera nodes and remove observation from RenderTask to fix timing related bugs
- Fix RenderTaskList to keep intrusive pointers to RenderTasks rather than public Handles
- Fixed event handling to not use public handles for RenderTasks
- Fixed bug in shader where Scene objects were being leaked if SetProperty was called multiple times (added a test case)
- Fixed PanGestureDetector to acquire Scene object at construction (added a test case)
- Fix a bug in integer animation where target value was incorrect due to wrong rounding (added a test case)
- Added RegisterProperty test cases for Constrainer, Path and GestureDetector classes

Change-Id: Id5107598df77e8b5929581f42cace05332738938

6 years agoRe-add the type registration for the buffer-image class 80/192980/2
Seoyeon Kim [Tue, 13 Nov 2018 10:12:13 +0000 (19:12 +0900)]
Re-add the type registration for the buffer-image class

Change-Id: Ie4447f3aebd515d1639ff1f45ae683a8312ddecf
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoUpdate comment and remove an unused variable 33/194233/2
Heeyong Song [Fri, 30 Nov 2018 07:54:04 +0000 (16:54 +0900)]
Update comment and remove an unused variable

Change-Id: Ib76066435fbcbb817c5444fdfa15f879577678f8

6 years agoDALi Version 1.3.52 67/194267/1 dali_1.3.52
Agnelo Vaz [Fri, 30 Nov 2018 11:13:46 +0000 (11:13 +0000)]
DALi Version 1.3.52

Change-Id: I25a326b64299eda3f63055b31b502382a512a080

6 years agoDALi Version 1.3.51 06/193706/1 dali_1.3.51
Adeel Kazmi [Fri, 23 Nov 2018 11:36:23 +0000 (11:36 +0000)]
DALi Version 1.3.51

Change-Id: I47e4beed4fac1cd185683649a267ec849afb78ed

6 years agoMerge "(Vector) Restore some VectorBase methods to preserve binary compatibility...
Kimmo Hoikka [Mon, 19 Nov 2018 14:07:53 +0000 (14:07 +0000)]
Merge "(Vector) Restore some VectorBase methods to preserve binary compatibility" into devel/master

6 years agoMerge "Remove StereoMode" into devel/master
Adeel Kazmi [Fri, 16 Nov 2018 17:17:29 +0000 (17:17 +0000)]
Merge "Remove StereoMode" into devel/master

6 years ago(Vector) Restore some VectorBase methods to preserve binary compatibility 41/193241/4
Adeel Kazmi [Fri, 16 Nov 2018 13:55:23 +0000 (13:55 +0000)]
(Vector) Restore some VectorBase methods to preserve binary compatibility

Change-Id: I7f86af240ee72737f4d43958f33b04526c9c9848

6 years agoDALi Version 1.3.50 51/193251/1 dali_1.3.50
adam.b [Fri, 16 Nov 2018 12:21:02 +0000 (12:21 +0000)]
DALi Version 1.3.50

Change-Id: Ic08fc63f8d6aae36540b818b8f01a47f45bc304c

6 years agoAdvice about compiler versions in README requirements section 72/193172/2
Paul Wisbey [Thu, 15 Nov 2018 13:39:32 +0000 (13:39 +0000)]
Advice about compiler versions in README requirements section

Change-Id: Icf15aa2eb9f99ff74cbeb3fcc1fcfbda3b67a207

6 years agoRemove StereoMode 07/192907/4
Kimmo Hoikka [Mon, 12 Nov 2018 18:39:52 +0000 (18:39 +0000)]
Remove StereoMode

Change-Id: I7ce1cf43578f9de20dcdea57cec9f8659cb9811e

6 years agoFix the debug assert in message to occur when message is created to catch the error... 03/193003/2
Kimmo Hoikka [Tue, 13 Nov 2018 12:45:17 +0000 (12:45 +0000)]
Fix the debug assert in message to occur when message is created to catch the error at the right time

Change-Id: I26e688998ad5c4c6af1f8a3be90615046aa55b86

6 years agoDALi Version 1.3.49 79/192779/1 dali_1.3.49
Victor Cebollada [Fri, 9 Nov 2018 09:36:05 +0000 (09:36 +0000)]
DALi Version 1.3.49

Change-Id: Ie3a2ac89099fd4814dd91e68df72a9b001175c09

6 years agoMerge "Remove some dead code related to scene graph animator classes" into devel...
David Steele [Tue, 6 Nov 2018 17:33:40 +0000 (17:33 +0000)]
Merge "Remove some dead code related to scene graph animator classes" into devel/master

6 years agoRemove some unreachable and duplicate code from Actor-impl.cpp by making mNode a... 61/192261/4
Kimmo Hoikka [Thu, 1 Nov 2018 17:40:30 +0000 (17:40 +0000)]
Remove some unreachable and duplicate code from Actor-impl.cpp by making mNode a const reference

Alternative approach to: https://review.tizen.org/gerrit/#/c/192259/

Change-Id: Ia2546ce82f766bc25e265a8fa77b7ef0e0be5657

6 years agoRemove some dead code related to scene graph animator classes 49/192449/2
Kimmo Hoikka [Mon, 5 Nov 2018 16:45:32 +0000 (16:45 +0000)]
Remove some dead code related to scene graph animator classes

Change-Id: I1874eab903cabe883e36a9862fe02ee2133d18e3

6 years agoEnsure resetters reset both values when a property-owner is disconnected 68/192368/3
Adeel Kazmi [Fri, 2 Nov 2018 17:55:29 +0000 (17:55 +0000)]
Ensure resetters reset both values when a property-owner is disconnected

Change-Id: Iaf3e077b8e62d149900abb4ca719efe4326fa598

6 years agoDALi Version 1.3.48 52/192352/1 dali_1.3.48 submit/tizen/20181105.115406
Richard Huang [Fri, 2 Nov 2018 11:41:44 +0000 (11:41 +0000)]
DALi Version 1.3.48

Change-Id: Icce974ab2d210332b3df3a11d5b7d860b0a5f2b9

6 years agoMerge "Increase animation test line coverage to 100%" into devel/master
Adeel Kazmi [Thu, 1 Nov 2018 16:15:17 +0000 (16:15 +0000)]
Merge "Increase animation test line coverage to 100%" into devel/master

6 years agoIncrease animation test line coverage to 100% 55/192255/2
Kimmo Hoikka [Thu, 1 Nov 2018 13:38:55 +0000 (13:38 +0000)]
Increase animation test line coverage to 100%

- add more test logic
- refactor to get rid of unreachable code

Change-Id: Ic15b0184137dd8ad1853219aaa69d8f1a859d2e7

6 years agoHarmonize Animation API parameter checking and add test cases for them 11/192211/3
Kimmo Hoikka [Wed, 31 Oct 2018 17:18:07 +0000 (17:18 +0000)]
Harmonize Animation API parameter checking and add test cases for them

Change-Id: I777ab4ec07a2eaae87bb435f8bcd9638557c1945

6 years agoMerge "Remove TypeRegistration from deprecated Image classes" into devel/master
Adeel Kazmi [Thu, 1 Nov 2018 11:46:35 +0000 (11:46 +0000)]
Merge "Remove TypeRegistration from deprecated Image classes" into devel/master

6 years agoMerge "Fix a bug in AnimatablePropertyRegistration with default value" into devel...
Adeel Kazmi [Wed, 31 Oct 2018 15:35:15 +0000 (15:35 +0000)]
Merge "Fix a bug in AnimatablePropertyRegistration with default value" into devel/master

6 years agoMerge "(FrameCallback) Ensure setting a color is reset every frame" into devel/master
David Steele [Tue, 30 Oct 2018 16:38:33 +0000 (16:38 +0000)]
Merge "(FrameCallback) Ensure setting a color is reset every frame" into devel/master

6 years agoFix a bug in AnimatablePropertyRegistration with default value 13/192013/2
Kimmo Hoikka [Fri, 26 Oct 2018 18:19:20 +0000 (19:19 +0100)]
Fix a bug in AnimatablePropertyRegistration with default value

method did not recurse base classes so if default value was asked from derived class, it returned wrong value

Change-Id: I29691a911e77bd9431863590560104792e57fc07

6 years ago(FrameCallback) Ensure setting a color is reset every frame 32/191932/3
Adeel Kazmi [Thu, 25 Oct 2018 15:13:51 +0000 (16:13 +0100)]
(FrameCallback) Ensure setting a color is reset every frame

- Added a property resetter so that the color value is reset to base
  value at the start of every frame.
- Realised that the color was being set on the next frame so had to move
  calling the frame-callback earlier (i.e. before we go through the
  nodes).

Change-Id: Id5debd0f0ee6d7fc0d994d5cae817f2fcf0c7f16

6 years agoRemove TypeRegistration from deprecated Image classes 43/192143/3
Kimmo Hoikka [Tue, 30 Oct 2018 13:29:19 +0000 (13:29 +0000)]
Remove TypeRegistration from deprecated Image classes

No-one needs them so they just slow down each app startup unnecessarily

Change-Id: I9d7e7c7dbbd35a1b4744b19603418cd5cb338ddc

6 years agoOptimize type-info-impl and type-registry-impl 35/191935/6
Kimmo Hoikka [Thu, 25 Oct 2018 17:00:42 +0000 (18:00 +0100)]
Optimize type-info-impl and type-registry-impl

store base typeinfo pointer instead of resolving it every time a method is called.
this is safe as type info cannot change after registration.
store intrusive pointers to type-info-impl instead of handles as they are considerably cheaper

In dali-demo startup reduced the count of calls:
Before:
TypeRegistry::GetTypeInfo 2409
TypeInfo::TypeInfo 3006

Change-Id: Idd53378ca15cc0f690597dd7a5855cb5986a6785

6 years agoReducing boilerplate on default property metadata 83/191583/14
Kimmo Hoikka [Thu, 18 Oct 2018 10:49:12 +0000 (11:49 +0100)]
Reducing boilerplate on default property metadata

- moved all per class metadata to TypeRegistry
- derived classes register default property table with TypeRegistration
- removed bitflags from PropertyDetails and added index to make iterating property tables easier

Change-Id: Iccdef021309163566cbd1b17c7d00d557355afdf

6 years agoMerge "DALi Version 1.3.47" into devel/master
Adeel Kazmi [Fri, 26 Oct 2018 11:52:13 +0000 (11:52 +0000)]
Merge "DALi Version 1.3.47" into devel/master

6 years agoDALi Version 1.3.47 86/191986/1 dali_1.3.47
greynaga [Fri, 26 Oct 2018 11:23:37 +0000 (12:23 +0100)]
DALi Version 1.3.47

Change-Id: Ia1030f35d70c8fe6104c7b4f740c93851d637d20

6 years agoMerge "Add a comment" into devel/master
Heeyong Song [Fri, 26 Oct 2018 00:44:27 +0000 (00:44 +0000)]
Merge "Add a comment" into devel/master

6 years agoMerge "Change RenderTaskList to behave like any other SceneGraph object" into devel...
David Steele [Thu, 25 Oct 2018 10:20:11 +0000 (10:20 +0000)]
Merge "Change RenderTaskList to behave like any other SceneGraph object" into devel/master

6 years agoAdd a comment 96/191896/1
Heeyong Song [Thu, 25 Oct 2018 05:28:26 +0000 (14:28 +0900)]
Add a comment

Change-Id: Ie6673d9b41aa79c795972a9c5850ad808582998d

6 years ago(FrameCallback) Ensure Update doesn't invoke removed FrameCallbacks 48/191648/11
Adeel Kazmi [Fri, 19 Oct 2018 15:26:01 +0000 (16:26 +0100)]
(FrameCallback) Ensure Update doesn't invoke removed FrameCallbacks

Change-Id: I28a37a5fe109b62e29626e66470258fa2f94392e

6 years agoMake OwnerPointer Movable & add test cases 41/191641/7
Adeel Kazmi [Fri, 19 Oct 2018 11:46:35 +0000 (12:46 +0100)]
Make OwnerPointer Movable & add test cases

Change-Id: If01e25003536ff26ed67a620d094f2311a8e0340

6 years agoChange RenderTaskList to behave like any other SceneGraph object 41/190941/15
Richard Huang [Tue, 9 Oct 2018 14:42:24 +0000 (15:42 +0100)]
Change RenderTaskList to behave like any other SceneGraph object

Change-Id: Ide7b01c32aa7baa9243e8053d748219bfaaf6414

6 years agoFixed bad instantiation of property values 17/191717/2
David Steele [Mon, 22 Oct 2018 18:01:35 +0000 (19:01 +0100)]
Fixed bad instantiation of property values

Change-Id: Ia47bbbd15ce7022e3d2422bd502e68c09fb6a633

6 years agoMaking DALi core internals typesafe using guaranteed types; uint8_t, uint32_t and... 02/191202/6
Kimmo Hoikka [Fri, 12 Oct 2018 11:17:17 +0000 (12:17 +0100)]
Making DALi core internals typesafe using guaranteed types; uint8_t, uint32_t and enabling -Wconversion

unsigned char  -> uint8_t
unsigned short -> uint16_t
unsigned int   -> uint32_t
int            -> int32_t
-Wconversion will prevent any implicit conversions where precision may be lost such as: uint32_t a = (size_t)b or int x = (float)y
static_cast has to be used to tell the compiler how and where to do the conversion

Change-Id: Ic1475a59acf55601100cd603a455b96e9eb7c53e

6 years agoMerge "Making DALi core internals typesafe using guaranteed types; uint8_t, uint32_t...
Adeel Kazmi [Thu, 18 Oct 2018 13:56:19 +0000 (13:56 +0000)]
Merge "Making DALi core internals typesafe using guaranteed types; uint8_t, uint32_t" into devel/master

6 years agoDALi Version 1.3.46 72/191572/1 dali_1.3.46
Anton Obzhirov [Thu, 18 Oct 2018 13:26:19 +0000 (14:26 +0100)]
DALi Version 1.3.46

Change-Id: I0c91e5b03a2e1b98d8de7932c9fe724212fecb50

6 years agoMaking DALi core internals typesafe using guaranteed types; uint8_t, uint32_t 31/190831/12
Kimmo Hoikka [Fri, 5 Oct 2018 17:15:40 +0000 (18:15 +0100)]
Making DALi core internals typesafe using guaranteed types; uint8_t, uint32_t

unsigned char  -> uint8_t
unsigned short -> uint16_t
unsigned int   -> uint32_t
int            -> int32_t

Change-Id: I0e161bf56c220fda4f5dfc5dc7cde8d2aa2c584c

6 years agoMake NodePropertyFlags typesafe by using enum class 67/191467/6
Kimmo Hoikka [Wed, 17 Oct 2018 09:24:49 +0000 (10:24 +0100)]
Make NodePropertyFlags typesafe by using enum class

Change-Id: I994270523f319cf30c23edff4d7a6bd42cc62270

6 years agoMerge "(FrameCallback) Ensure the callback is removed if the implementation is delete...
David Steele [Wed, 17 Oct 2018 11:13:48 +0000 (11:13 +0000)]
Merge "(FrameCallback) Ensure the callback is removed if the implementation is deleted" into devel/master

6 years agoMerge "Updated patch-coverage script to generate correct HTML" into devel/master
Adeel Kazmi [Mon, 15 Oct 2018 17:50:23 +0000 (17:50 +0000)]
Merge "Updated patch-coverage script to generate correct HTML" into devel/master

6 years ago(FrameCallback) Ensure the callback is removed if the implementation is deleted 21/191221/3
Adeel Kazmi [Fri, 12 Oct 2018 14:25:07 +0000 (15:25 +0100)]
(FrameCallback) Ensure the callback is removed if the implementation is deleted

Also remove unnecessary mRootNode in FrameCallbackProcessor

Change-Id: Ia7941a77ba5deed4c5abe10870af9935d8b5112d

6 years agoMerge "(FrameCallback) Use uint32_t instead of unsigned int" into devel/master
Adeel Kazmi [Mon, 15 Oct 2018 17:37:21 +0000 (17:37 +0000)]
Merge "(FrameCallback) Use uint32_t instead of unsigned int" into devel/master

6 years agoMerge "(FrameCallback) Actor & FrameCallback Lifecycle management" into devel/master
Adeel Kazmi [Mon, 15 Oct 2018 17:37:20 +0000 (17:37 +0000)]
Merge "(FrameCallback) Actor & FrameCallback Lifecycle management" into devel/master

6 years agoUpdated patch-coverage script to generate correct HTML 07/191307/1
David Steele [Mon, 15 Oct 2018 16:59:59 +0000 (17:59 +0100)]
Updated patch-coverage script to generate correct HTML

Change-Id: I8ce0ff8ac50da3bdc07c0b27a58268557d0c242b

6 years agoMaking DALi public API typesafe using guaranteed types; uint8_t, uint32_t 92/190692/6
Kimmo Hoikka [Thu, 4 Oct 2018 16:44:20 +0000 (17:44 +0100)]
Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t

unsigned char  -> uint8_t
unsigned short -> uint16_t
unsigned int   -> uint32_t
int            -> int32_t

these types are guaranteed to have the correct amount of bits by the compiler

Change-Id: Ie480a21e06dc999110de368284ff9a601bacef2a