platform/core/uifw/dali-core.git
9 years agoRevert "Move new mesh API to devel-api" 94/42194/1
Kimmo Hoikka [Wed, 24 Jun 2015 10:05:33 +0000 (03:05 -0700)]
Revert "Move new mesh API to devel-api"

This reverts commit 174599e5921a33ac4b457369d9d96cc204741970.

Change-Id: I443072220d03adf27f109b67b06749c999f2f36b

9 years agoMove new mesh API to devel-api 31/42131/2
Francisco Santos [Tue, 23 Jun 2015 13:10:19 +0000 (14:10 +0100)]
Move new mesh API to devel-api

Change-Id: I539c58fcae42b8dccb1569c38ffb0f80de4c52f6

9 years agoUpdate profiling of objects with new mesh objects. 55/41855/8
Francisco Santos [Thu, 18 Jun 2015 16:12:23 +0000 (17:12 +0100)]
Update profiling of objects with new mesh objects.

Change-Id: I6e1141c1ddbdc1a0420f714d2a36a451835f9e64

9 years agoAdd behaviour for 2D / 3D layers. 37/40437/13
Francisco Santos [Tue, 2 Jun 2015 16:06:10 +0000 (17:06 +0100)]
Add behaviour for 2D / 3D layers.

Change-Id: I74c5a2b806cb154ba6483f4010b3520ef0ef10c6

9 years agoChange depth-index to non-animatable property. 07/41607/5
Francisco Santos [Tue, 16 Jun 2015 15:02:48 +0000 (16:02 +0100)]
Change depth-index to non-animatable property.

Change-Id: I5f27e5912de519cbd672cd1ced32cb81ae152411

9 years agoRemoved Overlay override from hit-test-algorithm 45/41345/16
Richard Underhill [Thu, 18 Jun 2015 12:22:22 +0000 (13:22 +0100)]
Removed Overlay override from hit-test-algorithm

Change-Id: I3466823d209986261d0ffc2327313334c71a3091
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoUTC coverage for new mesh 34/39934/11
Xiangyin Ma [Tue, 26 May 2015 14:59:53 +0000 (15:59 +0100)]
UTC coverage for new mesh

Change-Id: Id31a7d7a4df92d97a077103a177ae20f81b53932

9 years agoRemove uniform mappings. 48/40848/6
Francisco Santos [Tue, 9 Jun 2015 10:17:33 +0000 (11:17 +0100)]
Remove uniform mappings.

Change-Id: I4b735591476675ba390d36d36a283cc13c17f917

9 years agoRemoved GeometryType from ShaderEffect and ShaderSubType 25/40425/5
Andrew Cox [Wed, 3 Jun 2015 12:35:32 +0000 (13:35 +0100)]
Removed GeometryType from ShaderEffect and ShaderSubType

Needs this in toolkit:
https://review.tizen.org/gerrit/#/c/40841/

Change-Id: I24417fce49eedf63e6eceebd31acc887fe23b980
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoMerge "Added getter for the shader in Material" into devel/new_mesh
Kimmo Hoikka [Tue, 9 Jun 2015 13:23:17 +0000 (06:23 -0700)]
Merge "Added getter for the shader in Material" into devel/new_mesh

9 years agoAdded parameter in OnStageConnection method indicating the depth of the actor 31/40431/10
Ferran Sole [Wed, 3 Jun 2015 13:46:05 +0000 (14:46 +0100)]
Added parameter in OnStageConnection method indicating the depth of the actor
in the hierarchy.

Change-Id: I68965e1df12840953e416221f1c539d0fa4004c1

9 years agoAdded getter for the shader in Material 54/40754/3
Ferran Sole [Mon, 8 Jun 2015 16:54:23 +0000 (17:54 +0100)]
Added getter for the shader in Material

Change-Id: I87cc41ad9a0a14cbfcaa18dd59c63626e855387c

9 years agoView frustum culling in update. 42/39342/19
Richard Underhill [Fri, 29 May 2015 12:39:00 +0000 (13:39 +0100)]
View frustum culling in update.

Change-Id: I6f2d1ccfddb703640d88619be75fd91562f8b6cd
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoMerge "Remove extension from shader." into devel/new_mesh
Adeel Kazmi [Tue, 9 Jun 2015 09:51:37 +0000 (02:51 -0700)]
Merge "Remove extension from shader." into devel/new_mesh

9 years agoMerge remote-tracking branch 'origin/tizen' into devel/new_mesh 32/40732/2
Francisco Santos [Thu, 4 Jun 2015 16:12:13 +0000 (17:12 +0100)]
Merge remote-tracking branch 'origin/tizen' into devel/new_mesh

Conflicts:
automated-tests/src/dali-internal/utc-Dali-AnimatableMesh.cpp
automated-tests/src/dali-internal/utc-Dali-DynamicsShape.cpp
automated-tests/src/dali-internal/utc-Dali-MeshActor.cpp
automated-tests/src/dali-internal/utc-Dali-MeshData.cpp
automated-tests/src/dali/CMakeLists.txt.in
dali/internal/event/actors/layer-impl.h
dali/internal/event/common/type-info-impl.cpp
dali/internal/event/dynamics/dynamics-mesh-shape-impl.cpp
dali/internal/event/modeling/animatable-mesh-impl.cpp
dali/internal/file.list
dali/public-api/actors/layer.cpp
dali/public-api/actors/layer.h

Change-Id: Id8a451346a2b5c92276cd38bb63fde1e01036455

9 years agoDALi Version 1.0.43 88/40488/1 dali_1.0.43
Richard Huang [Thu, 4 Jun 2015 10:05:53 +0000 (11:05 +0100)]
DALi Version 1.0.43

Change-Id: I1cc45e6fceec7dd4f21860371b248c9711783622

9 years agoUTC public API updates: camera-actor.h 92/38492/8
Tom Robinson [Tue, 21 Apr 2015 09:55:06 +0000 (10:55 +0100)]
UTC public API updates: camera-actor.h

Change-Id: I21642b2a0861fd2ab45a51ff8cf1c307456fa2f4

9 years agoMerge "Change default resize policy to USE_NATURAL_SIZE and fix UTC tests" into tizen
Kimmo Hoikka [Wed, 3 Jun 2015 16:12:42 +0000 (09:12 -0700)]
Merge "Change default resize policy to USE_NATURAL_SIZE and fix UTC tests" into tizen

9 years agoMerge "Consider loading to be complete when no resource ID is set" into tizen
Kimmo Hoikka [Wed, 3 Jun 2015 16:11:59 +0000 (09:11 -0700)]
Merge "Consider loading to be complete when no resource ID is set" into tizen

9 years agoRemove extension from shader. 28/40428/3
Francisco Santos [Wed, 3 Jun 2015 13:05:15 +0000 (14:05 +0100)]
Remove extension from shader.

Change-Id: I5ec96696f5fe0ac0b568f607f7eaf98344f20712

9 years agoMerge changes I7fd36a6d,I2c2e4fe7 into devel/new_mesh
Adeel Kazmi [Wed, 3 Jun 2015 15:09:14 +0000 (08:09 -0700)]
Merge changes I7fd36a6d,I2c2e4fe7 into devel/new_mesh

* changes:
  Remove animatable property-buffer API.
  Fix default value of blend color.

9 years ago(AutomatedTests) Exclude installed headers from coverage 08/40408/2
Adeel Kazmi [Wed, 3 Jun 2015 10:45:34 +0000 (11:45 +0100)]
(AutomatedTests) Exclude installed headers from coverage

Change-Id: Ie227dcbaa756bfc61b4fa197ebe74ce18506955a

9 years agoChange default resize policy to USE_NATURAL_SIZE and fix UTC tests 29/40429/3
Tom Robinson [Wed, 3 Jun 2015 13:26:56 +0000 (14:26 +0100)]
Change default resize policy to USE_NATURAL_SIZE and fix UTC tests

Change-Id: I4d223222b6928f8a1801a036b24d9eade18f5e7a

9 years agoRemove animatable property-buffer API. 67/40167/4
Francisco Santos [Fri, 29 May 2015 16:16:03 +0000 (17:16 +0100)]
Remove animatable property-buffer API.

Change-Id: I7fd36a6d530b1272f66025fd834239dcde6c71ed

9 years agoFix default value of blend color. 88/40088/3
Francisco Santos [Thu, 28 May 2015 16:25:32 +0000 (17:25 +0100)]
Fix default value of blend color.

Also added caching in context.

Change-Id: I2c2e4fe7ab0ffede7006047128f989dcdf994349

9 years agoConsider loading to be complete when no resource ID is set 18/40418/5
Paul Wisbey [Wed, 3 Jun 2015 12:05:27 +0000 (13:05 +0100)]
Consider loading to be complete when no resource ID is set

Change-Id: I4d68cde636b6dae4460dd537c3989f428587b87e

9 years agoRemove multiple programs from SceneGraph::Shader 13/40413/4
Andrew Cox [Mon, 1 Jun 2015 16:23:58 +0000 (17:23 +0100)]
Remove multiple programs from SceneGraph::Shader

Change-Id: Ib523cb7ce27be9689a3c54372c562f2ad9ee7606
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoUTC public API updates: stage.h 61/38361/16
Tom Robinson [Fri, 17 Apr 2015 13:32:11 +0000 (14:32 +0100)]
UTC public API updates: stage.h

Includes build fix for utc dynamics tests.

Includes moving Dynamics API from stage.h to dynamics-world.h in the form of static creator, destroyer and getter.

Change-Id: I5c44e47ff6572144067c960ee8c88896a7b3e193

9 years agoUTC missing tests for TypeInfo & NativeImageInterface 42/40242/2
Lee Morgan [Mon, 1 Jun 2015 10:24:16 +0000 (11:24 +0100)]
UTC missing tests for TypeInfo & NativeImageInterface

Change-Id: I9aa4b337c6e1f03460668c678731d5398c105299

9 years agoAdded getters in Renderer to get material and geometry, and in Material to get samplers 96/39796/3
Ferran Sole [Fri, 22 May 2015 11:26:53 +0000 (12:26 +0100)]
Added getters in Renderer to get material and geometry, and in Material to get samplers

Change-Id: Ib290d16ff63fe35cb1d7925e153c4ee6bfc6bee1

9 years agoAdd UTC for Stage::WheelEventSignal() 90/40190/1
Heeyong Song [Mon, 1 Jun 2015 02:58:22 +0000 (11:58 +0900)]
Add UTC for Stage::WheelEventSignal()

Change-Id: I1678e98453e07c6c15415faf6cc54a67e778afad

9 years agoMerge "Remove std::vector from public api" into tizen
Kimmo Hoikka [Fri, 29 May 2015 17:38:39 +0000 (10:38 -0700)]
Merge "Remove std::vector from public api" into tizen

9 years agoRemove std::vector from public api 54/40154/8
Lee Morgan [Fri, 29 May 2015 13:17:33 +0000 (14:17 +0100)]
Remove std::vector from public api

Change-Id: Id5905d7fe7ec8b871e251245a4d86449d9b62ab9

9 years agoMerge "Move native-image-interface.h and image-operations.h to public-api" into tizen
Kimmo Hoikka [Fri, 29 May 2015 15:44:43 +0000 (08:44 -0700)]
Merge "Move native-image-interface.h and image-operations.h to public-api" into tizen

9 years agoMerge "Remove String::EMPTY" into tizen
Kimmo Hoikka [Fri, 29 May 2015 15:44:06 +0000 (08:44 -0700)]
Merge "Remove String::EMPTY" into tizen

9 years agoMerge "Change WheelEvent" into tizen
Adeel Kazmi [Fri, 29 May 2015 14:34:33 +0000 (07:34 -0700)]
Merge "Change WheelEvent" into tizen

9 years agoRemove String::EMPTY 56/40156/1
Adeel Kazmi [Fri, 29 May 2015 13:39:53 +0000 (14:39 +0100)]
Remove String::EMPTY

Change-Id: I76d3f352b4c3d7c8c801b9edd70f4b970d3ba0aa

9 years agoMove native-image-interface.h and image-operations.h to public-api 34/40134/3
Nick Holland [Fri, 29 May 2015 10:28:57 +0000 (11:28 +0100)]
Move native-image-interface.h and image-operations.h to public-api

Homescreen app is using native-image.
image-operations should not have been moved to devel-api as it's
included by resource-image.h

Change-Id: Ibf4227bd636c034c039c25c0934821415e657d07

9 years agoChange WheelEvent 16/40116/2
Heeyong Song [Fri, 29 May 2015 08:34:47 +0000 (17:34 +0900)]
Change WheelEvent

  - Replace MouseWheelEvent with WheelEvent
  - Add custom wheel event type

Change-Id: I6740fa5a1fe41475de488c117ff442dba39abdcb

9 years agoFix for RelayoutController. 28/40128/2
Victor Cebollada [Thu, 28 May 2015 14:46:10 +0000 (15:46 +0100)]
Fix for RelayoutController.

Request to process events on idle if core is not processing events.

Change-Id: Ib7d3fed2fb68add0602694c6d5aa59b4fd3346d6
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoDALi Version 1.0.42 06/40106/1 accepted/tizen/common/20150529.134047 dali_1.0.42 submit/tizen/20150529.082236
Adeel Kazmi [Fri, 29 May 2015 08:01:03 +0000 (09:01 +0100)]
DALi Version 1.0.42

Change-Id: I4a3911777dbdef533911c51b8521d09ec044d10f

9 years ago(AutomatedTests) Pushed line & function coverage of public API up 91/40091/1
Adeel Kazmi [Thu, 28 May 2015 18:32:35 +0000 (19:32 +0100)]
(AutomatedTests) Pushed line & function coverage of public API up

Change-Id: I01b33cf0d616e8c622745b1f9b2d165ee93df957

9 years ago(AutomatedTests) Move devel-api dependent tests to internal tests 81/40081/1
Adeel Kazmi [Thu, 28 May 2015 14:50:35 +0000 (15:50 +0100)]
(AutomatedTests) Move devel-api dependent tests to internal tests

TODO:
 - Stage: Move Dynamics API to Dynamics World
 - RenderTask: Uses HitTestAlgorithm, need to modify that test
 - TestNativeImage: Uses devel-api and is included by several image tests

