7#include <private/qquickitem_p.h>
8#include <private/qsgrenderloop_p.h>
10#include <private/qanimationgroupjob_p.h>
12#include <QtGui/qscreen.h>
14#include <QtCore/qcoreapplication.h>
43 m_rootsPendingStop.
clear();
47 const auto roots = m_animationRoots;
48 m_animationRoots.
clear();
55 m_rootsPendingStart.
insert(job);
63 if (job->isRunning()) {
90 m_animationRoots.
remove(toStop.data());
92 m_rootsPendingStop.
clear();
110 m_animationRoots.
insert(job.data(), job);
112 m_rootsPendingStart.
clear();
115 if (m_animationRoots.
size())
127 m_animationRoots.
remove(job);
137 m_runningAnimators.
insert(animator);
140 m_runningAnimators.
remove(animator);
148 m_window->maybeUpdate();
168 m_rootsPendingStart.
insert(job);
169 m_rootsPendingStop.
remove(job);
171 start_helper(job.
data());
179 m_rootsPendingStart.
remove(job);
180 m_rootsPendingStop.
insert(job);
186#include "moc_qquickanimatorcontroller_p.cpp"
bool isRenderThreadJob() const
bool remove(const Key &key)
Removes the item that has the key from the hash.
qsizetype size() const noexcept
Returns the number of items in the hash.
void clear() noexcept(std::is_nothrow_destructible< Node >::value)
Removes all items from the hash and frees up all memory used by it.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
const QObjectList & children() const
Returns a list of child objects.
void animationStateChanged(QAbstractAnimationJob *job, QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) override
void windowNodesDestroyed()
void start(const QSharedPointer< QAbstractAnimationJob > &job)
void cancel(const QSharedPointer< QAbstractAnimationJob > &job)
QQuickAnimatorController(QQuickWindow *window)
void animationFinished(QAbstractAnimationJob *job) override
~QQuickAnimatorController()
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
void update()
Schedules the window to render another frame.
bool remove(const T &value)
iterator insert(const T &value)
T * data() const noexcept
Returns the value of the pointer referenced by this object.
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
static Q_CONSTINIT QBasicAtomicInt running
GLboolean GLboolean GLboolean GLboolean a
[7]
static void qquickanimator_invalidate_jobs(QAbstractAnimationJob *job)
static void qquickanimator_sync_before_start(QAbstractAnimationJob *job)