Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgrenderer.cpp File Reference
#include "qsgrenderer_p.h"
#include "qsgnodeupdater_p.h"
#include <private/qquickprofiler_p.h>
#include <qtquick_tracepoints_p.h>
#include <QtCore/QElapsedTimer>
+ Include dependency graph for qsgrenderer.cpp:

Go to the source code of this file.

Functions

int qt_sg_envInt (const char *name, int defaultValue)
 

Variables

static QT_BEGIN_NAMESPACE QElapsedTimer frameTimer
 
static qint64 preprocessTime
 
static qint64 updatePassTime
 
bool _q_sg_leak_check = !qEnvironmentVariableIsEmpty("QML_LEAK_CHECK")
 

Function Documentation

◆ qt_sg_envInt()

int qt_sg_envInt ( const char *  name,
int  defaultValue 
)

Definition at line 28 of file qsgrenderer.cpp.

References ok, Q_LIKELY, qEnvironmentVariableIntValue(), and qEnvironmentVariableIsSet().

Referenced by QSGRhiAtlasTexture::Atlas::Atlas(), QSGRhiAtlasTexture::Manager::Manager(), and QSGBatchRenderer::Renderer::Renderer().

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

Variable Documentation

◆ _q_sg_leak_check

◆ frameTimer

QT_BEGIN_NAMESPACE QElapsedTimer frameTimer
static

Definition at line 13 of file qsgrenderer.cpp.

Referenced by QSGRenderer::preprocess(), and QSGRenderer::renderScene().

◆ preprocessTime

qint64 preprocessTime
static

Definition at line 14 of file qsgrenderer.cpp.

Referenced by QSGRenderer::preprocess(), and QSGRenderer::renderScene().

◆ updatePassTime

qint64 updatePassTime
static

Definition at line 15 of file qsgrenderer.cpp.

Referenced by QSGRenderer::preprocess(), and QSGRenderer::renderScene().