Change-Id: I6f96b4d876c2418d3df99187786347ddd79defcd

9 years agoMore UTC test cases 68/40068/1
Nick Holland [Thu, 28 May 2015 11:53:10 +0000 (12:53 +0100)]
More UTC test cases

100% line coverage for

base-signal.cpp
base-signal.h
callback.cpp
callback.h
connection-tracker-interface.cpp
connection-tracker.cpp
dali-signal.h
functor-delegate.cpp
functor-delegate.h
signal-slot-connections.cpp
signal-slot-observers.cpp
slot-delegate.h

Change-Id: Ied3049844e9723a6fd06710e3ce508e1093c356f

9 years agoRemove PropagateRelayoutFlags() from Actor 16/40016/2
Xiangyin Ma [Wed, 27 May 2015 15:26:30 +0000 (16:26 +0100)]
Remove PropagateRelayoutFlags() from Actor

Change-Id: Ia1fb8124c4ed75c6c351b2d68b9846e39bfbe16b

9 years agoIncrease UTC coverage public/object 93/39993/3
Nick Holland [Wed, 27 May 2015 09:26:07 +0000 (10:26 +0100)]
Increase UTC coverage public/object

line coverage, function coverage.
any.cpp ( 100%, 100% )
any.h   ( 100%, 79.3% )  not possible to get 100% function coverage due to template usage)
base-handle.h ( 92.9%, 100% ) not possible to get 100% line coverage
base-handle.cpp ( 100%, 100% )
base-object.cpp ( 100%, 90.9% ) not possible to get 100% function coverage
base-object.h ( 100%, 100% )
handle.cpp (100%, 100% )
handle.h ( 100%, 100% )
object-registry.cpp ( 100%, 100% )
object-registry.h ( 100%, 100% )

Change-Id: I4ed9f0ea5812da2409215be9842deccb21d57fe6

9 years agoMerge "UTC test coverage" into tizen
Adeel Kazmi [Wed, 27 May 2015 16:14:39 +0000 (09:14 -0700)]
Merge "UTC test coverage" into tizen

9 years agoUTC test coverage 98/39998/3
Lee Morgan [Wed, 27 May 2015 10:50:49 +0000 (11:50 +0100)]
UTC test coverage

Change-Id: I17b3366f7f287d5b4f233515490c76506cd7ecaf

9 years agoMerge "UTC coverage for Path,KeyFrames,LinearConstrainer,Layer,ImageActor" into tizen
Kimmo Hoikka [Wed, 27 May 2015 10:03:46 +0000 (03:03 -0700)]
Merge "UTC coverage for Path,KeyFrames,LinearConstrainer,Layer,ImageActor" into tizen

9 years agoUTC coverage for Path,KeyFrames,LinearConstrainer,Layer,ImageActor 48/39948/1
Xiangyin Ma [Tue, 26 May 2015 18:55:01 +0000 (19:55 +0100)]
UTC coverage for Path,KeyFrames,LinearConstrainer,Layer,ImageActor

Change-Id: Icb2dad0afb9b074ae355bc04f08090d0c08f4f07

9 years agoMerge "UTC coverage for public-api/images" into tizen
Kimmo Hoikka [Tue, 26 May 2015 18:15:54 +0000 (11:15 -0700)]
Merge "UTC coverage for public-api/images" into tizen

9 years agoMerge "UTC coverage for MathUtils,Matrix,Uint16Pair,PropertyTypes" into tizen
Kimmo Hoikka [Tue, 26 May 2015 17:50:35 +0000 (10:50 -0700)]
Merge "UTC coverage for MathUtils,Matrix,Uint16Pair,PropertyTypes" into tizen

9 years agoUTC coverage for public-api/images 46/39946/1
Xiangyin Ma [Tue, 26 May 2015 17:32:09 +0000 (18:32 +0100)]
UTC coverage for public-api/images

Change-Id: Ief02f31b952f94d9d20c141af2301ebfeee366c2

9 years agoUTC coverage for MathUtils,Matrix,Uint16Pair,PropertyTypes 39/39939/2
Lee Morgan [Tue, 26 May 2015 13:59:24 +0000 (14:59 +0100)]
UTC coverage for MathUtils,Matrix,Uint16Pair,PropertyTypes

Change-Id: I58973609f12f288f97f26f1ca65abae5234f43e6

9 years agoCustomActorImpl extension and test case 40/39940/1
Kimmo Hoikka [Tue, 26 May 2015 16:20:40 +0000 (17:20 +0100)]
CustomActorImpl extension and test case

Change-Id: I0d1b330779f68e265e6b534cc955ade107d2699e

9 years agoMerge "Add utc test cases" into tizen accepted/tizen/common/20150529.134107 accepted/tizen/mobile/20150529.134836 accepted/tizen/tv/20150529.134909 accepted/tizen/wearable/20150529.134852 submit/tizen/20150529.084413
HyunJu Shin [Mon, 25 May 2015 08:49:15 +0000 (01:49 -0700)]
Merge "Add utc test cases" into tizen

