platform/core/uifw/dali-core.git
6 years agoEnsure all users can run the unit test cases on the same machine. 96/145196/6
Victor Cebollada [Mon, 21 Aug 2017 14:07:11 +0000 (15:07 +0100)]
Ensure all users can run the unit test cases on the same machine.

Change-Id: Iba197387621e1c00a1596bda20460b7059c95210
Signed-off-by: Victor Cebollada <v.cebollada@ex1.seri.co.uk>
6 years agoMerge "Make warning message instead of Assert when getting Child Property" into devel...
minho.sun [Mon, 21 Aug 2017 07:12:27 +0000 (07:12 +0000)]
Merge "Make warning message instead of Assert when getting Child Property" into devel/master

6 years agoMerge "Added property of layout direction for RTL/LTR support" into devel/master
taeyoon0.lee [Mon, 21 Aug 2017 04:53:02 +0000 (04:53 +0000)]
Merge "Added property of layout direction for RTL/LTR support" into devel/master

6 years agoMake warning message instead of Assert when getting Child Property 63/143463/5
minho.sun [Thu, 10 Aug 2017 04:37:18 +0000 (13:37 +0900)]
Make warning message instead of Assert when getting Child Property

If there is no child property, makes warning message instead of Assert
and ignores behaviour.

Change-Id: I0ac8936e203607a14a6891228b54955cf3702f7a
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoDALi Version 1.2.53 09/144909/1 dali_1.2.53
Victor Cebollada [Fri, 18 Aug 2017 09:20:06 +0000 (10:20 +0100)]
DALi Version 1.2.53

Change-Id: I54ecff9e1a778a67afc92a31aa5306ae21fdbbb5

6 years agoAdded property of layout direction for RTL/LTR support 40/144140/11
taeyoon0.lee [Mon, 14 Aug 2017 15:42:10 +0000 (00:42 +0900)]
Added property of layout direction for RTL/LTR support

Change-Id: I515ef33ca7501731706a199c06030457a4e8c289

6 years agoMerge "change DALI_COMPILE_TIME_ASSERT to use static_assert from C++ 11" into devel...
David Steele [Wed, 16 Aug 2017 13:14:18 +0000 (13:14 +0000)]
Merge "change DALI_COMPILE_TIME_ASSERT to use static_assert from C++ 11" into devel/master

6 years agoMerge "Replace GCC specific __thread with C++ 11 keyword thread_local" into devel...
David Steele [Wed, 16 Aug 2017 12:13:38 +0000 (12:13 +0000)]
Merge "Replace GCC specific __thread with C++ 11 keyword thread_local" into devel/master

6 years agochange DALI_COMPILE_TIME_ASSERT to use static_assert from C++ 11 05/144405/2
Kimmo Hoikka [Wed, 16 Aug 2017 12:11:19 +0000 (13:11 +0100)]
change DALI_COMPILE_TIME_ASSERT to use static_assert from C++ 11

Change-Id: Id88005a34a42c372a007def8cee9ae5a15debe46

6 years agoReplace GCC specific __thread with C++ 11 keyword thread_local 78/144378/2
Kimmo Hoikka [Wed, 16 Aug 2017 10:55:33 +0000 (11:55 +0100)]
Replace GCC specific __thread with C++ 11 keyword thread_local

Change-Id: I8bfd5684a7c198a332c81362eb643851bf2d5e77

6 years agofix CppCheck error in Quaternion 03/142103/2
Kimmo Hoikka [Wed, 2 Aug 2017 12:06:15 +0000 (13:06 +0100)]
fix CppCheck error in Quaternion

dali/public-api/math/quaternion.cpp 54 useInitializationList

Change-Id: Ib207e9e84642fde5a75d0c106f2a43417885a757

6 years agoDALi Version 1.2.52 35/143835/1 dali_1.2.52
Richard Huang [Fri, 11 Aug 2017 11:43:56 +0000 (12:43 +0100)]
DALi Version 1.2.52

Change-Id: I3343e69a9367225bddd17ab34f94479e3690f22f

6 years agoImplement Animation SetLoopMode and GetLoopMode API 33/140933/6
Seoyeon Kim [Thu, 27 Jul 2017 07:17:20 +0000 (16:17 +0900)]
Implement Animation SetLoopMode and GetLoopMode API

- Animation can play forwards and then runs backwards again using SetLoopMode().
- Enumeration 'LoopingMode' is one of RESTART and AUTO_REVERSE.

