platform/core/uifw/dali-core.git
9 years ago(Scripting) Using const char * instead of std::string 36/35536/4
Adeel Kazmi [Tue, 17 Feb 2015 09:39:46 +0000 (09:39 +0000)]
(Scripting) Using const char * instead of std::string

Change-Id: I7a145a25028d36506a313ac24ec0728f10a6f2ca

9 years agoMerge "ResourceImage/Image split" into tizen
Adeel Kazmi [Wed, 18 Feb 2015 07:14:59 +0000 (23:14 -0800)]
Merge "ResourceImage/Image split" into tizen

9 years agoUpdate README 81/35381/2
Yoonsang Lee [Thu, 12 Feb 2015 23:59:39 +0000 (08:59 +0900)]
Update README

Modify the path of dali_env script

Change-Id: I01fb42c826ce3867a6faa10b0add02d2d03e352e

9 years agoResourceImage/Image split 49/34149/20
Paul Wisbey [Tue, 20 Jan 2015 11:50:38 +0000 (11:50 +0000)]
ResourceImage/Image split

Move all of the features relevant to images loaded via URL into a derived class:
- Querying whether the image has loaded (GetLoadingState)
- Querying the URL (GetFilename renamed to GetUrl)
- Signal when the loading succeeds or fails (LoadingFinishedSignal)
- The Reload() feature
- The LoadPolicy feature

This also enables the derived type to be distinguished from image types such as
FrameBufferImage, which are not compatible with certain features (e.g. Atlas)

Change-Id: I708d8df6c8ff32067143c022100d6b61b1405ee5

9 years agoPass stage from actor to attachment to avoid unnecessary calls to Stage::GetCurrent() 78/35378/7 submit/tizen/20150217.020310
Kimmo Hoikka [Thu, 12 Feb 2015 19:36:02 +0000 (19:36 +0000)]
Pass stage from actor to attachment to avoid unnecessary calls to Stage::GetCurrent()

Change-Id: I05563d82c46bf85d29b81b9e3135dc108aad8535

9 years agoDont bind effect texture unless its actually used 23/35423/2
Kimmo Hoikka [Fri, 13 Feb 2015 13:47:11 +0000 (13:47 +0000)]
Dont bind effect texture unless its actually used

Change-Id: Ie7338dee44422b3a6929fabc8283018e27682296

9 years agoRemove some dead code 77/35377/2
Kimmo Hoikka [Thu, 12 Feb 2015 19:20:15 +0000 (19:20 +0000)]
Remove some dead code

Change-Id: I1765e55466949dc8640a7ac5061daa9303e24962

9 years agoMerge "Remove obsolete and non functional SizeChanged signal from actor" into tizen
Kimmo Hoikka [Thu, 12 Feb 2015 10:42:34 +0000 (02:42 -0800)]
Merge "Remove obsolete and non functional SizeChanged signal from actor" into tizen

9 years agoMerge "Size Relative feature: Implementation in dali-core plus UTC tests" into tizen
Kimmo Hoikka [Thu, 12 Feb 2015 10:14:55 +0000 (02:14 -0800)]
Merge "Size Relative feature: Implementation in dali-core plus UTC tests" into tizen

9 years agoAdd an empty constructor for PanGesture 94/35294/2
Richard Huang [Wed, 11 Feb 2015 15:44:21 +0000 (15:44 +0000)]
Add an empty constructor for PanGesture

Change-Id: I94afbcd85bf330340af068c7e185158a23a5d0d8

9 years agoRemove obsolete and non functional SizeChanged signal from actor 83/35283/3
Kimmo Hoikka [Wed, 11 Feb 2015 12:38:20 +0000 (12:38 +0000)]
Remove obsolete and non functional SizeChanged signal from actor

Change-Id: I71e9017b484d645ae85040f131bfa627e9601823

9 years agoDALi Version 1.0.29 64/35264/1 dali_1.0.29
Adeel Kazmi [Wed, 11 Feb 2015 10:13:08 +0000 (10:13 +0000)]
DALi Version 1.0.29

Change-Id: I54334a69a25cb91dec308497891953b44d62eed5

9 years agoSize Relative feature: Implementation in dali-core plus UTC tests 43/35143/6
Tom Robinson [Mon, 9 Feb 2015 16:14:41 +0000 (16:14 +0000)]
Size Relative feature: Implementation in dali-core plus UTC tests

Change-Id: I851ca67c4a224f426ffd64713e8fe9c3041941ab

9 years agoARM Assembly atomic inc and dec for RefObject ref & unref 79/35079/5
Andrew Cox [Fri, 6 Feb 2015 16:53:20 +0000 (16:53 +0000)]
ARM Assembly atomic inc and dec for RefObject ref & unref