9 years agoAdd utc test cases 58/39858/1
Heeyong Song [Mon, 25 May 2015 08:43:31 +0000 (17:43 +0900)]
Add utc test cases

Change-Id: I057a8acd569784e367b2492423e9d557a8848603

9 years agoUpdate UTC for EncodedBufferImage 57/39857/1
Yoonsang Lee [Mon, 25 May 2015 08:19:40 +0000 (17:19 +0900)]
Update UTC for EncodedBufferImage

Change-Id: Ibc7690f8065c47f952807b650b77d1afe7b825a2

9 years agoMerge "Changed hit test documentation for unconsumed events" into tizen
Kimmo Hoikka [Fri, 22 May 2015 16:29:48 +0000 (09:29 -0700)]
Merge "Changed hit test documentation for unconsumed events" into tizen

9 years agoChanged hit test documentation for unconsumed events 02/38602/3
David Steele [Wed, 22 Apr 2015 14:38:27 +0000 (15:38 +0100)]
Changed hit test documentation for unconsumed events

Stage is used for receiving up/down events to the screen regardless of
actor event handling and consumption.

Instead, the stage's root layer should be used to catch unconsumed events

Change-Id: I83b55d53f50bee8cb466bb9d6d9eeb5e70df4229
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
9 years agoAdd UTCs for CustomActor and CustomActorImpl 76/39776/4
taeyoon [Fri, 22 May 2015 06:13:46 +0000 (15:13 +0900)]
Add UTCs for CustomActor and CustomActorImpl

Change-Id: Icae2a9a189c497298fd72fe5e6652c8a087c9bae

9 years agoChanged depth sorting algorithm. 98/38698/9
David Steele [Fri, 24 Apr 2015 17:39:51 +0000 (18:39 +0100)]
Changed depth sorting algorithm.

Opaque items are sorted first by depth index, then by Shader, Geometry and Material.
Transparent items are sorted first by depth index, then by distance from camera, then by
Shader, Geometry and Material.

Changed the render algorithm to interleave the opaque and transparent lists for
items at the same depth index.

Change-Id: I2c21c986d790a4ac0f2a519e1bb58242537f4f8a
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Put lockless-buffer in the correct folder & ensure local headers are picked...
Kimmo Hoikka [Thu, 21 May 2015 16:28:10 +0000 (09:28 -0700)]
Merge "Put lockless-buffer in the correct folder & ensure local headers are picked before installed" into tizen

9 years agoMerge "Update UTC for quaternion.h" into tizen
Kimmo Hoikka [Thu, 21 May 2015 16:25:58 +0000 (09:25 -0700)]
Merge "Update UTC for quaternion.h" into tizen

9 years agoMerge "Fix UTCs for EncodedBufferImage & HitTestAlgorithm" into tizen
Kimmo Hoikka [Thu, 21 May 2015 16:25:32 +0000 (09:25 -0700)]
Merge "Fix UTCs for EncodedBufferImage & HitTestAlgorithm" into tizen

9 years agoAdded test cases and fixed bugs 66/39566/2
David Steele [Mon, 18 May 2015 19:04:04 +0000 (20:04 +0100)]
Added test cases and fixed bugs

Added test cases for property values on each property owner,
testing constraints and animations on these properties.

Checked that using the properties as uniform maps correctly
set the right uniform in the shader program.

Added tests for uniform mapping
 - checked the precedence of each object
 - checked the collection of uniform maps and types was correct

Change-Id: Iffc5ce9d94a2c14401bee8c568208dc7bdd91cf3

9 years agoFix return value of implementation alignment. 38/39738/1
Francisco Santos [Thu, 21 May 2015 14:44:46 +0000 (15:44 +0100)]
Fix return value of implementation alignment.

Change-Id: I53388938ec7778a0634a0181f2b3b51f29d38eb0

9 years agoPut lockless-buffer in the correct folder & ensure local headers are picked before... 18/39718/3
Adeel Kazmi [Thu, 21 May 2015 11:10:47 +0000 (12:10 +0100)]
Put lockless-buffer in the correct folder & ensure local headers are picked before installed

Also 100% constraint coverage

Change-Id: I7262d610a7bf7fcc4106115bc0e855ad1baa813f

9 years agoFixes crash after merge from tizen. 82/39682/4
Francisco Santos [Wed, 20 May 2015 18:06:49 +0000 (19:06 +0100)]
Fixes crash after merge from tizen.

Change-Id: Ic322d76fb22ddb18cd3c558e89583ceb0b0c3c09

9 years agoFix property buffers data types passed in to GL. 63/39563/3
Francisco Santos [Mon, 18 May 2015 18:24:50 +0000 (19:24 +0100)]
Fix property buffers data types passed in to GL.

