Refactored Animator classes to reduce code binary size by 60% 45/193645/3
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Thu, 22 Nov 2018 18:03:55 +0000 (18:03 +0000)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 4 Dec 2018 15:44:46 +0000 (15:44 +0000)
commit890779675a856169eb171483af614178e558d212
tree3d25728063144718a09ca103921bb12b5e4bbb9b
parentc114bfe4714e8f02c54b25e381a41d80bdcb2d93
Refactored Animator classes to reduce code binary size by 60%

- Moved all type independent data to base classes in both AnimatorConnector and SceneGraph::Animator
- Moved all type independent methods to base classes and made them non-virtual
- Re-implemented the type specific parts to use template method to have common base code
- Added a template specialization for float type AnimatorConnector as thats the only type that can be a property component

Change-Id: I43ba1a814b4abf21032b005751454867e446574d
dali/internal/event/animation/animator-connector-base.h
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/manager/update-manager.cpp