Change-Id: Ideecab8060d242874cb8997918b0a6e9c7734dd9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "DALi Version 1.2.51" into devel/master
Adeel Kazmi [Fri, 4 Aug 2017 10:51:27 +0000 (10:51 +0000)]
Merge "DALi Version 1.2.51" into devel/master

6 years agoDALi Version 1.2.51 86/142586/1 dali_1.2.51
greynaga [Fri, 4 Aug 2017 10:43:22 +0000 (11:43 +0100)]
DALi Version 1.2.51

Change-Id: I09a17c86137983b9bf17245296d4bebf3958017f

6 years agoFix SVACE issue 62/141862/1
Seoyeon Kim [Wed, 2 Aug 2017 00:40:41 +0000 (09:40 +0900)]
Fix SVACE issue

- At linear-constrainer-impl.cpp:138, 'mValue.Size()' should change to 'mProgress.Size()'.

Change-Id: I07799e08d0c5058dd09cd78f368be56b101c23cd
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMerge "Remove use of map-wrapper from TypeRegistry" into devel/master
David Steele [Tue, 1 Aug 2017 17:36:11 +0000 (17:36 +0000)]
Merge "Remove use of map-wrapper from TypeRegistry" into devel/master

6 years agoMerge "Fix some CppCheck errors" into devel/master
David Steele [Tue, 1 Aug 2017 12:07:36 +0000 (12:07 +0000)]
Merge "Fix some CppCheck errors" into devel/master

6 years agoRemove use of map-wrapper from TypeRegistry 64/141464/5
Kimmo Hoikka [Mon, 31 Jul 2017 18:44:29 +0000 (19:44 +0100)]
Remove use of map-wrapper from TypeRegistry

Change-Id: Ib3ecc3ba0dedcbab16f3243c8cb134fdc2718f7d

6 years agoFix some CppCheck errors 71/141471/2
Kimmo Hoikka [Mon, 31 Jul 2017 14:19:43 +0000 (15:19 +0100)]
Fix some CppCheck errors

dali/internal/update/gestures/scene-graph-pan-gesture.h 138 operatorEqVarError
dali/integration-api/events/key-event-integ.cpp 42 passedByValue
dali/internal/event/actors/actor-impl.cpp 4867 redundantCopyLocalConst
dali/internal/event/animation/linear-constrainer-impl.h 113 arrayIndexThenCheck
dali/internal/event/events/key-event-processor.cpp 53 redundantAssignment
dali/internal/event/actors/actor-impl.h 1872 passedByValue
dali/internal/render/common/render-algorithms.cpp 203 duplicateBreak
dali/public-api/math/quaternion.cpp 54 useInitializationList

Change-Id: Ifa3b1cd65187d0e0c00f81368ba90a2988975739

6 years agoRemove map-wrapper from KeyEventImpl hack 49/141449/1
Kimmo Hoikka [Mon, 31 Jul 2017 11:52:13 +0000 (12:52 +0100)]
Remove map-wrapper from KeyEventImpl hack

Change-Id: I1f5fbaa21e9af596b9f5d9d7ed4329e8c0b2de51

6 years agoMerge "DALi Version 1.2.50" into devel/master
David Steele [Fri, 28 Jul 2017 16:01:58 +0000 (16:01 +0000)]
Merge "DALi Version 1.2.50" into devel/master

6 years agoDALi Version 1.2.50 26/141226/1 dali_1.2.50
Adeel Kazmi [Fri, 28 Jul 2017 15:54:30 +0000 (16:54 +0100)]
DALi Version 1.2.50

Change-Id: I59cc5089d616fd1d641eda79607d4a1f76be911c

6 years agoAdded Devel Animated with Default Property Reg macro 25/141025/1
Agnelo Vaz [Thu, 27 Jul 2017 17:39:48 +0000 (18:39 +0100)]
Added Devel Animated with Default Property Reg macro

Change-Id: Ib93c776adaae19cdc09bfa67f9840857ed25705f

6 years agoMerge "Updated dali_env script to ensure no build telemetry is sent." into devel...
Adeel Kazmi [Thu, 27 Jul 2017 16:06:12 +0000 (16:06 +0000)]
Merge "Updated dali_env script to ensure no build telemetry is sent." into devel/master

6 years agoUpdated dali_env script to ensure no build telemetry is sent. 46/140846/1
David Steele [Wed, 26 Jul 2017 18:56:06 +0000 (19:56 +0100)]
Updated dali_env script to ensure no build telemetry is sent.

By default, dotnet build sends telemetry about the build process to
Microsoft. This can be disabled by setting the environment variable
DOTNET_CLI_TELEMETRY_OPTOUT=1

Have added this to the dali_env script to ensure that none of the
build processes send this telemetry.

Change-Id: I3f7252b4eeef16207d04bc1f9fa251fdb1a3d870
Signed-off-by: David Steele <david.steele@samsung.com>
6 years agoImplement Animation PlayAfter() API 02/139402/11
Seoyeon Kim [Wed, 19 Jul 2017 00:53:02 +0000 (09:53 +0900)]
Implement Animation PlayAfter() API

- PlayAfter() API is to play Animation after the given time.

Change-Id: I177fed58bb2bdfd9df1f7acec7a9acbd83f8453e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoDALi Version 1.2.49 49/140049/1 dali_1.2.49
David Steele [Fri, 21 Jul 2017 13:24:14 +0000 (14:24 +0100)]
DALi Version 1.2.49

Change-Id: I9608c1484003c63acdb49610ff413ca3db7222a7

6 years agoAdded Devel Animated Property Registration macro 94/138994/1
Agnelo Vaz [Fri, 14 Jul 2017 13:31:53 +0000 (14:31 +0100)]
Added Devel Animated Property Registration macro

Change-Id: Ib9e999d98a9eaa21bb3063302f143c24300f7d07

6 years agoMerge changes I0322e8d7,I26207d6a into devel/master
Adeel Kazmi [Fri, 14 Jul 2017 14:41:46 +0000 (14:41 +0000)]
Merge changes I0322e8d7,I26207d6a into devel/master

* changes:
  Added tracking of texture count to test harness
  Added a memory efficient Circular Queue to Dali

6 years agoDALi Version 1.2.48 77/138977/1 dali_1.2.48
adam.b [Fri, 14 Jul 2017 12:28:57 +0000 (13:28 +0100)]
DALi Version 1.2.48

Change-Id: Iecd686ab2ee242d033f2b7908739936232716a67

6 years agoMerge "Reduce Render::Texture size by 30% and texture upload message size by 50%...
Adeel Kazmi [Thu, 13 Jul 2017 18:47:27 +0000 (18:47 +0000)]
Merge "Reduce Render::Texture size by 30% and texture upload message size by 50%" into devel/master

6 years agoAdded tracking of texture count to test harness 78/138778/3
David Steele [Thu, 13 Jul 2017 14:34:18 +0000 (15:34 +0100)]
Added tracking of texture count to test harness

Change-Id: I0322e8d77c95c3628421c73fbba5f25897125653

6 years agoAdded a memory efficient Circular Queue to Dali 71/136671/5
David Steele [Fri, 30 Jun 2017 16:26:19 +0000 (17:26 +0100)]
Added a memory efficient Circular Queue to Dali

Added a circular queue that is based on top of Dali::Vector.
It's a FIFO queue that grows to the desired size, then prevents
anything being added to it once full. Elements are pushed to the back
of the queue, and popped from the front of the queue.

Change-Id: I26207d6aca5031e7e35f58adbe2ef1f26298ae2a
Signed-off-by: David Steele <david.steele@samsung.com>
6 years agoMerge "Added device information in TouchData/KeyEvent" into devel/master
taeyoon0.lee [Wed, 12 Jul 2017 16:24:17 +0000 (16:24 +0000)]
Merge "Added device information in TouchData/KeyEvent" into devel/master

6 years agoAdd devel api to support C++11 for loop: for ( auto i : container ) 02/138002/9
Kimmo Hoikka [Mon, 10 Jul 2017 16:47:05 +0000 (17:47 +0100)]
Add devel api to support C++11 for loop: for ( auto i : container )

Change-Id: I4167e6b160f0134648d23bb1e9c10da214d68017

6 years agoReduce Render::Texture size by 30% and texture upload message size by 50% 94/137994/2
Kimmo Hoikka [Mon, 10 Jul 2017 13:11:47 +0000 (14:11 +0100)]
Reduce Render::Texture size by 30% and texture upload message size by 50%

use uint16_t instead of unsigned int, which is unnecessarily large

