platform/core/uifw/dali-core.git
9 years agoproper enums for texture units to improve readability and allow renderer type specifi... 76/30176/2
Kimmo Hoikka [Wed, 12 Nov 2014 11:53:16 +0000 (11:53 +0000)]
proper enums for texture units to improve readability and allow renderer type specific units for less state changes

[Problem]
[Cause]
[Solution]

Change-Id: Ibdacf7b632f4922cb0a991b267d9723bfd0c71ae

9 years agoMerge "Remove a few exports by getting rid of two std::vectors and two std::sets...
Adeel Kazmi [Wed, 12 Nov 2014 16:05:22 +0000 (08:05 -0800)]
Merge "Remove a few exports by getting rid of two std::vectors and two std::sets" into tizen

9 years agoCleaning up property public API 89/30189/2
Kimmo Hoikka [Wed, 12 Nov 2014 13:30:24 +0000 (13:30 +0000)]
Cleaning up property public API

[Problem]
[Cause]
[Solution]

Change-Id: Ia2748d13d3bba9f3a132e4e8bec57eb3707c92a7

9 years agoRemove a few exports by getting rid of two std::vectors and two std::sets 99/30099/12
Kimmo Hoikka [Mon, 10 Nov 2014 17:53:42 +0000 (17:53 +0000)]
Remove a few exports by getting rid of two std::vectors and two std::sets

[Problem]
[Cause]
[Solution]

Change-Id: I84df0e7804fd732002cd09db72879b4f82c9f211

9 years ago(Gestures) Pass const refs in callbacks 28/30128/2
Adeel Kazmi [Tue, 11 Nov 2014 15:50:22 +0000 (15:50 +0000)]
(Gestures) Pass const refs in callbacks

Change-Id: I783837af2e3021649c64d78ad63294902029fea7

9 years ago(Automated Tests) Fix build break 19/30119/1
Adeel Kazmi [Tue, 11 Nov 2014 10:37:07 +0000 (10:37 +0000)]
(Automated Tests) Fix build break

Change-Id: I5b2b2ceb3317d04a6c3481941f9ea316588aebcd

9 years agoCleaning up shader-effect-impl in preparation for future fixes 48/30048/4
Kimmo Hoikka [Fri, 7 Nov 2014 16:37:49 +0000 (16:37 +0000)]
Cleaning up shader-effect-impl in preparation for future fixes

[Problem]
[Cause]
[Solution]

Change-Id: Ieef7b50f71bf8462b6fc1c5b09d5473995eeb0bb

9 years agoremoving use of using namespace std; 49/30049/4
Kimmo Hoikka [Fri, 7 Nov 2014 17:18:03 +0000 (17:18 +0000)]
removing use of using namespace std;

[Problem]
[Cause]
[Solution]

Change-Id: Ic1e4cafe06369ff5ed8da0a3d066021caa44e537

9 years agoUpdated shaders, shader script and geometry types. 91/29991/3
David Steele [Thu, 6 Nov 2014 15:55:03 +0000 (15:55 +0000)]
Updated shaders, shader script and geometry types.

Updated shader generation script to automatically generate custom
prefix and postfix strings from the main shaders. Deleted prefix/postfix
shaders.
Renamed shader sources to be meaningful.
Renamed shader geometry types to be consistent and meaningful

Change-Id: I8e3a09ba43b450d1bc9eb34d8a559c05a55bb4a4
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoRemove boost from animation public API 29/29929/5
Kimmo Hoikka [Tue, 4 Nov 2014 14:59:00 +0000 (14:59 +0000)]
Remove boost from animation public API

[Problem]
[Cause]
[Solution]

Change-Id: I3a8e00d55da652a9439ba5180c8b971f584a0d04

9 years agoMerge "Updated test harness code to enable styling through links." into tizen
Adeel Kazmi [Fri, 7 Nov 2014 08:13:04 +0000 (00:13 -0800)]
Merge "Updated test harness code to enable styling through links." into tizen

9 years agoAvoid setting all the programs in all the shaders, NULL means use default 36/29936/3
Kimmo Hoikka [Wed, 5 Nov 2014 18:45:27 +0000 (18:45 +0000)]
Avoid setting all the programs in all the shaders, NULL means use default

[Problem]
[Cause]
[Solution]

Change-Id: I714fc8237dff03f86d544afbdd493731c843cdd2

9 years agoMerge "Klockwork fixes: Distance field iteration Checking for null...
Kimmo Hoikka [Thu, 6 Nov 2014 17:34:05 +0000 (09:34 -0800)]
Merge "Klockwork fixes: Distance field iteration                  Checking for null pointers                  Initialising member variables" into tizen