[problem]
RefObject::Reference() and RefObject::Unreference() showing up high on
profiles and some online discussion of GCC atomic builtins not being
reliable on AArch64.

[cause]
GCC builtins use load exclusive / store exclusive instruction
variant with excessive memory ordering semantics suitable for
building a semaphore or similar on AArch64, and have two dmb
memory barrier ops on 32 bit ARMv7.

[solution]
Inline assembly implementations of atomic inc and dec for
RefObject ref & unref and using lower-cost load exclusive / store
exclusive variants which are sufficient for the task on AArch64.
Inline assembly without dmb memory barriers on ARMv7.
Reduces cost of atomic inc in a synthetic benchmark on a 64 bit
ARM target from 18.8 nanoseconds to 11.8 nanoseconds.

Change-Id: I7842eb8ba604c5a61bb0e826a35100f8548f3d1b
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoRemove unnecessary stage parameter from connnect to stage 22/35122/1
Kimmo Hoikka [Mon, 9 Feb 2015 11:47:23 +0000 (11:47 +0000)]
Remove unnecessary stage parameter from connnect to stage

Change-Id: If1c878669227cf0913e7ad6117610dbc4d5f7c3f

9 years agoMerge "DALi Version 1.0.28" into tizen accepted/tizen/common/20150209.122022 accepted/tizen/mobile/20150210.015345 accepted/tizen/mobile/20150306.082352 accepted/tizen/tv/20150210.013259 accepted/tizen/wearable/20150210.015030 dali_1.0.28 submit/tizen/20150206.152923 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000000 submit/tizen_mobile/20150306.011558
Paul Wisbey [Fri, 6 Feb 2015 13:53:28 +0000 (05:53 -0800)]
Merge "DALi Version 1.0.28" into tizen

9 years agoDALi Version 1.0.28 54/35054/1
Xiangyin Ma [Fri, 6 Feb 2015 11:51:14 +0000 (11:51 +0000)]
DALi Version 1.0.28

Change-Id: I2e919db782e514ccbb107d4eb285817ba55f2143

9 years ago(AutomatedTests) Merged managed & unmanaged tests 07/35007/1
Adeel Kazmi [Thu, 5 Feb 2015 19:37:46 +0000 (19:37 +0000)]
(AutomatedTests) Merged managed & unmanaged tests

Change-Id: Ice791189faca9e938edd6bf5492492e370a5e556

9 years agoImproved pan gesture prediction 70/34470/4 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150205.080851 accepted/tizen/common/20150205.165930 accepted/tizen/common/20150209.121019 accepted/tizen/mobile/20150211.014650 accepted/tizen/tv/20150210.012938 accepted/tizen/wearable/20150210.014755 submit/tizen/20150205.011244 submit/tizen/20150205.132622 submit/tizen/20150205.132635 submit/tizen/20150206.044231
Richard Huang [Tue, 27 Jan 2015 16:31:39 +0000 (16:31 +0000)]
Improved pan gesture prediction

[problem]  A bigger prediction interpolation makes the prediction result less usable.
[cause]    The changing velocity of pan gesture could cause overshoot for the prediction
           (and sometimes in the wrong direction), which makes the scrolling jerky.
[solution] Dynamically adpat the prediction interpolation to the change of pan velocity.
           When overshoot is detected, alter any prediction in the wrong direction and
           decrease the prediction interpolation so that it doesn't overshoot as easily
           in the next frame.

Change-Id: I71afc4d601c865785a1629a2c186d45547e6117c

9 years agoMerge "Remove unsafe boost style conversion from intrusive pointer to raw pointer...
Adeel Kazmi [Tue, 3 Feb 2015 14:13:11 +0000 (06:13 -0800)]
Merge "Remove unsafe boost style conversion from intrusive pointer to raw pointer" into tizen

9 years agoRemove unsafe boost style conversion from intrusive pointer to raw pointer 91/34791/1
Kimmo Hoikka [Mon, 2 Feb 2015 18:17:28 +0000 (18:17 +0000)]
Remove unsafe boost style conversion from intrusive pointer to raw pointer

[Problem] potential lifecycle issue with functor
[Cause] raw pointer taken from intrusive pointer
[Solution] remove automatic conversion functions

Change-Id: I9354e1ae93f3a4266a945840350fb493fa2d197c

9 years agoDocumentation on how to create a Signal 87/34787/2
Adeel Kazmi [Mon, 2 Feb 2015 16:22:50 +0000 (16:22 +0000)]
Documentation on how to create a Signal

Change-Id: I6d38944f27a68fee45c622d2e65303a990447b9f

9 years agoDALi signals refactor to remove V2 naming 00/34700/3
tom.robinson [Fri, 30 Jan 2015 16:22:06 +0000 (16:22 +0000)]
DALi signals refactor to remove V2 naming