Change-Id: I52ed1574086c3c35148ac1def09f32f49238adb4

6 years agoMerge "DALi Version 1.2.47" into devel/master
Adeel Kazmi [Fri, 7 Jul 2017 10:45:16 +0000 (10:45 +0000)]
Merge "DALi Version 1.2.47" into devel/master

6 years agoDALi Version 1.2.47 47/137747/1 dali_1.2.47
Agnelo Vaz [Fri, 7 Jul 2017 10:20:14 +0000 (11:20 +0100)]
DALi Version 1.2.47

Change-Id: Ibaf982f08a0983d58fa1b6fd6361fe07cd8f7284

6 years agoUpdating test harness CMakeLists.txt to work with newer versions of CMAKE 03/137603/1
David Steele [Thu, 6 Jul 2017 16:21:59 +0000 (17:21 +0100)]
Updating test harness CMakeLists.txt to work with newer versions of CMAKE

Change-Id: Iab5d9701f2c1ed8354a92e3855e4a3a9da522094

6 years agoAdded device information in TouchData/KeyEvent 74/135674/8
taeyoon0.lee [Fri, 23 Jun 2017 08:34:01 +0000 (17:34 +0900)]
Added device information in TouchData/KeyEvent

Change-Id: Ib5a5c66147372da4933f0ef827992081dddeb501

6 years agoMerge "Replace DALI_COMPILE_TIME_ASSERT with C++11 static_assert" into devel/master
Kimmo Hoikka [Mon, 3 Jul 2017 13:56:52 +0000 (13:56 +0000)]
Merge "Replace DALI_COMPILE_TIME_ASSERT with C++11 static_assert" into devel/master

6 years agoMerge "Updated Layer documentation to describe correct drawing order." into devel...
Adeel Kazmi [Mon, 3 Jul 2017 10:57:12 +0000 (10:57 +0000)]
Merge "Updated Layer documentation to describe correct drawing order." into devel/master

6 years agoMerge "Performance Improvements: Remove unnecessary SwapBuffer calls" into devel...
Adeel Kazmi [Fri, 30 Jun 2017 18:35:26 +0000 (18:35 +0000)]
Merge "Performance Improvements: Remove unnecessary SwapBuffer calls" into devel/master

6 years agoPerformance Improvements: Remove unnecessary SwapBuffer calls 19/136219/4
Tom Robinson [Wed, 28 Jun 2017 14:03:50 +0000 (15:03 +0100)]
Performance Improvements: Remove unnecessary SwapBuffer calls

Change-Id: I8ce9f1d5e2fcdab8f81c355774a2f9775e1a365b

6 years agoMerge "Fix position error when INHERIT_POSITION is false" into devel/master
Adeel Kazmi [Fri, 30 Jun 2017 13:53:42 +0000 (13:53 +0000)]
Merge "Fix position error when INHERIT_POSITION is false" into devel/master

6 years agoUpdated Layer documentation to describe correct drawing order. 49/136649/2
David Steele [Fri, 30 Jun 2017 12:40:34 +0000 (13:40 +0100)]
Updated Layer documentation to describe correct drawing order.

Change-Id: I18949d1f7c714fa662d7400d4c042afbc538deda
Signed-off-by: David Steele <david.steele@samsung.com>
6 years agoDALi Version 1.2.46 09/136609/1 dali_1.2.46
Adeel Kazmi [Fri, 30 Jun 2017 10:20:24 +0000 (11:20 +0100)]
DALi Version 1.2.46

Change-Id: Ia346d276bbd0e1fb70373e0a197eece79e68cfc9

6 years agoFix position error when INHERIT_POSITION is false 40/135940/2
Heeyong Song [Tue, 27 Jun 2017 11:18:06 +0000 (20:18 +0900)]
Fix position error when INHERIT_POSITION is false

- Consider the anchor point

Change-Id: I5f646a469969338e5fd7b8a420a703a7138a715e

6 years agoReplace DALI_COMPILE_TIME_ASSERT with C++11 static_assert 55/136455/1
Adeel Kazmi [Thu, 29 Jun 2017 17:43:49 +0000 (18:43 +0100)]
Replace DALI_COMPILE_TIME_ASSERT with C++11 static_assert

Change-Id: Ieaf5b9b3f75d7d7a2fc5d29edda5e5c62ed672f6

