Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qsgcontext.cpp File Reference
#include <QtQuick/private/qsgcontext_p.h>
#include <QtQuick/private/qsgtexture_p.h>
#include <QtQuick/private/qsgrenderer_p.h>
#include <QtQuick/private/qquickpixmapcache_p.h>
#include <QtQuick/private/qsgadaptationlayer_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 70 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: