summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/evaluateclipanimatorjob.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/+3
| | | | | | | | 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>
* 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>
* Typedef QVector<float> as ClipResultsSean Harmer2017-03-171-1/+1
| | | | | | | | 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-1/+1
| | | | | | | 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-7/+7
| | | | | | | | | 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>
* Introduce QAbstractAnimationClip and rename QAnimationClipSean Harmer2017-02-241-1/+1
| | | | | | | | | | | | | 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-0/+2
| | | | | Change-Id: Ifa8d2def025608de6731b6391145df9ebb430d9f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Improve the clip evalution codePaul Lemire2017-01-301-11/+7
| | | | | Change-Id: Id536ec0433f0f2f25c42d115fbf90b99e6d3844e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Refactor clip evaluation and property mappingPaul Lemire2017-01-291-2/+24
| | | | | | | Ass this will be reused by the blend tree animator Change-Id: I61ef91b74e91778f380f794ba221f56761129cfa Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add job to process running clip animatorsSean Harmer2017-01-271-0/+72
Introduces more logic to QNode::sceneChangeEvent to set properties being animated without every QNode subclass needing to override it. We can like do a follow up commit that removes some such overrides. Change-Id: I2a96e0929b2fbd39ca3866908fee11c842bede42 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>