6 years agoRemove Emscripten 50/136450/3
Adeel Kazmi [Thu, 29 Jun 2017 15:30:05 +0000 (16:30 +0100)]
Remove Emscripten

Change-Id: Icf2d5b4cf4c0df3508996ff5bd4961a4e102b76d

6 years agoTemporary types for PropertyValue debugging 28/136428/2
David Steele [Fri, 8 Apr 2016 11:12:26 +0000 (12:12 +0100)]
Temporary types for PropertyValue debugging

Note, adds global variables under DEBUG build only.

Change-Id: Id40e68cb565fe03d3c0304acae9c2375c1e603b3

6 years agoMerge "Revert "Implemented basic CPU image masking"" into devel/master
Adeel Kazmi [Wed, 28 Jun 2017 15:01:06 +0000 (15:01 +0000)]
Merge "Revert "Implemented basic CPU image masking"" into devel/master

6 years agoPerformance Improvements: Reduce glClear calls 72/135972/4
Tom Robinson [Tue, 27 Jun 2017 15:01:02 +0000 (16:01 +0100)]
Performance Improvements: Reduce glClear calls

Notes on this change so far:
* Camera still exists within rendertask as is required for some methods - this can be removed as part of later refactor?

Change-Id: I49e73be70773fa295803a7077392bb60d693f9be

6 years agoRevert "Implemented basic CPU image masking" 28/134928/4
David Steele [Mon, 19 Jun 2017 17:52:30 +0000 (18:52 +0100)]
Revert "Implemented basic CPU image masking"

This reverts commit 5bf461c739a17c68772a91d39cf264cdd70beec2.

Conflicts:
automated-tests/src/dali-internal/CMakeLists.txt
dali/devel-api/file.list

Change-Id: I90c0c15290f0b41e9e8f9e47964788e5ac99ac73

6 years agoRemoved forward declaration of (removed) FrameBufferTexture 41/119941/2
Paul Wisbey [Mon, 20 Mar 2017 19:59:47 +0000 (19:59 +0000)]
Removed forward declaration of (removed) FrameBufferTexture

Change-Id: Idf52f8a8fd0d87e5ce639f80796866bfd8d3fdb1

6 years agoDALi Version 1.2.45 06/135606/1 dali_1.2.45
Victor Cebollada [Fri, 23 Jun 2017 09:43:28 +0000 (10:43 +0100)]
DALi Version 1.2.45

Change-Id: Ic85a13a24e60c24151361ac45bd2429c5f1ca25e

6 years agoClipping draw order fix 25/135025/3
Tom Robinson [Tue, 20 Jun 2017 10:50:25 +0000 (11:50 +0100)]
Clipping draw order fix

Change-Id: I845d2f140048abd3de5fb6c5f399e53f9fca7ff3

6 years agoAdded mechanism to get type info of CustomActor 33/134433/2
David Steele [Thu, 15 Jun 2017 15:57:14 +0000 (16:57 +0100)]
Added mechanism to get type info of CustomActor

For non-native derived classes of CustomActor, it is useful to be
able to get the registered type name without using the native
"typeid" mechanism, which usually gets to the most-derived native
class. Instead, if the glue layer registers the non-native typenames
with the type registry using DevelHandle::SetTypeInfo, then

Change-Id: Ic79ce1a239a965e5c2c74ea2b8980c2f9ca29f8c
Signed-off-by: David Steele <david.steele@samsung.com>
6 years agoDALi Version 1.2.44 30/134430/1 dali_1.2.44
Umar [Fri, 16 Jun 2017 11:03:21 +0000 (12:03 +0100)]
DALi Version 1.2.44

Change-Id: If2e0e08ba448ddf90fdf1db0550e22783f7da7dc

6 years agoRevert "Enable GLES3.0 by default." 79/134279/1
Adeel Kazmi [Thu, 15 Jun 2017 17:52:52 +0000 (17:52 +0000)]
Revert "Enable GLES3.0 by default."

This reverts commit b595c8cb3e23821406a4ba65e1e224cfb6443c36.

Change-Id: I3cf62bb34a0f902caf29b8cf71ad48e1344d5ce3

6 years agoEnable GLES3.0 by default. 10/134110/2
Victor Cebollada [Wed, 14 Jun 2017 15:50:09 +0000 (16:50 +0100)]
Enable GLES3.0 by default.

