Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsgcontext.cpp File Reference

(759ed5de5fa8f764108a7aa6c39cb79f5f3fe4e3)

#include <QtQuick/private/qsgcontext_p.h>
#include <QtQuick/private/qsgtexture_p.h>
#include <QtQuick/private/qsgrenderer_p.h>
#include <QtQuick/private/qquickpixmap_p.h>
#include <QtQuick/private/qsgadaptationlayer_p.h>
#include <QtQuick/private/qsginternaltextnode_p.h>
#include <QGuiApplication>
#include <QScreen>
#include <QQuickWindow>
#include <private/qqmlglobal_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtCore/private/qabstractanimation_p.h>
#include <private/qobject_p.h>
#include <qmutex.h>
#include "qsgcontext.moc"
#include "moc_qsgcontext_p.cpp"
+ Include dependency graph for qsgcontext.cpp:

Go to the source code of this file.

Classes

class  QSGAnimationDriver
 
class  QSGDefaultAnimationDriver
 
class  QSGElapsedTimerAnimationDriver
 

Functions

QT_BEGIN_NAMESPACE DEFINE_BOOL_CONFIG_OPTION (useElapsedTimerBasedAnimationDriver, QSG_USE_SIMPLE_ANIMATION_DRIVER)
 
bool qsg_useConsistentTiming ()
 

Function Documentation

◆ DEFINE_BOOL_CONFIG_OPTION()

QT_BEGIN_NAMESPACE DEFINE_BOOL_CONFIG_OPTION ( useElapsedTimerBasedAnimationDriver ,
QSG_USE_SIMPLE_ANIMATION_DRIVER  )

◆ qsg_useConsistentTiming()

bool qsg_useConsistentTiming ( )

Definition at line 74 of file qsgcontext.cpp.

References qCDebug, qEnvironmentVariableIsEmpty(), and qgetenv().

Referenced by QSGDefaultAnimationDriver::QSGDefaultAnimationDriver(), QSGGuiThreadRenderLoop::QSGGuiThreadRenderLoop(), and QSGDefaultAnimationDriver::advance().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: