platform/core/uifw/dali-core.git
9 years agoRename BitmapImage as BufferImage 09/35709/7
Xiangyin Ma [Mon, 23 Feb 2015 16:00:47 +0000 (16:00 +0000)]
Rename BitmapImage as BufferImage

Change-Id: I5ea9d81cb7581103b723eae31ad64b660179688c

9 years agoMerge "Merge Handle & Constrainable" into tizen
Kimmo Hoikka [Wed, 25 Feb 2015 10:54:31 +0000 (02:54 -0800)]
Merge "Merge Handle & Constrainable" into tizen

9 years agoMerge "Distinguish NativeImage from Image & Clean PixelFormat from ImageAttribute...
Kimmo Hoikka [Tue, 24 Feb 2015 17:46:38 +0000 (09:46 -0800)]
Merge "Distinguish NativeImage from Image & Clean PixelFormat from ImageAttribute and Texture" into tizen

9 years agoFix the comment wording in ref-object 02/35802/1
Kimmo Hoikka [Tue, 24 Feb 2015 16:58:25 +0000 (16:58 +0000)]
Fix the comment wording in ref-object

Change-Id: I4400de8c8e025266c575123ab514d633b8a9e260

9 years agoDistinguish NativeImage from Image & Clean PixelFormat from ImageAttribute and Texture 93/35593/11
Xiangyin Ma [Wed, 18 Feb 2015 17:11:18 +0000 (17:11 +0000)]
Distinguish NativeImage from Image & Clean PixelFormat from ImageAttribute and Texture

Change-Id: Ia89c86829cc22497b6d709a3f84b580ef4e04397

9 years agoMerge Handle & Constrainable 87/35787/3
Adeel Kazmi [Tue, 24 Feb 2015 13:17:10 +0000 (13:17 +0000)]
Merge Handle & Constrainable

Change-Id: If27ef930044532021863a224199f4d37b92693e7

9 years agoMerge "Use <cstddef> for NULL" into tizen
Adeel Kazmi [Mon, 23 Feb 2015 16:06:05 +0000 (08:06 -0800)]
Merge "Use <cstddef> for NULL" into tizen

9 years agoMerge "Addition of build flag "-Wl,-Bsymbolic-functions" for launching performance...
Adeel Kazmi [Mon, 23 Feb 2015 16:00:56 +0000 (08:00 -0800)]
Merge "Addition of build flag "-Wl,-Bsymbolic-functions" for launching performance" into tizen

9 years agoAdded libcurl dependency for Ubuntu builds 08/35708/1
Andrew Cox [Mon, 23 Feb 2015 15:34:08 +0000 (15:34 +0000)]
Added libcurl dependency for Ubuntu builds

Change-Id: I12fe59f044ff34dc8b5d03c2cb1e5992824fc62c
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoUse <cstddef> for NULL 07/35707/2
Paul Wisbey [Mon, 23 Feb 2015 14:33:31 +0000 (14:33 +0000)]
Use <cstddef> for NULL

Change-Id: I88562c4de8484da168443731bc06f8bc5db1577f

9 years agoMerge "Follow the include-order coding conventions" into tizen
Kimmo Hoikka [Mon, 23 Feb 2015 12:51:19 +0000 (04:51 -0800)]
Merge "Follow the include-order coding conventions" into tizen

9 years agoMerge "Combine Internal::ProxyObject & Internal::Object" into tizen
Kimmo Hoikka [Mon, 23 Feb 2015 11:48:48 +0000 (03:48 -0800)]
Merge "Combine Internal::ProxyObject & Internal::Object" into tizen

9 years agoFollow the include-order coding conventions 91/35691/1
Paul Wisbey [Mon, 23 Feb 2015 11:41:37 +0000 (11:41 +0000)]
Follow the include-order coding conventions

Change-Id: Ieb8304e62161f2358de3647eea92fca4b5d36176

9 years agoCombine Internal::ProxyObject & Internal::Object 32/35632/4
Adeel Kazmi [Fri, 20 Feb 2015 10:33:17 +0000 (10:33 +0000)]
Combine Internal::ProxyObject & Internal::Object

Change-Id: I93fa08e730c40c13fc73db4f21bf958202346048

9 years agoAddition of build flag "-Wl,-Bsymbolic-functions" for launching performance 80/35680/1
taeyoon [Mon, 23 Feb 2015 08:58:27 +0000 (17:58 +0900)]
Addition of build flag "-Wl,-Bsymbolic-functions" for launching performance