Change-Id: I869f7d3a50cab9670c1005c948389991f30a3776

9 years agoAdded Test cases for Constraints 60/39560/4
Adeel Kazmi [Mon, 18 May 2015 17:39:46 +0000 (18:39 +0100)]
Added Test cases for Constraints

Change-Id: I0d6b2d1c243e7a722dcd40a4c06bc904b541c47b

9 years agoAdd extension to PropertyInput 95/39495/2
Nick Holland [Fri, 15 May 2015 16:08:18 +0000 (17:08 +0100)]
Add extension to PropertyInput

Change-Id: Id4b533d23b8471f7687035bfc2a97fe9ef1535ee

9 years agoFix CallbackBase::Execute assertion to arise in both debug/release build 26/39626/1
Yoonsang Lee [Wed, 20 May 2015 02:36:18 +0000 (11:36 +0900)]
Fix CallbackBase::Execute assertion to arise in both debug/release build

- DALI_ASSERT_DEBUG -> DALI_ASSERT_ALWAYS
- With DALI_ASSERT_DEBUG, UtcDaliSignalConnectN01() only passes in case
of debug build.
- If an exception is required for null signal callback, it should arise
in both debug / release build.

Change-Id: I2b89889c86da8d8e3336a69377bfbad8e1d0d02b

9 years agoMerge "Cleaning up size negotiation - Check for recursive SetSize from inside OnSizeS...
Adeel Kazmi [Tue, 19 May 2015 13:37:26 +0000 (06:37 -0700)]
Merge "Cleaning up size negotiation - Check for recursive SetSize from inside OnSizeSet - Dont call onSizeSet unless size actually changed - Fix width for height to treat 0 size as 1:1 aspect ratio - Add base helpers for width for height" into tizen

9 years agoTests for IntrusivePtr and deleted ScopedPointer 64/39564/2
Andrew Cox [Mon, 18 May 2015 18:25:45 +0000 (19:25 +0100)]
Tests for IntrusivePtr and deleted ScopedPointer

One last test still to do.

Change-Id: I10345cf9baf29ae1492f1940cbccdcd0a18712b1
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoCleaning up size negotiation 58/39558/2
Kimmo Hoikka [Mon, 18 May 2015 17:02:10 +0000 (18:02 +0100)]
Cleaning up size negotiation
- Check for recursive SetSize from inside OnSizeSet
- Dont call onSizeSet unless size actually changed
- Fix width for height to treat 0 size as 1:1 aspect ratio
- Add base helpers for width for height

Change-Id: Ib8bd5f3e347df0d66ea504f659c3c416800be4fb

9 years agoUpdate UTC for quaternion.h 02/37902/4
Yoonsang Lee [Wed, 8 Apr 2015 08:03:34 +0000 (17:03 +0900)]
Update UTC for quaternion.h

Change-Id: Ib15077a7cbeb3267d994a042f584dc7e5e3b957a

9 years agoAdded Dali::Path test cases for DownCast and assignment operator 93/39593/1
Ferran Sole [Tue, 19 May 2015 08:19:17 +0000 (09:19 +0100)]
Added Dali::Path test cases for DownCast and assignment operator

Change-Id: I9aeae9bd022ac6ba90a4c513428713f2a89059e9

9 years agoFix UTCs for EncodedBufferImage & HitTestAlgorithm 91/38591/3
Yoonsang Lee [Wed, 22 Apr 2015 10:28:11 +0000 (19:28 +0900)]
Fix UTCs for EncodedBufferImage & HitTestAlgorithm

- UtcDaliEncodedBufferImageNew02, UtcDaliEncodedBufferImageNew03 :
Assertion message can be different depending on --enable-debug flag, so
remove code to check assertion message.
- UtcDaliHitTestAlgorithmOrtho02 : Maybe due to different machine
precision, the desktop & m0 report different results. So change to
epsilon based comparision to pass for both environments.

Change-Id: I1c5a528a59fd64d7dfb62f05c9222dd428162886

9 years agoMerge remote-tracking branch 'origin/tizen' into devel/new_mesh 62/39562/1
Francisco Santos [Mon, 18 May 2015 16:47:03 +0000 (17:47 +0100)]
Merge remote-tracking branch 'origin/tizen' into devel/new_mesh

Change-Id: I7a43438cd1bff11bcd1093e147432246a758084e

9 years agoMerge remote-tracking branch 'origin/tizen' into devel/new_mesh 56/39556/1
Francisco Santos [Mon, 18 May 2015 16:19:43 +0000 (17:19 +0100)]
Merge remote-tracking branch 'origin/tizen' into devel/new_mesh

