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
qsgrenderer.cpp File Reference

(b5a05e4e7e97f8ef5c4cc65fee0cfcfd9e4c5cc4)

#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
 

Function Documentation

◆ qt_sg_envInt()

int qt_sg_envInt ( const char * name,
int defaultValue )

Definition at line 24 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

◆ 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().