summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/findrunningclipanimatorsjob.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix ClipAnimator crash when removing animatorsLaszlo Agocs2017-06-301-0/+1
| | | | | | | | | When passing around animator handles, care must be taken before actually using them since the animator component may have been destroyed in the meantime. Change-Id: Ib963d1422e1626b5a06e5bb157a0b6aab76b961d 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>
* Remove AnimationUtils classSean Harmer2017-03-061-1/+1
| | | | | | | | | 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>
* Refactor clip evaluation and property mappingPaul Lemire2017-01-291-2/+8
| | | | | | | 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/+8
| | | | | | | | | | 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>
* Add job to find all clip animators that should be runningSean Harmer2017-01-271-0/+77
Change-Id: I198a5d0d198c56756e4ac045527e02969b4dcecb Reviewed-by: Paul Lemire <paul.lemire@kdab.com>