Change-Id: I95b0ba74c12e47df9a51fba745a2a789791eef03

9 years agoRemoved unnecessary includes such as <iostream> and <algorithm> 96/35596/8
Andrew Cox [Wed, 18 Feb 2015 21:45:39 +0000 (21:45 +0000)]
Removed unnecessary includes such as <iostream> and <algorithm>

Patch reduced clean build time using `make -j 11` on desktop by 5% to
10% after a `make clean`. More improvements possible.

Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Change-Id: I34d674edc02d2f477acb774ae1d913431269031c

9 years agoReplace boost::mutex with a Dali::Mutex to remove dependency to boost thread library 17/35617/9
Kimmo Hoikka [Thu, 19 Feb 2015 11:57:48 +0000 (11:57 +0000)]
Replace boost::mutex with a Dali::Mutex to remove dependency to boost thread library

Change-Id: I040e1f76638662476c7280d351417ffc6e0d5043

9 years agoMerge "Fixed SizeMode not updating size on renderable in some cases" into tizen
Adeel Kazmi [Thu, 19 Feb 2015 15:54:05 +0000 (07:54 -0800)]
Merge "Fixed SizeMode not updating size on renderable in some cases" into tizen

9 years agoFixed SizeMode not updating size on renderable in some cases 95/35595/2
Tom Robinson [Wed, 18 Feb 2015 17:43:06 +0000 (17:43 +0000)]
Fixed SizeMode not updating size on renderable in some cases

Change-Id: I44d18bd0b5ec417616e3c4016d2ddf65744123d2

9 years agoMerge "Remove use of boost thread local storage from debug" into tizen
Adeel Kazmi [Wed, 18 Feb 2015 17:41:39 +0000 (09:41 -0800)]
Merge "Remove use of boost thread local storage from debug" into tizen

9 years agoMerge "remove (unnecessarily) exported signal and action names" into tizen
Adeel Kazmi [Wed, 18 Feb 2015 17:39:36 +0000 (09:39 -0800)]
Merge "remove (unnecessarily) exported signal and action names" into tizen

9 years agoRemove use of boost thread local storage from debug 88/35588/1
Adeel Kazmi [Wed, 18 Feb 2015 15:37:45 +0000 (15:37 +0000)]
Remove use of boost thread local storage from debug

Change-Id: I68cde616b373717346d79de130af1f2f1c2ba762

9 years agoMerge "DALi Version 1.0.30" into tizen
Adeel Kazmi [Wed, 18 Feb 2015 15:17:33 +0000 (07:17 -0800)]
Merge "DALi Version 1.0.30" into tizen

9 years agoMerge "Reduce the amount of calls to Stage::GetCurrent() in actor creation and remove...
Adeel Kazmi [Wed, 18 Feb 2015 15:12:39 +0000 (07:12 -0800)]
Merge "Reduce the amount of calls to Stage::GetCurrent() in actor creation and remove dependency to boost tss from thread local storage" into tizen

9 years agoDALi Version 1.0.30 76/35576/1 dali_1.0.30
Ferran Sole [Wed, 18 Feb 2015 14:33:43 +0000 (14:33 +0000)]
DALi Version 1.0.30

Change-Id: Ib40d381e715224faf973ddc96bd3223d7d46a728

9 years agoReduce the amount of calls to Stage::GetCurrent() in actor creation and remove depend... 71/35571/2
Kimmo Hoikka [Wed, 18 Feb 2015 11:43:50 +0000 (11:43 +0000)]
Reduce the amount of calls to Stage::GetCurrent() in actor creation and remove dependency to boost tss from thread local storage

Removes 143 calls to Stage::GetCurrent from dali-demo startup

Change-Id: If410caf76900d165bafb4abb996fd655cfce0acf

9 years agodoc fix - one-liner 68/35568/1
Andrew Cox [Wed, 18 Feb 2015 10:45:10 +0000 (10:45 +0000)]
doc fix - one-liner

Change-Id: Ieda55fa1b5303c938206064bf40c19043c0f3f65
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoremove (unnecessarily) exported signal and action names 96/35496/5
Kimmo Hoikka [Thu, 12 Feb 2015 10:43:36 +0000 (10:43 +0000)]
remove (unnecessarily) exported signal and action names

Change-Id: Id6e2808bb600403faf71273ec7f6c259cc6269eb

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

9 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>
9 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

9 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

9 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

9 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

9 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

9 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