Conflicts:
automated-tests/src/dali-internal/utc-Dali-Internal-Mesh.cpp
automated-tests/src/dali/utc-Dali-AnimatableMesh.cpp
automated-tests/src/dali/utc-Dali-MeshActor.cpp
automated-tests/src/dali/utc-Dali-MeshData.cpp
dali/devel-api/actors/mesh-actor.cpp
dali/devel-api/actors/mesh-actor.h
dali/devel-api/dynamics/dynamics-shape.h
dali/devel-api/geometry/animatable-mesh.cpp
dali/devel-api/geometry/animatable-mesh.h
dali/devel-api/geometry/animatable-vertex.cpp
dali/devel-api/geometry/animatable-vertex.h
dali/devel-api/geometry/cloth.cpp
dali/devel-api/geometry/cloth.h
dali/devel-api/geometry/mesh-data.cpp
dali/devel-api/geometry/mesh-data.h
dali/devel-api/geometry/mesh-factory.cpp
dali/devel-api/geometry/mesh-factory.h
dali/devel-api/geometry/mesh.cpp
dali/devel-api/geometry/mesh.h
dali/devel-api/modeling/bone.cpp
dali/devel-api/modeling/bone.h
dali/devel-api/modeling/material.cpp
dali/devel-api/modeling/material.h
dali/integration-api/dynamics/dynamics-body-intf.h
dali/integration-api/dynamics/dynamics-shape-intf.h
dali/internal/event/actor-attachments/mesh-attachment-impl.h
dali/internal/event/actors/mesh-actor-impl.h
dali/internal/event/modeling/animatable-mesh-impl.h
dali/internal/event/modeling/cloth-impl.h
dali/internal/event/modeling/material-impl.h
dali/internal/event/modeling/mesh-impl.cpp
dali/internal/event/modeling/mesh-impl.h
dali/internal/update/dynamics/scene-graph-dynamics-mesh-shape.cpp
dali/internal/update/modeling/internal-mesh-data.h
dali/internal/update/node-attachments/scene-graph-mesh-attachment.h
dali/internal/update/resources/resource-manager.cpp
dali/public-api/actors/renderable-actor.cpp
dali/public-api/actors/renderable-actor.h
dali/public-api/dali-core.h
dali/public-api/file.list

Change-Id: I43f0cad38d302fde14bde4288825d6f15443d43c

9 years agoAdded test cases and fix bug in property buffer reupload. 46/39546/1
Francisco Santos [Mon, 18 May 2015 13:07:37 +0000 (14:07 +0100)]
Added test cases and fix bug in property buffer reupload.

Change-Id: Ibe695e96183396ee9fdf3d81a3fe78d395dcbd83

9 years agoUTC tests; PropertyValue, Vector2/3/4, Matrix 47/39447/4
Lee Morgan [Wed, 22 Apr 2015 16:21:26 +0000 (17:21 +0100)]
UTC tests; PropertyValue, Vector2/3/4, Matrix

Change-Id: Ic2318531b7e1b9b558340e755bd7738547d701a3

9 years agoMove more public-api headers to devel-api. PART 2 88/39488/4
Nick Holland [Fri, 15 May 2015 10:59:33 +0000 (11:59 +0100)]
Move more public-api headers to devel-api. PART 2

Removed the following files from public-api and placed in devel-api

dali/public-api/actors/mesh-actor.h
dali/public-api/animation/path-constrainer.h
dali/public-api/common/hash.h
dali/public-api/common/mutex.h
dali/public-api/common/ref-counted-dali-vector.h
dali/public-api/common/scoped-pointer.h
dali/public-api/events/hit-test-algorithm.h
dali/public-api/geometry/animatable-mesh.h
dali/public-api/geometry/animatable-vertex.h
dali/public-api/geometry/cloth.h
dali/public-api/geometry/mesh-data.h
dali/public-api/geometry/mesh-factory.h
dali/public-api/geometry/mesh.h
dali/public-api/images/atlas.h
dali/public-api/images/distance-field.h
dali/public-api/images/image-operations.h
dali/public-api/images/native-image-interface.h
dali/public-api/modeling/bone.h
dali/public-api/modeling/material.h
dali/public-api/object/type-registry-helper.h

Change-Id: Id65fd245b761b3e326bfcb70ddb48f1b350fe17f

9 years agoFix crash in exit of dali applications 64/39464/1
Kimmo Hoikka [Fri, 15 May 2015 10:54:47 +0000 (11:54 +0100)]
Fix crash in exit of dali applications

[Problem] stage called rootactor.Remove( cameraActor ) during destruction, which attempts to kick start a size negotiation
[Solution] do not call Remove, just release the handle

Change-Id: I475f7fb17f45141ad001827db1f775a37e77eb78

9 years agoStore the property types for the update thread to use. 44/39444/1
Francisco Santos [Fri, 15 May 2015 09:08:14 +0000 (10:08 +0100)]
Store the property types for the update thread to use.

Change-Id: I1926045631009a09105c85ebebd32976cfc62fec