Change-Id: Ia8bd3461d2cd12201192bc388727aef5c871fc69

9 years agoDALi Version 1.0.27 95/34595/1 accepted/tizen/common/20150129.162044 accepted/tizen/mobile/20150130.001257 accepted/tizen/tv/20150130.000844 accepted/tizen/wearable/20150131.040519 dali_1.0.27 submit/tizen/20150129.112343
tom.robinson [Thu, 29 Jan 2015 10:59:00 +0000 (10:59 +0000)]
DALi Version 1.0.27

Change-Id: I793cabd31793e814d3535a8d3c6261bb2c8e796d

9 years agoCleaning up the property framework; removal of duplicate methods and incorrect assers 72/32472/16
Kimmo Hoikka [Thu, 18 Dec 2014 10:15:09 +0000 (10:15 +0000)]
Cleaning up the property framework; removal of duplicate methods and incorrect assers

Change-Id: I84eb603bee6fb87d9fed4fe23efa935b132ef981

9 years agoStop updating InverseViewProjection every frame 93/34393/8
Kimmo Hoikka [Mon, 26 Jan 2015 11:51:13 +0000 (11:51 +0000)]
Stop updating InverseViewProjection every frame

Change-Id: Ic36faf58bd5d9b4308f69b6e36bd25b6c6ecf9ac

9 years agoRemoved AssertAlways and added error logging in RenderInstruction::GetRenderList(). 64/34264/2
Andrew Cox [Thu, 22 Jan 2015 10:46:52 +0000 (10:46 +0000)]
Removed AssertAlways and added error logging in RenderInstruction::GetRenderList().

[problem]
Deep internal member function arbitrarily ending process if
array index is out of bounds.
[cause]
Use of AssertAlways macro to check argument.
[solution]
Debug assertion and defensive code for release builds.

Change-Id: I5e235869cb63484c74365d9d97b4c2772d65dcea
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoDALi Version 1.0.26 51/34251/1 accepted/tizen/common/20150123.092456 accepted/tizen/common/20150123.135216 accepted/tizen/mobile/20150126.011912 accepted/tizen/tv/20150126.011344 accepted/tizen/wearable/20150126.011601 dali_1.0.26 submit/tizen/20150122.143209 submit/tizen/20150123.103753
Nick Holland [Thu, 22 Jan 2015 10:48:14 +0000 (10:48 +0000)]
DALi Version 1.0.26

Change-Id: If758dcdab5d6af374b53f4614a6e46f22a3643d6

9 years agoFixed pixel-depth value for BitmapImage::Update(area) 55/34055/1
Paul Wisbey [Tue, 20 Jan 2015 14:29:27 +0000 (14:29 +0000)]
Fixed pixel-depth value for BitmapImage::Update(area)

Change-Id: I8abbeee4b8685c796180d2a2ec6d547e9e74b141

9 years agoRemoved unnecessary for loop 43/34043/1
Paul Wisbey [Tue, 20 Jan 2015 12:46:14 +0000 (12:46 +0000)]
Removed unnecessary for loop

Change-Id: Iba497b5422dafdaa80a4d5e04cae73b2907cc434

9 years agoMinimal Atlas API 81/33981/4
Paul Wisbey [Mon, 19 Jan 2015 10:32:12 +0000 (10:32 +0000)]
Minimal Atlas API

Change-Id: If43e6762a0b402fd522cda80a04e44cb2a8cf09b

9 years agoReturns the Pixel::Format of a BitmapImage's Bitmap 10/34010/1
Richard Underhill [Mon, 19 Jan 2015 17:03:26 +0000 (17:03 +0000)]
Returns the Pixel::Format of a BitmapImage's Bitmap

Change-Id: I8e57d82451e8e77fc8bba4321d440c69cb27537c
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoSingle tap results on text-input controls was very slow 08/31308/4
Richard Underhill [Wed, 3 Dec 2014 16:26:37 +0000 (16:26 +0000)]
Single tap results on text-input controls was very slow

Needs https://review.tizen.org/gerrit/#/c/31306/

Change-Id: I37aa5fbf0f54fce93f6531c1a0428cf58652ad93
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoMerge "Renamed Atlas to avoid name clash with new version" into tizen
Paul Wisbey [Mon, 19 Jan 2015 11:43:32 +0000 (03:43 -0800)]
Merge "Renamed Atlas to avoid name clash with new version" into tizen

9 years agoRenamed Atlas to avoid name clash with new version 85/33985/1
Paul Wisbey [Mon, 19 Jan 2015 11:34:55 +0000 (11:34 +0000)]
Renamed Atlas to avoid name clash with new version

Change-Id: Ieb1f8ecc20f77646bc45722f043ebd7278bd330b

9 years agoMerge "Removal of a 'sec_build_binary_debug_enable' part in spec file - 'sec_build_...
taeyoon [Mon, 19 Jan 2015 11:26:57 +0000 (03:26 -0800)]
Merge "Removal of a 'sec_build_binary_debug_enable' part in spec file   - 'sec_build_binary_debug_enable and -DTIZEN_DEBUG_ENABLE' are not used." into tizen

9 years agoMerge "Fix a regression from an (old) optimization to avoid dirtying the scene too...
Kimmo Hoikka [Fri, 16 Jan 2015 10:50:20 +0000 (02:50 -0800)]
Merge "Fix a regression from an (old) optimization to avoid dirtying the scene too often" into tizen

9 years agoRemoval of a 'sec_build_binary_debug_enable' part in spec file 06/33906/1
taeyoon [Fri, 16 Jan 2015 10:09:38 +0000 (19:09 +0900)]
Removal of a 'sec_build_binary_debug_enable' part in spec file
  - 'sec_build_binary_debug_enable and -DTIZEN_DEBUG_ENABLE' are not used.

Change-Id: I6237414a6f0d6804ed639f09eaf41ededc7f5fd1

9 years agoMerge "removed some dead code" into tizen
Kimmo Hoikka [Thu, 15 Jan 2015 18:41:41 +0000 (10:41 -0800)]
Merge "removed some dead code" into tizen

9 years agoFix a regression from an (old) optimization to avoid dirtying the scene too often 61/33861/1
Kimmo Hoikka [Thu, 15 Jan 2015 18:35:42 +0000 (18:35 +0000)]
Fix a regression from an (old) optimization to avoid dirtying the scene too often

Change-Id: I630b456ac714780e11fb35696269fd73356455ae

9 years agoMerge "DALi Version 1.0.25" into tizen dali_1.0.25
Paul Wisbey [Thu, 15 Jan 2015 13:51:03 +0000 (05:51 -0800)]
Merge "DALi Version 1.0.25" into tizen

9 years agoDALi Version 1.0.25 40/33840/1
Xiangyin Ma [Thu, 15 Jan 2015 13:20:37 +0000 (13:20 +0000)]
DALi Version 1.0.25

Change-Id: I5e8619459c831c733cd0e7d9a27d530b86ed03c7

9 years agoCleanup shader compilation errors. 31/33831/1
Francisco Santos [Thu, 15 Jan 2015 11:46:54 +0000 (11:46 +0000)]
Cleanup shader compilation errors.

Change-Id: I5d2d3cf0b9cf375b743763b31ce46ecd50ba65ff

9 years agoremoved some dead code 83/33783/1
Kimmo Hoikka [Wed, 14 Jan 2015 20:07:40 +0000 (20:07 +0000)]
removed some dead code

Change-Id: I4dcf23e02c3f3b22d4401ff146074368f9a3c486

9 years agoMerge "Ensured that messages are aligned to 8 byte words on 64bit ARM" into tizen
Kimmo Hoikka [Tue, 13 Jan 2015 14:00:05 +0000 (06:00 -0800)]
Merge "Ensured that messages are aligned to 8 byte words on 64bit ARM" into tizen

9 years agoMerge "Removed bogus consts and fixed out-of-line definitions." into tizen
Kimmo Hoikka [Tue, 13 Jan 2015 13:52:32 +0000 (05:52 -0800)]
Merge "Removed bogus consts and fixed out-of-line definitions." into tizen

9 years agoFixed logging message of VertexAttribDivisor. 59/33459/1
Francisco Santos [Sat, 10 Jan 2015 16:56:16 +0000 (16:56 +0000)]
Fixed logging message of VertexAttribDivisor.

Change-Id: Ie49f610558eec95a5b55d01280c9e800a9454d19

9 years agoEnsured that messages are aligned to 8 byte words on 64bit ARM 75/33375/1
David Steele [Thu, 8 Jan 2015 17:58:28 +0000 (17:58 +0000)]
Ensured that messages are aligned to 8 byte words on 64bit ARM

Message buffers were aligning to sizeof(unsigned int), which is
not the size of a word on 64bit arm. Instead, it should use
sizeof(std::ptrdiff_t) to get word aligned memory.

Change-Id: Id84818efcaccdf531792b6f22d9ad65fd67d1106
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Internal animation changes" into tizen
Kimmo Hoikka [Thu, 8 Jan 2015 17:18:27 +0000 (09:18 -0800)]
Merge "Internal animation changes" into tizen

9 years agoInternal animation changes 56/33156/13
Ferran Sole [Tue, 6 Jan 2015 11:09:48 +0000 (11:09 +0000)]
Internal animation changes

 - Changed animation system to avoid creating/destroying SceneGraph::Animators each time the target object is connected/disconnected from the stage
 - Removed use of boost::function for animator functions