Change-Id: I358d172244716840e16a57bdd980dc2be349bd69
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
6 years agoFloating point formats added to pixel data. 59/133859/9
Victor Cebollada [Tue, 13 Jun 2017 14:41:39 +0000 (15:41 +0100)]
Floating point formats added to pixel data.

Change-Id: I94038c400620fef5a63fcd74bc2f053c2f9d8254
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
6 years agoMerge "Simplified actor depth traversal algorithms" into devel/master
David Steele [Mon, 12 Jun 2017 15:31:03 +0000 (15:31 +0000)]
Merge "Simplified actor depth traversal algorithms" into devel/master

6 years agoSimplified actor depth traversal algorithms 13/132813/6
David Steele [Wed, 7 Jun 2017 19:37:51 +0000 (20:37 +0100)]
Simplified actor depth traversal algorithms

Instead of having a complex sibling order and hierarchy depth combination,
changed to use actor order in mChildren; Sibling operations now move
the actor pointers in this array.

Automatically regenerates a depth index for every actor in the tree
when any part of the tree changes. (i.e. actor add/remove, raise/lower etc)
at the end of an event processing cycle, and resends a list of nodes
to UpdateManager in a single message.

Change-Id: I1f716132f0e3a13fc21fbebf188287dc893956ee
Signed-off-by: David Steele <david.steele@samsung.com>
6 years agoMerge "Adding Progress notification to Animation" into devel/master
Adeel Kazmi [Fri, 9 Jun 2017 17:36:55 +0000 (17:36 +0000)]
Merge "Adding Progress notification to Animation" into devel/master

6 years agoAdding Progress notification to Animation 12/132812/14
Agnelo Vaz [Wed, 7 Jun 2017 18:06:17 +0000 (19:06 +0100)]
Adding Progress notification to Animation

Change-Id: Iff153ceebfc89938e43a6ce50a0e0fe962e6ef81

6 years agoFix for texture Upload() 08/133308/1
Victor Cebollada [Fri, 9 Jun 2017 13:15:02 +0000 (14:15 +0100)]
Fix for texture Upload()

* When a full texture is loaded in a GLES3.x context
  and the pixel data format is RGB and the internal format
  is RGBA, it needs to be converted to RGBA.

Change-Id: Idcd3635d2d1bd378b9ffe96266c4fb8ced5e4087
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
6 years agoMerge "Mipmap level parameter" into devel/master
Paul Wisbey [Fri, 9 Jun 2017 15:05:32 +0000 (15:05 +0000)]
Merge "Mipmap level parameter" into devel/master

6 years agoMerge "Implemented basic CPU image masking" into devel/master
Adeel Kazmi [Fri, 9 Jun 2017 12:54:14 +0000 (12:54 +0000)]
Merge "Implemented basic CPU image masking" into devel/master

6 years agoMipmap level parameter 98/132798/5
greynaga [Wed, 7 Jun 2017 14:24:31 +0000 (15:24 +0100)]
Mipmap level parameter

Implementation of GL_TEXTURE_MAX_LEVEL for GLES3x,
to upload mipmaps without full level.

Change-Id: I8dbd3a30b47da02ec598cf8df1bc6444d361e232

6 years agoDALi Version 1.2.43 84/133284/1 dali_1.2.43
Richard Huang [Fri, 9 Jun 2017 12:23:00 +0000 (13:23 +0100)]
DALi Version 1.2.43

Change-Id: I90bfdcbca3332d6f748769b4d49bfd8145c57e5a

6 years agoImplemented basic CPU image masking 35/132535/7
David Steele [Tue, 6 Jun 2017 09:18:36 +0000 (10:18 +0100)]
Implemented basic CPU image masking

Given a PixelData containing an image and a PixelData to use as a mask,
this will apply the alpha channel of the mask to the image; either
multiplying into the image's alpha channel, or if it doesn't have one,
converting the image to RGBA888 and applying the mask's alpha channel.

If the mask is a different size than the image, then this will sample a
single pixel from a smaller mask, or use bilinear filtering to sample
from a larger mask.

Change-Id: I48b5d332627a4fb85899883868d278bcbc2b9c8e

6 years agoRemove current and future memory leaks with messages by forcing the use of OwnerPoint... 10/132810/2
Kimmo Hoikka [Wed, 7 Jun 2017 17:35:26 +0000 (18:35 +0100)]
Remove current and future memory leaks with messages by forcing the use of OwnerPointer instead of raw pointers