9 years agoCreate devel-api folder for header files used by Adaptor/Toolkit 00/39200/7
Nick Holland [Mon, 11 May 2015 13:15:12 +0000 (14:15 +0100)]
Create devel-api folder for header files used by Adaptor/Toolkit

Moved the following from public-api to devel-api:
map-wrapper
set-wrapper
dynamics

Change-Id: If8d7c30fa48c893e1433bc4cf0585ccffe55cc83

9 years agoMerge "Add dali-vector extension support for types that have destructor and/or copy...
Adeel Kazmi [Thu, 14 May 2015 15:40:37 +0000 (08:40 -0700)]
Merge "Add dali-vector extension support for types that have destructor and/or copy constructor but are still POD" into tizen

9 years agoAdd dali-vector extension support for types that have destructor and/or copy construc... 14/39414/3
Kimmo Hoikka [Thu, 14 May 2015 12:55:58 +0000 (13:55 +0100)]
Add dali-vector extension support for types that have destructor and/or copy constructor but are still POD

Change-Id: Ic4aa6336d6d3514d5c2d487d7550ae788be9eb70

9 years agoAdded PropertyValue Array as a class 03/39403/4
Lee Morgan [Tue, 12 May 2015 13:25:16 +0000 (14:25 +0100)]
Added PropertyValue Array as a class

Change-Id: If7dba0e31a53eada586a05a86bb2f23274645aee

9 years agoAPI for eager GLTexture Creation in NativeImage 97/37197/8
Andrew Cox [Tue, 17 Mar 2015 15:38:31 +0000 (15:38 +0000)]
API for eager GLTexture Creation in NativeImage

Change-Id: I975c87cfdb59921695ecfb8ceedd741df238297e
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
9 years agoAdd missing header in property-buffer.h 25/39225/3
Francisco Santos [Fri, 8 May 2015 16:44:21 +0000 (17:44 +0100)]
Add missing header in property-buffer.h

Change-Id: I42be22d8614d795828c93e4b791d521c0a9170c3

9 years agoAdd GetImage method to Sampler. 46/39046/4
Francisco Santos [Wed, 6 May 2015 12:33:41 +0000 (13:33 +0100)]
Add GetImage method to Sampler.

Change-Id: I8be72f20287b1d62e7e539ea64aeb76a69e77f96

9 years agoCorrectly calculate alignment of members in propertyBuffers. 26/39226/4
Francisco Santos [Mon, 11 May 2015 18:16:36 +0000 (19:16 +0100)]
Correctly calculate alignment of members in propertyBuffers.

Change-Id: I7575c7ec1608517478f1a308f51d1eb90551e45f

9 years agoRemove ActorContainer typedef 09/39309/4
Nick Holland [Tue, 12 May 2015 13:03:52 +0000 (14:03 +0100)]
Remove ActorContainer typedef

Also removed some unnecessary includes of <vector-wrapper.h> from
public-api files

Change-Id: I158193751290c01614f2a05211dd629bb5cf04fd

9 years agoMerge "Refactoring of path constraints + LinearConstrainer" into tizen
Adeel Kazmi [Wed, 13 May 2015 08:52:25 +0000 (01:52 -0700)]
Merge "Refactoring of path constraints + LinearConstrainer" into tizen

9 years agoRefactoring of path constraints + LinearConstrainer 51/38051/17
Ferran Sole [Thu, 9 Apr 2015 15:53:23 +0000 (16:53 +0100)]
Refactoring of path constraints + LinearConstrainer

- Renamed to PathConstrainer ( an object who applies constraints ).
- Added a base class (Constrainer) who is responsible for observing constrained objects
  and remove the constraints created when it is destroyed.
- Removed range property. Range is now specified in the 'apply' method.
- Added new properties "points" and "control-points" to specify the path.
- Added option to wrap source property value inside a given domain.
- Added LinearConstrainer object to constraint properties given a linear map

Change-Id: Iea89384808505881057c1d75d8e1929b14ecd3d3

9 years agoRemoved remaining references to glyph cache 02/39302/2
Paul Wisbey [Tue, 12 May 2015 14:52:43 +0000 (15:52 +0100)]
Removed remaining references to glyph cache

Change-Id: Ie476593b5d04cd5aecaed8eaee075325423b0840

9 years agoMerge "Reduce ImageActor & RenderableActor APIs" into tizen
Kimmo Hoikka [Tue, 12 May 2015 15:14:42 +0000 (08:14 -0700)]
Merge "Reduce ImageActor & RenderableActor APIs" into tizen

9 years agodali-signal and connection tracker test cases 63/38363/8
Nick Holland [Fri, 17 Apr 2015 14:18:32 +0000 (15:18 +0100)]
dali-signal and connection tracker test cases

Added tests to match new test standard of 1 positive 1 negative
test per API (where possible).

Change-Id: I44e658891e504db21316ced0f621b661a45f7989