Internal animation changes 56/33156/13
authorFerran Sole <ferran.sole@samsung.com>
Tue, 6 Jan 2015 11:09:48 +0000 (11:09 +0000)
committerFerran Sole <ferran.sole@samsung.com>
Thu, 8 Jan 2015 16:02:29 +0000 (16:02 +0000)
commit1e28f8a0ed5fba44d7c7e255d1d7932f7f2ce7eb
tree5571b315da3d6c03195414cf1abfe2bade04d903
parentbe1e76cb30ea56dbc46228067a66327cbcf6fc2c
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
dali/internal/event/animation/animation-impl.cpp
dali/internal/event/animation/animator-connector.h
dali/internal/update/animation/scene-graph-animation.cpp
dali/internal/update/animation/scene-graph-animation.h
dali/internal/update/animation/scene-graph-animator.h
dali/internal/update/animation/scene-graph-constraint-base.h
dali/internal/update/common/property-owner.cpp
dali/internal/update/common/property-owner.h
dali/internal/update/node-attachments/scene-graph-mesh-attachment.h
dali/internal/update/nodes/node.cpp