summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/blendedclipanimator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add clock property to QAbstractClipAnimatorChip Collier2017-07-241-0/+10
| | | | | | | | | Introduces "clock" property to QAbstractClipAnimator and updates associated tests. Updated backend animator nodes and associated evaluation jobs. Change-Id: Id18cabdd710b9b7253772642f21f63043d316a42 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add support for animation callbacksLaszlo Agocs2017-06-231-0/+16
| | | | | | | | Let QChannelMapping optionally specify a callback, which then gets invoked either directly on a worker thread or the gui thread. Change-Id: I871776f47cc921ceb254f9dc1a7b89ae5c5618d8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Remove some dead code related to old blend tree implementationSean Harmer2017-03-261-1/+0
| | | | | Change-Id: I597d41da76da06d5301304b54e8c0d5142d78a64 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* BlendedAnimations: allow nested blending nodes evaluationPaul Lemire2017-01-311-6/+1
| | | | | Change-Id: Ic6a70ee57f56dff7406b5917d620ea15b74ecb44 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Build blend trees and execute themPaul Lemire2017-01-291-5/+26
| | | | | | | | Also added loops property to the blendedclipanimator as mandated by rebase. Note: only handles LERP with single node for now Change-Id: I91e071467c604279262ec04288bc7f8b2b19f4a1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Completed BlenderAnimator frontend and backendPaul Lemire2017-01-291-2/+40
| | | | | Change-Id: I5d463467811afe6245b278a1b277ec20159d3440 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a job to load animation clipsSean Harmer2017-01-271-2/+1
| | | | | | | | | | | Defers the actual work to AnimationClip. Also made all backend nodes have a common base class to make it easy to track the Handler. Added a manual test to exercise this and which we can build up over time as we add API. Change-Id: I7cdd8da948498544059ba51efe38642dd54ea410 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add animation componentsSean Harmer2017-01-271-0/+81
Three levels of animation playback are available at present for keyframe animation: 1) Direct playback of a clip via QClipAnimator 2) Playback of a blend tree of clips via QBlendedClipAnimator 3) Playback of a set of blend trees controlled with a state machine via QConductedClipAnimator This commit adds the frontend and backend nodes for all 3 components and registers them. The blended and conducted animator components are just empty skeletons for now. Change-Id: If2f0a912c003f3d20f830a8f6174946eea6b47e6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>