summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/evaluateblendclipanimatorjob.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add clock property to QAbstractClipAnimatorChip Collier2017-07-241-1/+3
| | | | | | | | | 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/+4
| | | | | | | | 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 defunct TODO commentSean Harmer2017-04-121-1/+0
| | | | | Change-Id: Ida7608b2ad2d50913d533a7fa58e21c86607a095 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Rename AnimationClipLoader to AnimationClipSean Harmer2017-04-121-1/+1
| | | | | | | | It handles both loadign from file and from data constructed using the public API. Change-Id: Ic9e71dc60c36869548323312f7129df6c9edd763 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Implement the new blend tree prep and evaluation jobsSean Harmer2017-03-251-149/+51
| | | | | Change-Id: Ic619cfdc27d7c3c46d96d3cc0e83e9134ebb0216 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Typedef QVector<float> as ClipResultsSean Harmer2017-03-171-10/+10
| | | | | | | | Will make it easier to read once we introduce a vector of ClipResults which will be needed shortly. Change-Id: I97c2ae3fcd431b075db96f255fdffcc117529a63 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Rename ClipPreEvaluationData to ClipEvaluationDataSean Harmer2017-03-061-2/+2
| | | | | | | For consistency. Change-Id: I83bce109ee12fee1688d8ac9d120b82cd6c47659 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Rename animationEvaluationDataForAnimatorSean Harmer2017-03-061-1/+1
| | | | | | | Be less verbose and for consistency with evaluationDataForClip. Change-Id: Ifcd1ffe5275dab8dfbfcd4c90719bf33d4a9509f Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Remove AnimationUtils classSean Harmer2017-03-061-17/+18
| | | | | | | | | It was stateless, so make the static member functions free functions and export them for auto tests. We're already in the Qt3DAnimation::Animation namespace so this removes some visual clutter. Change-Id: I4e1a72c47d5bd4afb807ce5f6dc80dc0ce4bb213 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Rename QLerpBlend to QLerpClipBlendSean Harmer2017-02-241-1/+1
| | | | | | | | Also rename backend class accordingly. Task-number: QTBUG-58904 Change-Id: I3a8d3898507e5055c2727e4bb1b19b06fdba988b Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* Introduce QAbstractAnimationClip and rename QAnimationClipSean Harmer2017-02-241-2/+2
| | | | | | | | | | | | | Introduced an abstract base class for types of animation clip. Also renamed QAnimationClip to QAnimationClipLoader since it loads data from files. Also renamed corresponding backend type and fixed up unit tests accordingly. Task-number: QTBUG-58898 Change-Id: I01a96e108cbbcd12e01913693e96610598965018 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* Animations: add type to the jobs for the profilerPaul Lemire2017-02-061-1/+2
| | | | | Change-Id: Ifa8d2def025608de6731b6391145df9ebb430d9f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* BlendedAnimations: allow nested blending nodes evaluationPaul Lemire2017-01-311-50/+125
| | | | | Change-Id: Ic6a70ee57f56dff7406b5917d620ea15b74ecb44 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Improve the clip evalution codePaul Lemire2017-01-301-32/+18
| | | | | Change-Id: Id536ec0433f0f2f25c42d115fbf90b99e6d3844e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Build blend trees and execute themPaul Lemire2017-01-291-0/+159
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>