OwnerPointer no longer does the Release hack behind the scene so if you want to transfer ownership
it needs to be OwnerPointer all the way

Change-Id: I3cbf6341142fd25ef3f2a0ebc875c2ef9797e8ad

6 years agoDALi Version 1.2.42 57/132357/1 dali_1.2.42
Nick Holland [Fri, 2 Jun 2017 11:55:31 +0000 (12:55 +0100)]
DALi Version 1.2.42

Change-Id: I3dd139533e160084d6a077de3d2138e167d57de3

6 years agoAdd a helper for read-only properties 06/132006/2
Adeel Kazmi [Wed, 31 May 2017 14:17:26 +0000 (15:17 +0100)]
Add a helper for read-only properties

Change-Id: I927f26296470cd27d4bd5f9168ac15c5dace0335

6 years agoRemove dead logic handling renderer ready and completion 21/131321/3
Kimmo Hoikka [Fri, 26 May 2017 09:37:20 +0000 (10:37 +0100)]
Remove dead logic handling renderer ready and completion

- its not possible to have a renderer without scene graph geometry and shader
- renderers are now ready and complete as soon as they are ready, i.e. have valid geometry and shader

Change-Id: I197c7af70a4c204260558a57b54bd69a2830f410

6 years agoMerge "Removal of unnecessary set and map wrappers" into devel/master
David Steele [Fri, 26 May 2017 17:30:39 +0000 (17:30 +0000)]
Merge "Removal of unnecessary set and map wrappers" into devel/master

6 years agoMerge "(Animation) Ensure PlayFrom updates the cached event-side properties" into...
David Steele [Fri, 26 May 2017 16:25:00 +0000 (16:25 +0000)]
Merge "(Animation) Ensure PlayFrom updates the cached event-side properties" into devel/master

6 years agoMerge "(Animation) Ensure AnimateBetween updates the cached event-side properties...
David Steele [Fri, 26 May 2017 16:24:46 +0000 (16:24 +0000)]
Merge "(Animation) Ensure AnimateBetween updates the cached event-side properties" into devel/master

6 years agoMerge "(Animation) Ensure AnimateBy updates the cached event-side properties" into...
David Steele [Fri, 26 May 2017 16:24:37 +0000 (16:24 +0000)]
Merge "(Animation) Ensure AnimateBy updates the cached event-side properties" into devel/master

6 years agoRemoval of unnecessary set and map wrappers 54/131354/2
Kimmo Hoikka [Fri, 26 May 2017 12:57:14 +0000 (13:57 +0100)]
Removal of unnecessary set and map wrappers

Change-Id: Ib11f9a3dcf8d71ddcba3ffee6d0d6180a89f500d

6 years agoDALi Version 1.2.41 44/131344/1 dali_1.2.41
greynaga [Fri, 26 May 2017 12:30:37 +0000 (13:30 +0100)]
DALi Version 1.2.41

Change-Id: I9df1c5bc3943a712901cee763fde9ca6609ebbda

6 years ago(Animation) Ensure PlayFrom updates the cached event-side properties 99/131099/2
Adeel Kazmi [Thu, 25 May 2017 10:42:06 +0000 (11:42 +0100)]
(Animation) Ensure PlayFrom updates the cached event-side properties

Change-Id: Id5dd3a1e78fabc7c426b81e3909738bbc1887040

6 years ago(Animation) Ensure AnimateBetween updates the cached event-side properties 72/130272/5
Adeel Kazmi [Sat, 20 May 2017 03:08:52 +0000 (04:08 +0100)]
(Animation) Ensure AnimateBetween updates the cached event-side properties

Change-Id: I8d83611eebf8e9bdca7dd9390a207924706eeb97

6 years ago(Animation) Ensure AnimateBy updates the cached event-side properties 23/130223/8
Adeel Kazmi [Fri, 19 May 2017 10:30:29 +0000 (11:30 +0100)]
(Animation) Ensure AnimateBy updates the cached event-side properties

Change-Id: If7c50137a729f6072f39c8768a127326ca56d389

6 years agoMerge "Deprecate all Image classes" into devel/master
David Steele [Thu, 25 May 2017 17:37:13 +0000 (17:37 +0000)]
Merge "Deprecate all Image classes" into devel/master

6 years agoCleanup ResourceLoading and PlatformAbstraction 82/129982/3
Kimmo Hoikka [Thu, 18 May 2017 17:04:28 +0000 (18:04 +0100)]
Cleanup ResourceLoading and PlatformAbstraction