[Problem]  AnimatorConnector will create a new SceneGraph::Animator each time the target object gets connected to the stage.
           SceneGraph::Animators will be deleted by the SceneGraph::Animation whenever the target object is disconnected.
[Cause]    n/a
[Solution] AnimatorConnector creates a SceneGraph::Animator once and notifies to it whenever the target object is connected/disconnected.
           SceneGraph::Animation will only remove Animators when the target object has been destroyed.

Change-Id: I0f35e85b8bf150cd954197fe6d213aad2d9f9c89

9 years agoDALi Version 1.0.24 59/33359/1 dali_1.0.24
Lee Morgan [Thu, 8 Jan 2015 14:39:12 +0000 (14:39 +0000)]
DALi Version 1.0.24

Change-Id: I0632c28f991ccd3dad0254ea1bd89fdb562e1099

9 years agoFix hit test API to tell if it succeeds or not, clarify test case 85/33285/1
Kimmo Hoikka [Wed, 7 Jan 2015 18:44:16 +0000 (18:44 +0000)]
Fix hit test API to tell if it succeeds or not, clarify test case

Change-Id: I57e141c099c20461c6b7658bf4a27fd28af3d911

9 years agoremove incorrect unit test, most functionality already covered by public API tests... 83/33283/1
Kimmo Hoikka [Wed, 7 Jan 2015 17:25:34 +0000 (17:25 +0000)]
remove incorrect unit test, most functionality already covered by public API tests anyways

Change-Id: I3f42cecb70e67cd7288524d3f5fd591903e667df

9 years agoRemoved bogus consts and fixed out-of-line definitions. 63/33263/2
Francisco Santos [Wed, 7 Jan 2015 11:43:06 +0000 (11:43 +0000)]
Removed bogus consts and fixed out-of-line definitions.

Change-Id: I7767b19450811bf0f5467fc7e64dc3a3ea592528

9 years agoUnused variables. 93/33193/2
Francisco Santos [Tue, 6 Jan 2015 14:22:26 +0000 (14:22 +0000)]
Unused variables.

Change-Id: I617a32bffd20ce216bf9adcbc98ec3d18ba87147

9 years agoDo not overrite vtable of object. 92/33192/2
Francisco Santos [Tue, 6 Jan 2015 14:16:49 +0000 (14:16 +0000)]
Do not overrite vtable of object.

Change-Id: I92260c9e4412dabd01dc969b8171d05c63048e9a

9 years agoUnused variables. 91/33191/2
Francisco Santos [Tue, 6 Jan 2015 11:43:08 +0000 (11:43 +0000)]
Unused variables.

Change-Id: Ifa243ac802beb9a379942c112665c5a7bef1cc4d

9 years agoMerge "Replaced shift and add sequence with single multiply in hash function" into...
Kimmo Hoikka [Wed, 7 Jan 2015 11:20:04 +0000 (03:20 -0800)]
Merge "Replaced shift and add sequence with single multiply in hash function" into tizen

9 years agoMerge "Fix include guard." into tizen
Kimmo Hoikka [Wed, 7 Jan 2015 11:19:44 +0000 (03:19 -0800)]
Merge "Fix include guard." into tizen

9 years agoReplaced shift and add sequence with single multiply in hash function 80/32780/3
Andrew Cox [Tue, 23 Dec 2014 19:35:16 +0000 (19:35 +0000)]
Replaced shift and add sequence with single multiply in hash function

Archaic optimisation to think a sequence of instructions with
pipeline-stalling dependencies beats a single imul.
Compilers can still make the substitution with a shift and add if they
want to for a particular platform.

Change-Id: I313a5f98eae665f0fabd266fee09c078547be2ec
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoJira TSAM-30 issue (Tizen 3.0 Release). Add comments of Pixel::GetAlphaOffsetAndMask() 70/33070/2
Heeyong Song [Mon, 5 Jan 2015 06:03:14 +0000 (15:03 +0900)]
Jira TSAM-30 issue (Tizen 3.0 Release). Add comments of Pixel::GetAlphaOffsetAndMask()

Change-Id: I2f3b20b60fbe3cda56b1fb85bc5828e8f553c24c

9 years agoFix include guard. 01/33101/1
Francisco Santos [Mon, 5 Jan 2015 18:10:18 +0000 (18:10 +0000)]
Fix include guard.

Change-Id: I4cce02b7eb84106e72fcbb566eb03f0ab9880102

9 years agoMerge "Fixed shader compilation error handling" into tizen
Kimmo Hoikka [Mon, 5 Jan 2015 17:57:20 +0000 (09:57 -0800)]
Merge "Fixed shader compilation error handling" into tizen

9 years agoFixed shader compilation error handling 34/32534/3
David Steele [Thu, 18 Dec 2014 19:10:54 +0000 (19:10 +0000)]
Fixed shader compilation error handling

Dali::Vector cannot use operator[0] after a Reserve (it asserts),
unlike std::vector.

Changed error handling to use Begin() instead, which returns a pointer
to the reserved memory without asserting.

Fixed exception handling, which uses the same string without the length
check.

Change-Id: I2e0131aec6cec209f27ef0ea7f903c718cbc4193
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoRemove a dead virtual method from proxy object 18/32818/3
Kimmo Hoikka [Wed, 24 Dec 2014 11:22:07 +0000 (11:22 +0000)]
Remove a dead virtual method from proxy object

Change-Id: Ib86fec7f731f947b1103682af1fa12f4bd91dfb2

10 years agoUpdated RenderTask test cases 31/32631/4
David Steele [Fri, 19 Dec 2014 21:02:28 +0000 (21:02 +0000)]
Updated RenderTask test cases

Removed 2 test cases for a feature that is neither desirable or practical ( setting
the render task frequency to anything higher than 1 does not actually make the
update/render cycle at that frequency if nothing changes )

API description has been changed to reflect the current behaviour.

Fixed broken test cases, also found 1 actual error:

A resource response of LoadFailed doesn't make the UpdateManager
update the scene, whereas it should to ensure that attachments are correctly
set as completed status = NEVER; and for any dependent frame buffers to
be marked appropriately as well.

The 2 outstanding errors may also be real errors (in UtcDaliRenderTaskOnce03,
the scene graph gets drawn after the GL Sync occurs for no good reason; in
UtcDaliRenderTaskOnce08, no signal is sent ) but require further investigation.

Change-Id: I2ac9fd6dff68d4861ce1df9bbdc4d1dfb284b78d
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoFixed Klocwork reported issue 16/32816/1
Adeel Kazmi [Wed, 24 Dec 2014 11:12:30 +0000 (11:12 +0000)]
Fixed Klocwork reported issue

Change-Id: I279fdf2407b7d9f514c60c4cfc306a26ca019bb9

10 years agoDALi Version 1.0.23 08/32808/1 dali_1.0.23
Adeel Kazmi [Wed, 24 Dec 2014 10:43:40 +0000 (10:43 +0000)]
DALi Version 1.0.23

Change-Id: Ib0c995a7044efb6d7deba16f7952b6812cdf0b3e

10 years agoMerge "Add SceneCreated signal to stage." into tizen accepted/tizen/mobile/20141222.135608 accepted/tizen/tv/20141222.125312 accepted/tizen/wearable/20141222.134750 submit/tizen_mobile/20141222.110239 submit/tizen_tv/20141222.110417 submit/tizen_wearable/20141222.110410
Adeel Kazmi [Fri, 19 Dec 2014 15:05:02 +0000 (07:05 -0800)]
Merge "Add SceneCreated signal to stage." into tizen

10 years agoSaving a bit of memory by using pretty function instead of full file name 03/32203/7 accepted/tizen/common/20141222.090252 submit/tizen_common/20141218.164254
Kimmo Hoikka [Tue, 16 Dec 2014 13:59:00 +0000 (13:59 +0000)]
Saving a bit of memory by using pretty function instead of full file name

Change-Id: I9d8a8dc42333582bd789abe8383e388c946b428d

10 years agoAdd SceneCreated signal to stage. 11/32211/4
Kingsley Stephens [Tue, 16 Dec 2014 16:22:53 +0000 (16:22 +0000)]
Add SceneCreated signal to stage.

Change-Id: I61ae741964c2f2087a7463152f4071d2a0ce1ade

10 years agoDALi Version 1.0.22 64/32464/1 dali_1.0.22
Kingsley Stephens [Thu, 18 Dec 2014 10:09:25 +0000 (10:09 +0000)]
DALi Version 1.0.22

Change-Id: If5d701f3fbd65b90c9d78be4d7db66316d97b97f

10 years agoMerge "Fixed automated tests for ImageFactory" into tizen
Kimmo Hoikka [Wed, 17 Dec 2014 17:05:55 +0000 (09:05 -0800)]
Merge "Fixed automated tests for ImageFactory" into tizen

10 years agoMerge "remove 58k unnecessary asserts from dali-demo startup" into tizen
Kimmo Hoikka [Wed, 17 Dec 2014 17:04:32 +0000 (09:04 -0800)]
Merge "remove 58k unnecessary asserts from dali-demo startup" into tizen

10 years agoFixed automated tests for ImageFactory 97/32397/1
Andrew Cox [Wed, 17 Dec 2014 16:20:44 +0000 (16:20 +0000)]
Fixed automated tests for ImageFactory

[problem] Tests using outdated 50% fudge factor on image factory cache hits.
[cause] Oversight when updating the factory.
[solution] Use a tighter fudge factor and add a test of no-match case.

Change-Id: I81faf120fbced868bd4b287018d9f007c8ac56cf
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoremove 58k unnecessary asserts from dali-demo startup 16/32216/3
Kimmo Hoikka [Tue, 16 Dec 2014 19:33:56 +0000 (19:33 +0000)]
remove 58k unnecessary asserts from dali-demo startup

Change-Id: If9713cdc76dcc60cb2d63104e98b61afb8c0e05e

10 years agoDo not give an error for actors with size zero. 91/32391/2
Francisco Santos [Wed, 17 Dec 2014 14:51:37 +0000 (14:51 +0000)]
Do not give an error for actors with size zero.

Change-Id: I9a822df02ea4b03b318f53417c857bbf0cf2ecef

10 years agoRemove std::map from custom property lookup, removes some 577 map.find calls from... 62/32162/4
Kimmo Hoikka [Tue, 16 Dec 2014 12:10:37 +0000 (12:10 +0000)]
Remove std::map from custom property lookup, removes some 577 map.find calls from dali-demo startup

[Problem] too much processing, too much memory consumption
[Cause] std::map used to store properties
[Solution] change to dali ownercontainer instead

Change-Id: I4653f3e26a83989a10eb22c45852efab27cd703f

10 years agoMerge "Added cubic interpolation for key-frame animations" into tizen
Kimmo Hoikka [Tue, 16 Dec 2014 17:00:52 +0000 (09:00 -0800)]
Merge "Added cubic interpolation for key-frame animations" into tizen

10 years agoImage Scaling and filtering - Core API & Cache 26/31726/7
Andrew Cox [Thu, 4 Dec 2014 18:01:25 +0000 (18:01 +0000)]
Image Scaling and filtering - Core API & Cache

Change-Id: Ibe28044b78a4ba7b44f69bce59eeffd3355137d6
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoAdded ScopedPointer to build system 96/31996/1
Andrew Cox [Fri, 12 Dec 2014 17:32:19 +0000 (17:32 +0000)]
Added ScopedPointer to build system

Change-Id: I12af3053c98c5353160fdcfd091691f7ede56675
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoAdded a ScopedPointer to public API 94/31994/5
Andrew Cox [Fri, 12 Dec 2014 17:32:19 +0000 (17:32 +0000)]
Added a ScopedPointer to public API

A simple template class to call delete on an owned pointer when it goes
out of scope, whether that be by ordinary return or stack unwind for
exception throw.

Change-Id: Id4a9f09d1f0b69f85131f771d48d87bcc137350b
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoFixed some README comments 58/31958/3
Paul Wisbey [Fri, 12 Dec 2014 14:47:35 +0000 (14:47 +0000)]
Fixed some README comments

dali_env is in build/scripts, not build.
To get a summary.xml for the automated tests use this command: ./execute.sh -s

Change-Id: I8ec329c7341e6a88157f053ee6912ae013a4d051

10 years agoAdded cubic interpolation for key-frame animations 24/31224/7
Ferran Sole [Tue, 2 Dec 2014 16:46:20 +0000 (16:46 +0000)]
Added cubic interpolation for key-frame animations

[Problem]  Key-frame animations only supports linear interpolation between key values
[Cause]    n/a
[Solution] Allow the user to specify which interpolation method to use [Linear,Cubic]

Added unit tests for cubic interpolation
Change-Id: I152fbd2211d4b7fa52fd44f315c05869cccdd684

10 years ago[dali_1.0.21] Merge branch 'tizen' 78/31878/1
Nick Holland [Thu, 11 Dec 2014 15:02:42 +0000 (15:02 +0000)]
[dali_1.0.21] Merge branch 'tizen'

Change-Id: I57126741b8a9e031a7e9b038e0967b96c9a3189f

10 years agoDALi Version 1.0.21 74/31874/1 dali_1.0.21
Nick Holland [Thu, 11 Dec 2014 15:02:23 +0000 (15:02 +0000)]
DALi Version 1.0.21

Change-Id: I4029b8358febcdcdb1cc36c546b05b9d492b8149

10 years agoKlockwork: Fix CheckGlError assert condition 71/31771/1 accepted/tizen/common/20141211.150202 accepted/tizen/mobile/20141216.080613 accepted/tizen/tv/20141215.043910 accepted/tizen/wearable/20141215.104625 submit/tizen/20141211.140945
Kingsley Stephens [Tue, 9 Dec 2014 15:05:07 +0000 (15:05 +0000)]
Klockwork: Fix CheckGlError assert condition

Change-Id: I9f7d57869091431676deeae095f54d13b9f4d434