9 years agoMerge "Remove dead code" into tizen
Kimmo Hoikka [Thu, 6 Nov 2014 14:48:09 +0000 (06:48 -0800)]
Merge "Remove dead code" into tizen

9 years agoUpdated test harness code to enable styling through links. 47/29747/3
David Steele [Mon, 3 Nov 2014 18:06:46 +0000 (18:06 +0000)]
Updated test harness code to enable styling through links.

Added document to describe how to set up test harness.

Change-Id: Id7cf1a8c017eaf0e83552dadb8fbf114b02f75c3
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Klockwork: remove unreachable code, check iterators" into tizen
Adeel Kazmi [Thu, 6 Nov 2014 13:57:14 +0000 (05:57 -0800)]
Merge "Klockwork: remove unreachable code, check iterators" into tizen

9 years agoMerge "remove the exports for enumerated property types" into tizen
Adeel Kazmi [Thu, 6 Nov 2014 13:39:06 +0000 (05:39 -0800)]
Merge "remove the exports for enumerated property types" into tizen

9 years agoRemove dead code 30/29930/3
Kimmo Hoikka [Wed, 5 Nov 2014 17:34:29 +0000 (17:34 +0000)]
Remove dead code

[Problem]
[Cause]
[Solution]

Change-Id: I6393f055088b2de8dcc07b69088b30217374f5ae

9 years agoMerge "Remove handle::operator=(NULL) as it is duplicating handle.Reset() functionali...
Adeel Kazmi [Thu, 6 Nov 2014 11:37:19 +0000 (03:37 -0800)]
Merge "Remove handle::operator=(NULL) as it is duplicating handle.Reset() functionality and thus redundant" into tizen

9 years agoremove the exports for enumerated property types 81/29981/2
Kimmo Hoikka [Thu, 6 Nov 2014 10:49:24 +0000 (10:49 +0000)]
remove the exports for enumerated property types

[Problem]
[Cause]
[Solution]

Change-Id: I1040b5885da495fce9f88adbbe14c88ac9325696

9 years agoRemove handle::operator=(NULL) as it is duplicating handle.Reset() functionality... 32/29932/3
Kimmo Hoikka [Wed, 5 Nov 2014 18:36:06 +0000 (18:36 +0000)]
Remove handle::operator=(NULL) as it is duplicating handle.Reset() functionality and thus redundant

[Problem]
[Cause]
[Solution]

Change-Id: I1836b98ee0ad6d661e952e1c2beec27116879725

9 years agoDALi Version 1.0.16 62/29962/1 dali_1.0.16
Adeel Kazmi [Thu, 6 Nov 2014 08:18:32 +0000 (08:18 +0000)]
DALi Version 1.0.16

Change-Id: I87f141f4a25c41b97e93153b4789a982318ed55c

10 years agoMerge "Updates to handle context loss and regain" into tizen
Kimmo Hoikka [Wed, 5 Nov 2014 17:50:08 +0000 (09:50 -0800)]
Merge "Updates to handle context loss and regain" into tizen

10 years agoMerge "Reduce exports by inlining alpha functions and helper constraints, removing...
Adeel Kazmi [Wed, 5 Nov 2014 16:17:25 +0000 (08:17 -0800)]
Merge "Reduce exports by inlining alpha functions and helper constraints, removing unused helpers" into tizen

10 years agoKlockwork: remove unreachable code, check iterators 25/29925/1
Kingsley Stephens [Wed, 5 Nov 2014 15:02:17 +0000 (15:02 +0000)]
Klockwork: remove unreachable code, check iterators

Change-Id: I1f34a05504af3a286cbdc1408ed2f9bf38903458

10 years agoKlockwork fixes: Distance field iteration 83/29883/1
Kingsley Stephens [Tue, 4 Nov 2014 11:34:38 +0000 (11:34 +0000)]
Klockwork fixes: Distance field iteration
                 Checking for null pointers
                 Initialising member variables

Change-Id: I9a33b28759ceea74ba90507472de54affdcb0632

10 years agoUpdates to handle context loss and regain 69/27369/18
David Steele [Wed, 10 Sep 2014 17:59:50 +0000 (18:59 +0100)]
Updates to handle context loss and regain

[Problem]  Dali doesn't handle context loss
[Cause]    Context loss code, e.g. ReplaceSurface(), has never been tested,
but is required for new platforms.

[Solution] Allow the application to choose either to handle context
loss itself (i.e.  it should connect to the new stage signals
ContextLost and ContextRegained), or to let Dali handle context loss
( which means it needs to retain bitmap data and mesh data, adding a
memory overhead )

For Tizen, if the application doesn't handle context loss, DALi only
actually needs to retain the mesh data, as it can reload bitmaps from
file based images (No other bitmap type is discardable).

It also triggers a reload of the font atlas, although that should be
relatively quick, as the glyphs have already been cached, so it should
be as quick as resizing texture atlas.

It also triggers a refresh of all render tasks with framebuffers and RefreshOnce.

For controls and applications that delete their render tasks after they have finished
rendering, they will need to listen for ContextRegained in order to re-run them to
recreate the resultant framebuffer.

Added tests for mesh data discard using public meshes and meshes loaded via model.

Change-Id: I0d89f0dee2dfcf79fcabce19c36ac129de077fa8
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge "Dont keep update unnecessarily running when even thread notifications are...
Adeel Kazmi [Wed, 5 Nov 2014 11:23:52 +0000 (03:23 -0800)]
Merge "Dont keep update unnecessarily running when even thread notifications are being processed (requires Adaptor patch as well)" into tizen

10 years agoMerge "Add missing attach call to TextActor (Image and Mesh actor do it correctly...
Kimmo Hoikka [Wed, 5 Nov 2014 11:19:24 +0000 (03:19 -0800)]
Merge "Add missing attach call to TextActor (Image and Mesh actor do it correctly)" into tizen

10 years agoDont keep update unnecessarily running when even thread notifications are being proce... 10/29810/2
Kimmo Hoikka [Tue, 4 Nov 2014 13:44:21 +0000 (13:44 +0000)]
Dont keep update unnecessarily running when even thread notifications are being processed (requires Adaptor patch as well)

[Problem]
[Cause]
[Solution]

Change-Id: I4e4cd177b8aeba75165c0ba085fe4d7fa5e95c36

10 years agoAdd missing attach call to TextActor (Image and Mesh actor do it correctly) 09/29809/2
Kimmo Hoikka [Tue, 4 Nov 2014 13:41:41 +0000 (13:41 +0000)]
Add missing attach call to TextActor (Image and Mesh actor do it correctly)

[Problem]
[Cause]
[Solution]

Change-Id: I73137a4b97066e4a019e6549c39e178199aa0590

10 years agoFixing the comments and coding style in intrusive pointer 07/29807/2
Kimmo Hoikka [Tue, 4 Nov 2014 13:31:18 +0000 (13:31 +0000)]
Fixing the comments and coding style in intrusive pointer

[Problem]
[Cause]
[Solution]

Change-Id: Ifc3255a3122359a33871c828e12acf127fa878ba

10 years agoReduce exports by inlining alpha functions and helper constraints, removing unused... 69/29669/8
Kimmo Hoikka [Fri, 31 Oct 2014 11:05:55 +0000 (11:05 +0000)]
Reduce exports by inlining alpha functions and helper constraints, removing unused helpers

[Problem]
[Cause]
[Solution]

Change-Id: Ia75038420304e6c0bba4be3bf68dd8f27f032e27

10 years agomoving COMPILE_TIME_ASSERT to common from math (has nothing to do with math) 01/29701/2
Kimmo Hoikka [Fri, 31 Oct 2014 17:39:03 +0000 (17:39 +0000)]
moving COMPILE_TIME_ASSERT to common from math (has nothing to do with math)

[Problem]
[Cause]
[Solution]

Change-Id: I5a1d336beb51e00a973f12f9c24712bafa30a6e1

10 years agoFixed 9 patch display bug 68/29668/1
Nick Holland [Fri, 31 Oct 2014 10:56:00 +0000 (10:56 +0000)]
Fixed 9 patch display bug

Using a pointer to a stack allocated array that has gone out of scope.

Change-Id: I421bf55c3059c42c435ca30718d9ea619a909d85

10 years agoMerge "stop using double variant of pow" into tizen
Kimmo Hoikka [Thu, 30 Oct 2014 17:38:27 +0000 (10:38 -0700)]
Merge "stop using double variant of pow" into tizen

10 years agoFixing the remaining exports from public API 77/29577/6
Kimmo Hoikka [Wed, 29 Oct 2014 17:44:51 +0000 (17:44 +0000)]
Fixing the remaining exports from public API

[Problem]
[Cause]
[Solution]

Change-Id: Id0f8ade613660b4f5a90a768cfb008f72ac0378b

10 years agostop using double variant of pow 17/29617/2
Kimmo Hoikka [Thu, 30 Oct 2014 11:10:44 +0000 (11:10 +0000)]
stop using double variant of pow

[Problem]
[Cause]
[Solution]

Change-Id: I985a19564759c6bb812dd21b02befb86b39fabd8

10 years agoDALi Version 1.0.15 04/29604/1 dali_1.0.15
Adeel Kazmi [Thu, 30 Oct 2014 10:05:11 +0000 (10:05 +0000)]
DALi Version 1.0.15

Change-Id: I08e021172cd250be1eff4ac9e8f33e8e46dcc98f

10 years agoMerge "Removed un-necessary cast in shader code" into tizen
Adeel Kazmi [Wed, 29 Oct 2014 17:43:15 +0000 (10:43 -0700)]
Merge "Removed un-necessary cast in shader code" into tizen

10 years agoRemoved un-necessary cast in shader code 71/29571/2
David Steele [Wed, 29 Oct 2014 15:02:32 +0000 (15:02 +0000)]
Removed un-necessary cast in shader code

Change-Id: I58224838fae47a52eb042e315f3a53e88bda8a38
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoremoval of unnecessary exports; math & object.. 15 exports less 54/29554/2
Kimmo Hoikka [Wed, 29 Oct 2014 13:39:51 +0000 (13:39 +0000)]
removal of unnecessary exports; math & object.. 15 exports less

[Problem]
[Cause]
[Solution]

Change-Id: I755da8602f1026c874da0d582234a773bb06def5

10 years agoremove unnecessary exports from animation and signal. removes 30 exports from toolkit... 10/29510/5
Kimmo Hoikka [Tue, 28 Oct 2014 17:01:33 +0000 (17:01 +0000)]
remove unnecessary exports from animation and signal. removes 30 exports from toolkit and 20 from core

[Problem]
[Cause]
[Solution]

Change-Id: Ic86a3f2cc386f81f259f511d953ef4b7eaa537ee

10 years agoStop passing bitmaps as raw pointers to ensure it is handled safely 03/29403/4
Adeel Kazmi [Mon, 27 Oct 2014 10:59:52 +0000 (10:59 +0000)]
Stop passing bitmaps as raw pointers to ensure it is handled safely

Provided by Minru Huang.

[Problem]  Bitmap can be deleted by the time resource-thread comes to deal with it.
[Cause]    Using a raw pointer.
[Solution] Use intrusive-ptr so the bitmap is not deleted.

Change-Id: Ia8d04a042dc5d692eafb61bf497d2c8e46e23cf5

10 years agoremove obsolete functions from public API 26/29426/3
Kimmo Hoikka [Mon, 27 Oct 2014 17:39:05 +0000 (17:39 +0000)]
remove obsolete functions from public API

[Problem]
[Cause]
[Solution]

Change-Id: I693adda565c19532919d9d4146915add89e41e47

10 years agomoving the environment options to Adaptor (where they are handled) 22/29422/4
Kimmo Hoikka [Mon, 27 Oct 2014 16:08:55 +0000 (16:08 +0000)]
moving the environment options to Adaptor (where they are handled)

[Problem]
[Cause]
[Solution]

Change-Id: I5aedd0a266f4c310eae5a9ce6d60ef4497f15270

10 years ago(TextStyle) Fix incorrect check regarding Font Weight 00/29400/1
Adeel Kazmi [Mon, 27 Oct 2014 09:57:57 +0000 (09:57 +0000)]
(TextStyle) Fix incorrect check regarding Font Weight

[Problem]  Test Case failing in Toolkit.
[Cause]    Copy/paste error in previous change.
[Solution] Fix.

Change-Id: Ie677bb3f805bcc7b1625e7a9a68e52778ca953b5

10 years agoUnnecessary export removal 54/29354/4
Kimmo Hoikka [Fri, 24 Oct 2014 16:44:32 +0000 (17:44 +0100)]
Unnecessary export removal

[Problem] binary is too big
[Cause] too many things exported
[Solution] dont export unnecessary stuff

Change-Id: Iece7cceb0192f6c872718fd58e64d01b80e163c8

10 years agoMerge "move constants to unnamed namespace to prevent compiler&linker from treating...
Adeel Kazmi [Fri, 24 Oct 2014 11:13:35 +0000 (04:13 -0700)]
Merge "move constants to unnamed namespace to prevent compiler&linker from treating them as read only global constants" into tizen

10 years agostop passing shader data as raw pointer to make sure ownership transfer is done safely 73/28973/7
Kimmo Hoikka [Fri, 17 Oct 2014 16:45:35 +0000 (17:45 +0100)]
stop passing shader data as raw pointer to make sure ownership transfer is done safely

[Problem] unsafe code
[Cause] ownership is passed through raw pointer
[Solution] use smart pointers

Change-Id: I9b4c3e42ca6c63149783c2929eb7840b82fc8820

10 years agomove constants to unnamed namespace to prevent compiler&linker from treating them... 76/29276/2
Kimmo Hoikka [Thu, 23 Oct 2014 16:54:59 +0000 (17:54 +0100)]
move constants to unnamed namespace to prevent compiler&linker from treating them as read only global constants

[Problem]
[Cause]
[Solution]

Change-Id: I05a3f5bc5df528fcd9e7a29441dfc7585f3e484b

10 years agoRemove unnecessary exports 31/29031/3
Kimmo Hoikka [Mon, 20 Oct 2014 11:38:59 +0000 (12:38 +0100)]
Remove unnecessary exports

[Problem]
[Cause]
[Solution]

Change-Id: I61a193c5078d89a0ce6b2adca1eae92af09fcfdc

10 years ago(Character) Fix typo 33/29233/1
Adeel Kazmi [Thu, 23 Oct 2014 06:22:20 +0000 (07:22 +0100)]
(Character) Fix typo

Change-Id: I8c3668155ed5d9cae391b50bc41dc3102d86e59d

10 years agoDALi Version 1.0.14 92/29192/1
Lee Morgan [Wed, 22 Oct 2014 10:51:12 +0000 (11:51 +0100)]
DALi Version 1.0.14

Change-Id: Ib715723d336b1d85a65215ecd0e6bbca1505ffce

10 years agoMerge "(ImageActor) Added new nine patch style to render the image border only" into...
Kimmo Hoikka [Tue, 21 Oct 2014 16:20:42 +0000 (09:20 -0700)]
Merge "(ImageActor) Added new nine patch style to render the image border only" into tizen

10 years agoMerge "fix for Actor.Insert()" into tizen
Adeel Kazmi [Tue, 21 Oct 2014 15:36:23 +0000 (08:36 -0700)]
Merge "fix for Actor.Insert()" into tizen

10 years agoMerge "(Properties) Property::Map class added" into tizen
Kimmo Hoikka [Tue, 21 Oct 2014 15:24:28 +0000 (08:24 -0700)]
Merge "(Properties) Property::Map class added" into tizen

10 years agofix for Actor.Insert() 15/29115/2
Lee Morgan [Tue, 21 Oct 2014 12:57:43 +0000 (13:57 +0100)]
fix for Actor.Insert()