- Removed ResourceType base class
- Clarified PlatformAbstraction methods

Change-Id: I0811af69e8781136cde0d6f62fe49bc820d577c8

6 years agoDeprecate all Image classes 13/131113/4
Adeel Kazmi [Thu, 25 May 2017 10:58:30 +0000 (11:58 +0100)]
Deprecate all Image classes

Change-Id: I399ca4be69c53e991825bbcafc1d3150fc2db235

6 years agoMerge "Update doxygen commnets" into devel/master
Adeel Kazmi [Wed, 24 May 2017 10:29:27 +0000 (10:29 +0000)]
Merge "Update doxygen commnets" into devel/master

6 years agoUpdate doxygen commnets 99/130799/1
Seoyeon Kim [Wed, 24 May 2017 04:44:35 +0000 (13:44 +0900)]
Update doxygen commnets

- Return type of member Dali::Property::Add is not documented.
- Parameter of member Dali::Property::GetKeyAt is not documented.
- Parameter of member Dali::Property::GetKeyValue is not documented.

Change-Id: I99bd91058517b3dfeb0678188d039b972f126df3
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoMove DevelHandle::GetCurrentProperty to public 52/130352/3
minho.sun [Mon, 22 May 2017 06:05:42 +0000 (15:05 +0900)]
Move DevelHandle::GetCurrentProperty to public

Move DevelHandle::GetCurrentProperty to public.

Change-Id: Ib9c262ce1bc26467a68acef64a3ffaac9d9c79e6
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years agoAvoid Svace MEMORY_LEAK warning in callback.cpp 38/130338/1
Seoyeon Kim [Mon, 22 May 2017 05:04:55 +0000 (14:04 +0900)]
Avoid Svace MEMORY_LEAK warning in callback.cpp

Change-Id: I7be6559a82035993e8607b282b6ecc47ec365264
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoDALi Version 1.2.40 25/130225/1 dali_1.2.40
Francisco Santos [Fri, 19 May 2017 12:43:14 +0000 (13:43 +0100)]
DALi Version 1.2.40

Change-Id: I707fcf7f3e9584a854a3ef9d5a4906f21dedd8a5

6 years ago(Animation) Ensure TimePeriod is taken into account when setting properties on the... 89/129889/3
Adeel Kazmi [Thu, 18 May 2017 08:56:19 +0000 (09:56 +0100)]
(Animation) Ensure TimePeriod is taken into account when setting properties on the event-thread as well

Also added some more test cases to test the AnimateTo event side properties

Change-Id: Ibeeb8f01316034715eb9121dfec61c18e18eeb5d

6 years agoEnable -Wold-style-cast to ensure more consideration is given to types and their... 07/129707/5
Kimmo Hoikka [Wed, 17 May 2017 16:57:34 +0000 (17:57 +0100)]
Enable -Wold-style-cast to ensure more consideration is given to types and their conversions

Change-Id: I8b8e92f09434e52ad62353d54a2846fae96fb3c3

6 years agoMerge "Enable -Woverloaded-virtual to enforce correct C++ behaviour when overriding...
Adeel Kazmi [Thu, 18 May 2017 10:26:39 +0000 (10:26 +0000)]
Merge "Enable -Woverloaded-virtual to enforce correct C++ behaviour when overriding virtuals" into devel/master

6 years agoMerge "Enable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in" into devel...
Adeel Kazmi [Thu, 18 May 2017 10:25:28 +0000 (10:25 +0000)]
Merge "Enable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in" into devel/master

6 years agoMerge changes I84e1ce43,I76b93d51 into devel/master
David Steele [Wed, 17 May 2017 16:03:10 +0000 (16:03 +0000)]
Merge changes I84e1ce43,I76b93d51 into devel/master

* changes:
  (Animation) Reorder animation variables according to size & remove unused
  Ensure cached values of properties animated using AnimateTo are updated

6 years agoEnable -Woverloaded-virtual to enforce correct C++ behaviour when overriding virtuals 05/129705/1
Kimmo Hoikka [Wed, 17 May 2017 16:00:36 +0000 (17:00 +0100)]
Enable -Woverloaded-virtual to enforce correct C++ behaviour when overriding virtuals

Change-Id: I36aae7341320f43957639473d7f6d933ff815172