refactor dali-animation. 11/245511/11
authorsub.mohanty@samsung.com <sub.mohanty@samsung.com>
Sun, 11 Oct 2020 01:26:36 +0000 (10:26 +0900)
committerDavid Steele <david.steele@samsung.com>
Tue, 3 Nov 2020 12:00:16 +0000 (12:00 +0000)
commit08df5d19190794835a5e71e499ced1a9f8e62843
tree66d9d246338d4a34fe61ed1654115cd1c5e8ed97
parent6bd7c97fb0d7506507a065a80406e429e0f7332f
refactor dali-animation.

- refactor keyframeChannel class.
- refactor KeyFrameBaseSpec to avoid heap allocation.
- keep a templated form of GetSpecialization.
- in the keyframeanimation functor keep a copy of keyframeChannel instead of heap allocated object.
- remove AnimatorFunctorBase class and replace it with std::function to avoid heap allocation when possible.
- structure packing of AnimatorBase

Change-Id: I416df4601116547c79f04b2cf8e0bc95e622b869
dali/internal/event/animation/animation-impl.cpp
dali/internal/event/animation/animator-connector-base.h
dali/internal/event/animation/animator-connector.h
dali/internal/event/animation/key-frame-channel.h
dali/internal/event/animation/key-frames-impl.cpp
dali/internal/event/animation/key-frames-impl.h
dali/internal/update/animation/scene-graph-animator.h
dali/public-api/animation/key-frames.cpp