10 years agoMerge "Updated test harness behaviour" into tizen
Adeel Kazmi [Fri, 5 Dec 2014 16:19:11 +0000 (08:19 -0800)]
Merge "Updated test harness behaviour" into tizen

10 years agoUpdated test harness behaviour 22/31222/7
David Steele [Tue, 2 Dec 2014 15:53:43 +0000 (15:53 +0000)]
Updated test harness behaviour

Running the execute.sh script

o   Running "./execute.sh" with no arguments runs each of the test modules with
    parallel test case execution.

o   Running with "-r" option re-runs failing test cases

o   Running with the name of a test module runs only that test module, with
    remaining arguments passed on. (i.e, can use -r and test case name)

o   Running with a test case name will run each module with that test case name,
    and display it's output, or a message if it wasn't found in any test module.

o   Running with "-s" option runs the testkit-lite harness (executes all tests serially,
    writes to XML output). This has the old behaviours:

    o   Can run each test module individually by specifying it's name first.
    o   Can run all tests in a test file by specifying the source filename

Executing a test module directly now has the following behaviour:

o   With no arguments, runs all the test cases in parallel.

o   With "-r" option, it will run all the test cases in parallel, then rerun
    the failing test cases serially (with readable output)

o   Running with a test case name will execute only that test case and displays
    it's output on the command line

Colorised the output

Change-Id: Ibec29f043b7e4a31d67d0908aa52549953cd97ed
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge "DALi Version 1.0.20" into tizen
Adeel Kazmi [Wed, 3 Dec 2014 17:06:05 +0000 (09:06 -0800)]
Merge "DALi Version 1.0.20" into tizen

10 years agoMerge "Change keep running reasons to enum from exported symbols to avoid external...
Adeel Kazmi [Wed, 3 Dec 2014 13:53:34 +0000 (05:53 -0800)]
Merge "Change keep running reasons to enum from exported symbols to avoid external symbol lookup" into tizen

10 years ago[dali_1.0.20] Merge branch 'tizen' 85/31285/1
Lee Morgan [Wed, 3 Dec 2014 12:31:04 +0000 (12:31 +0000)]
[dali_1.0.20] Merge branch 'tizen'

Change-Id: I9f1aa3c8d2a030ac953ce7124d00bcf9083ed99d

10 years agoDALi Version 1.0.20 78/31278/1 dali_1.0.20
Lee Morgan [Wed, 3 Dec 2014 12:21:40 +0000 (12:21 +0000)]
DALi Version 1.0.20

Change-Id: I3dce23d153c2cc3325c5db4c94418a4c433a8bb7

10 years agoChange keep running reasons to enum from exported symbols to avoid external symbol... 28/31228/2
Kimmo Hoikka [Tue, 2 Dec 2014 17:57:26 +0000 (17:57 +0000)]
Change keep running reasons to enum from exported symbols to avoid external symbol lookup

Change-Id: I6cd0375a6e6b117311fc0df2ba8a00afd0559870

10 years agoCleanup property system, remove 12 redundant std::maps and 114 std::strings being... 30/31130/5
Kimmo Hoikka [Mon, 1 Dec 2014 16:52:46 +0000 (16:52 +0000)]
Cleanup property system, remove 12 redundant std::maps and 114 std::strings being created in startup

Change-Id: Id7105d126eacaadc9c9efdb5c75a660697203177

10 years agoMerge "Refactor ImageFactory file path to hash lookup" into tizen
Kimmo Hoikka [Tue, 2 Dec 2014 16:47:59 +0000 (08:47 -0800)]
Merge "Refactor ImageFactory file path to hash lookup" into tizen

10 years agoRefactor ImageFactory file path to hash lookup 41/31141/7
Andrew Cox [Mon, 1 Dec 2014 21:57:21 +0000 (21:57 +0000)]
Refactor ImageFactory file path to hash lookup

Also beefs-up some documentation around resource loading.

Change-Id: Ifd6b240a700ee0b57d29c8a6f95a1186cff84d7e
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoSafeguard when Actor size is too big. 40/31040/7
Francisco Santos [Fri, 28 Nov 2014 18:47:25 +0000 (18:47 +0000)]
Safeguard when Actor size is too big.

Change-Id: I21355ac8041a137ad5c6bb0feb89965a280c0326

10 years agoMerge "Updated test harness to allow parallel execution" into tizen
Adeel Kazmi [Tue, 2 Dec 2014 10:16:14 +0000 (02:16 -0800)]
Merge "Updated test harness to allow parallel execution" into tizen

10 years agoFix the broken camera test case 34/31134/2
Kimmo Hoikka [Mon, 1 Dec 2014 18:02:21 +0000 (18:02 +0000)]
Fix the broken camera test case

Change-Id: Id5ee56ba072d408eaa93095a6d910821bc98147f