[Issue#]  N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: I803c58558dbd97649a649ef4af59fb882f5d293b

10 years ago(Properties) Property::Map class added 72/28972/5
Adeel Kazmi [Fri, 17 Oct 2014 13:14:48 +0000 (14:14 +0100)]
(Properties) Property::Map class added

Before, this was just a Vector and then a map was redefined in Toolkit.

Change-Id: I862676ce8c05ee4e5b0e47ddb5b2186708dee4a6

10 years ago(ImageActor) Added new nine patch style to render the image border only 67/28967/7
Nick Holland [Mon, 20 Oct 2014 10:44:50 +0000 (11:44 +0100)]
(ImageActor) Added new nine patch style to render the image border only

Change-Id: Ibd9f371d3395164a1647b8a0de47a9e3a88e66b1

10 years agostop concatenating mesh shaders at runtime 54/28754/5
Kimmo Hoikka [Wed, 15 Oct 2014 11:08:03 +0000 (12:08 +0100)]
stop concatenating mesh shaders at runtime

[Problem] unnecessary runtime concatenation of compile time strings
[Cause] lazy coding
[Solution] fix it

Change-Id: I4f68e14d98af3cd0b26dc216f644c294431cd397

10 years agoRemove unnecessary exported template code from Dali::Any 12/29012/3
Kimmo Hoikka [Mon, 20 Oct 2014 08:55:45 +0000 (09:55 +0100)]
Remove unnecessary exported template code from Dali::Any

[Problem] unnecessary exports
[Cause] too large scope for DALI_IMPORT_API
[Solution] export only whats needed

Change-Id: Id59418c405a01da561250949c204434363224b07

10 years agoremove unnecessary Dali::Vector exports 68/28968/1
Kimmo Hoikka [Fri, 17 Oct 2014 15:55:04 +0000 (16:55 +0100)]
remove unnecessary Dali::Vector exports

[Problem] templated version methods accidentally exported by default
[Cause] whole namespace exported
[Solution] split to two declarations

Change-Id: Iafa06b0c965054da7c401456d2a755e923cf2bf8

10 years agoRemoval of unnecessary use of std::set, part I 11/28811/1
Kimmo Hoikka [Thu, 16 Oct 2014 09:33:33 +0000 (10:33 +0100)]
Removal of unnecessary use of std::set, part I

[Problem] binary size
[Cause] use of too many container types
[Solution] stop using set

Change-Id: I26e70c77733eb84086ce04112e7d65501aae01bd

10 years agoRevert "Added sub pixel itensity calculation for text rendering." 98/28798/3
Adeel Kazmi [Thu, 16 Oct 2014 08:47:43 +0000 (01:47 -0700)]
Revert "Added sub pixel itensity calculation for text rendering."

This reverts commit aadff4921d036ebc24b90c99d98949a14399e654.

Reversion required due to poor text quality in the demos.

Change-Id: Icd69e4c96057cbc820383e01336358ee8def8133

10 years agoMerge "Optimized shader hash to not allocate memory or perform multiple passes of...
Adeel Kazmi [Wed, 15 Oct 2014 15:00:39 +0000 (08:00 -0700)]
Merge "Optimized shader hash to not allocate memory or perform multiple passes of string data" into tizen

10 years agoMerge "DALi Version 1.0.13" into tizen
Adeel Kazmi [Wed, 15 Oct 2014 13:26:31 +0000 (06:26 -0700)]
Merge "DALi Version 1.0.13" into tizen

10 years agoMerge "Character - Return the script which the character belongs." into tizen
Adeel Kazmi [Wed, 15 Oct 2014 13:19:50 +0000 (06:19 -0700)]
Merge "Character - Return the script which the character belongs." into tizen

10 years agoDALi Version 1.0.13 61/28761/1 dali_1.0.13
Kingsley Stephens [Wed, 15 Oct 2014 12:58:34 +0000 (13:58 +0100)]
DALi Version 1.0.13

Change-Id: I199f7ca5b11cc8839bcafb9af3cd9b2d4f1b5573

10 years agoOptimized shader hash to not allocate memory or perform multiple passes of string... 83/28683/5
Nick Holland [Tue, 14 Oct 2014 07:17:35 +0000 (08:17 +0100)]
Optimized shader hash to not allocate memory or perform multiple passes of string data

Applications like dali-demo end up hashing around 1MB of shader source on startup
due to multiple calls to ShaderFactory::Load ( 340 calls for dali-demo).

The previous code would:
 - Allocate a new string to hold both vertex/ fragment source code
 - Copy vertex / fragment source code in to the new string
 - Pass through the string removing white spaces
 - Pass through the string removing tabs
 - Pass through the string removing new line characters
 - Pass through the string to perform Hash calculation

So if a total of 1MB is passed to the hasher it would end
read/ writing around 5MB of data.

Hence OProfile flagged it up as being a bottleneck for some apps on startup.

New version does no memory allocation and does a single pass of the data.

Todo: Need to look at a better way of comparing shaders

Change-Id: I39c8b351c65c6e91f2c4b32e321f861d634ccca4

10 years ago(Constraints) Ensure first value is baked appropriately if no weight-input is given 12/28712/1
Adeel Kazmi [Tue, 14 Oct 2014 09:19:39 +0000 (10:19 +0100)]
(Constraints) Ensure first value is baked appropriately if no weight-input is given

[problem]      We NEVER bake the first value of a constraint.
[cause]        The weight input value is always dirty on initialisation and in this scenario we always set.
[solution]     Do not consider the dirty flag of the weight-input value when we first apply the
               constraint.

Change-Id: Ic88fd4cb3d30483b0b131fda4fcfa6ccd9d96c70

10 years agoCharacter - Return the script which the character belongs. 29/28629/1
Victor Cebollada [Fri, 10 Oct 2014 13:33:01 +0000 (14:33 +0100)]
Character - Return the script which the character belongs.

Change-Id: Ib9fa04bb6bf62621681f85cb78c6b4b1b547fe94
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years ago(Property) Ensure Matrix & Matrix3 custom types can be set for actors 46/28546/1
Adeel Kazmi [Thu, 9 Oct 2014 14:19:01 +0000 (15:19 +0100)]
(Property) Ensure Matrix & Matrix3 custom types can be set for actors

The problem was that setting a Matrix or Matrix3 type custom property on an actor caused an
exception as the functionality had not been implemented.

Change-Id: I7fff07a90f3276b9017475efa903aff8453612d6

10 years agoDALi Version 1.0.12 96/28496/1 dali_1.0.12
Adeel Kazmi [Wed, 8 Oct 2014 10:06:14 +0000 (11:06 +0100)]
DALi Version 1.0.12

Change-Id: Id0c23900be42367f7da9d5d0a93c293ddcb83d8a

10 years agoAdded hover event in Dali 14/27814/11
Richard Huang [Fri, 19 Sep 2014 10:41:01 +0000 (11:41 +0100)]
Added hover event in Dali

Hover events are a collection of touch points at a specific moment in time.
When a multi-touch event occurs, each touch point represents the points that
are currently being hovered or the points where a hover has stopped.

Hover event processor processes hover events and emits the Hovered signal
on the hit actor (and its parents).

Change-Id: Ife8e7c1561158e8f98061eb5037ad3b6944846dd

10 years agoMerge "(Animation) Ensure animator has been activated before performing the disconnec...
Adeel Kazmi [Fri, 3 Oct 2014 08:52:15 +0000 (01:52 -0700)]
Merge "(Animation) Ensure animator has been activated before performing the disconnect action" into tizen

10 years agoDALi Version 1.0.11 39/28339/1 dali_1.0.11
Nick Holland [Thu, 2 Oct 2014 14:58:03 +0000 (15:58 +0100)]
DALi Version 1.0.11

Change-Id: I156166c1371f43b5dd70ede268db5c4a30af0a3c

10 years ago(Animation) Ensure animator has been activated before performing the disconnect action 22/28322/2
Adeel Kazmi [Thu, 2 Oct 2014 13:02:03 +0000 (14:02 +0100)]
(Animation) Ensure animator has been activated before performing the disconnect action

[problem]  Animations can be created, therefore creating animators, but not played. If the
           property owner was disconnected before the animation was played, the disconnect
           action was still applied.
[solution] Set a state on the animator to state whether it is active or not and only apply
           the disconnect action (if required) if it was active.

Change-Id: Idd615938182a22f0fd91425bc2d2e83aeea18480

10 years ago(Animation) Remove DestroyAction 05/28205/1
Adeel Kazmi [Tue, 30 Sep 2014 09:14:08 +0000 (10:14 +0100)]
(Animation) Remove DestroyAction

Change-Id: If0e19081e340a65204c4b4cc65d3bfbdd6d60b24

10 years ago(Animation) Allow the value to be baked upon property owner disconnection, DestroyEnd... 49/28149/8
Adeel Kazmi [Fri, 26 Sep 2014 16:28:23 +0000 (17:28 +0100)]
(Animation) Allow the value to be baked upon property owner disconnection, DestroyEndAction deprecated

[Problem]  If property owner is removed from the stage and even if Bake is set as the EndAction,
           the value is never baked.
[Cause]    We just disconnect with the current value set.
[Solution] If one of the bake options is selected then we jump to the final value
           Destroy end action deprecated as it is redundant

Change-Id: I9aab5cf6676a6fb1bcda9e9c90c644a3f3a1c57c

10 years ago(PropertyOwner) Distinguish between disconnection & destruction 42/28142/5
Adeel Kazmi [Fri, 26 Sep 2014 14:52:23 +0000 (15:52 +0100)]
(PropertyOwner) Distinguish between disconnection & destruction

There was no way to tell if the property-owner was destroyed or removed from the scene as
different operations may be required for the two scenarios.

Change-Id: If291c2dc7762e1839dbcce346620d8814f94b4d3

10 years agoFixed internal material test cases 50/28150/1
David Steele [Fri, 26 Sep 2014 17:17:21 +0000 (18:17 +0100)]
Fixed internal material test cases

[problem] Test cases rely on shader loading being immediate
[cause] Shader loading has changed to lazy load, context
relies on GlContextCreated() being called.
[solution] Fixup test setup.

Change-Id: I28c5f86873949b821386b941e26228775bb4d5ab
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge "Stop heap allocating messages from UpdateManager for Animation and RenderTask...
Kimmo Hoikka [Thu, 25 Sep 2014 16:59:19 +0000 (09:59 -0700)]
Merge "Stop heap allocating messages from UpdateManager for Animation and RenderTask completions. Remove the dependency between update manager and event side rendertasklist, generalize notification mechanism" into tizen

10 years agoMerge "stop using bool as index for an unnecessary uninitialized array" into tizen
Adeel Kazmi [Thu, 25 Sep 2014 16:53:17 +0000 (09:53 -0700)]
Merge "stop using bool as index for an unnecessary uninitialized array" into tizen

10 years agoDALi Version 1.0.10 70/28070/1 dali_1.0.10
Lee Morgan [Thu, 25 Sep 2014 14:53:15 +0000 (15:53 +0100)]
DALi Version 1.0.10

Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Change-Id: I59e2f25d204e300c608602da75615351c55681c1
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoStop heap allocating messages from UpdateManager for Animation and RenderTask complet... 42/27942/6
Kimmo Hoikka [Mon, 22 Sep 2014 16:26:47 +0000 (17:26 +0100)]
Stop heap allocating messages from UpdateManager for Animation and RenderTask completions.
Remove the dependency between update manager and event side rendertasklist, generalize notification mechanism

[Problem] cyclic dependencies, heap allocations potentially on a frame by frame basis
[Cause] update manager needed to call API in event side to get the message to sent
[Solution] pass the interface pointer to notification manager

Change-Id: If29f3fd9fe5c972cbf19fcb34a3adf800374b33a

10 years agostop using bool as index for an unnecessary uninitialized array 69/28069/2
Kimmo Hoikka [Thu, 25 Sep 2014 14:26:46 +0000 (15:26 +0100)]
stop using bool as index for an unnecessary uninitialized array

[Problem] bad code
[Cause]
[Solution] fix it

Change-Id: I9d44609e1125ede5c5aecff7755452e17994d67b

10 years agoMerge "(Properties) Specify which properties can be registered as animatable" into... accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common accepted/tizen/common/20140925.172112 submit/tizen_common/20140925.141856 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Kimmo Hoikka [Wed, 24 Sep 2014 13:17:22 +0000 (06:17 -0700)]
Merge "(Properties) Specify which properties can be registered as animatable" into tizen

10 years agoMerge "Added api to specify a playing range inside an animation" into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 13:17:04 +0000 (06:17 -0700)]
Merge "Added api to specify a playing range inside an animation" into tizen

10 years agoMerge "Event-side size storage in Actor." into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 11:44:56 +0000 (04:44 -0700)]
Merge "Event-side size storage in Actor." into tizen

10 years ago(Properties) Specify which properties can be registered as animatable 59/27959/2
Adeel Kazmi [Tue, 23 Sep 2014 13:18:04 +0000 (14:18 +0100)]
(Properties) Specify which properties can be registered as animatable

Change-Id: I9224afa9959dd8d7bc710d261077bf3b959ad6fb

10 years agoMerge "Added sub pixel itensity calculation for text rendering." into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 08:34:03 +0000 (01:34 -0700)]
Merge "Added sub pixel itensity calculation for text rendering." into tizen

10 years agoAdded api to specify a playing range inside an animation 28/27728/8
Ferran Sole [Thu, 18 Sep 2014 09:19:02 +0000 (10:19 +0100)]
Added api to specify a playing range inside an animation

The user can now specify a range inside the animation so
when the animation play it will only play inside that range.

E.g

//Set play range between 0.2 and 0.8 progress
animation.SetPlayRange( Vector2( 0.2f, 0.8f ) );

//Animation will begin playing at progress 0.2 and will end at 0.8
animation.Play();

[Problem]  N/A
[Cause]    N/A
[Solution] N/A

Change-Id: I2677b8974fef1c4703c18b2b49f9d6a9f5f06047

10 years agoMerge "remove refobject based objects and dynamic casting from discard queue" into...
Kimmo Hoikka [Wed, 24 Sep 2014 08:20:08 +0000 (01:20 -0700)]
Merge "remove refobject based objects and dynamic casting from discard queue" into tizen

10 years agoAdded sub pixel itensity calculation for text rendering. 10/27910/3
Francisco Santos [Mon, 22 Sep 2014 16:28:37 +0000 (17:28 +0100)]
Added sub pixel itensity calculation for text rendering.

Change-Id: I454efac9e8eaa15b1db5b8b60bbe180d716d1150

10 years agoFixed bug in animation when specifying BakeFinal as destroy action. 81/27881/3
Ferran Sole [Mon, 22 Sep 2014 11:13:32 +0000 (12:13 +0100)]
Fixed bug in animation when specifying BakeFinal as destroy action.

[Problem] BakeFinal was ignored when specified for destroy action, it
          would just bake current value instead of final animation value.

[Solution] Bake final value when animation is destroyed if destroy action is BakeFinal.

Change-Id: I5acac43e0137359c7a26bca6362fb6a50b136248

10 years agoEvent-side size storage in Actor. 56/27956/2
Kingsley Stephens [Mon, 22 Sep 2014 12:25:59 +0000 (13:25 +0100)]
Event-side size storage in Actor.

Change-Id: Ia43f6cd2768882806c34be1f462c47e1e9f499da

10 years agoMerge "(Image) Remove API that allows various load/release policies with a NativeImag...
Adeel Kazmi [Tue, 23 Sep 2014 10:49:46 +0000 (03:49 -0700)]
Merge "(Image) Remove API that allows various load/release policies with a NativeImage" into tizen

10 years ago(Image) Remove API that allows various load/release policies with a NativeImage 39/27939/1
Adeel Kazmi [Tue, 23 Sep 2014 09:39:10 +0000 (10:39 +0100)]
(Image) Remove API that allows various load/release policies with a NativeImage

[Problem]  We have an API that makes the user think that we can alter the loading and releasing of
           native images. This is not the case (and no implementation is provided either).
[Solution] Remove the API.

Change-Id: I3219652937b70465429080a629f9ee77a501882a

10 years agoremove refobject based objects and dynamic casting from discard queue 39/27739/3
Kimmo Hoikka [Thu, 18 Sep 2014 11:49:01 +0000 (12:49 +0100)]
remove refobject based objects and dynamic casting from discard queue

[Problem] ineffient code
[Cause] unnecessary dynamic cast and discard wue usage
[Solution] remove it

Change-Id: I86ade981c07eabaf08f18aff530a80bf35c4a2ff