![]() |
Qt 6.x
The Qt SDK
|
#include "graphobjects/qssgrendergraphobject_p.h"#include "qssgrendershadercache_p.h"#include "qssgrendercontextcore_p.h"#include <QtQuick3DUtils/private/qssgutils_p.h>#include <QtQuick3DUtils/private/qquick3dprofiler_p.h>#include <QtQuick3DRuntimeRender/private/qssgruntimerenderlogging_p.h>#include <qtquick3d_tracepoints_p.h>#include <QCoreApplication>#include <QStandardPaths>#include <QString>#include <QFile>#include <QDir>#include <QtGui/qsurfaceformat.h>#include <QtCore/qmutex.h>
Include dependency graph for qssgrendershadercache.cpp:Go to the source code of this file.
Classes | |
| struct | DefineEntry |
Namespaces | |
| namespace | QtQuick3DEditorHelpers |
Functions | |
| Q_GLOBAL_STATIC (QMutex, s_statusMutex) | |
| size_t | qHash (QSSGShaderFeatures features) noexcept |
| static QString | dumpFilename (QShader::Stage stage) |
| static void | initBakerForNonPersistentUse (QShaderBaker *, QRhi *) |
| static void | initBakerForPersistentUse (QShaderBaker *, QRhi *) |
| static bool | isAutoDiskCacheEnabled () |
| static bool | ensureWritableDir (const QString &name) |
| static QString | persistentQsbcDir () |
| static QString | persistentQsbcFileName () |
Variables | |
| static QT_BEGIN_NAMESPACE QtQuick3DEditorHelpers::ShaderBaker::StatusCallback | s_statusCallback = nullptr |
| static constexpr DefineEntry | DefineTable [] |
| static bool | s_autoDiskCacheEnabled = true |
|
static |
Definition at line 42 of file qssgrendershadercache.cpp.
References QShader::FragmentStage, QStringLiteral, and QShader::VertexStage.
Referenced by QSSGShaderCache::compileForRhi().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 211 of file qssgrendershadercache.cpp.
References QFileInfo::isWritable(), QDir::mkpath(), and QDir::root().
Referenced by persistentQsbcDir().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 190 of file qssgrendershadercache.cpp.
Referenced by QSSGShaderCache::QSSGShaderCache().
Here is the caller graph for this function:Definition at line 194 of file qssgrendershadercache.cpp.
Referenced by QSSGShaderCache::QSSGShaderCache().
Here is the caller graph for this function:
|
static |
Definition at line 201 of file qssgrendershadercache.cpp.
References Qt::AA_DisableShaderDiskCache, qApp, qEnvironmentVariableIntValue(), and s_autoDiskCacheEnabled.
Referenced by QSSGShaderCache::QSSGShaderCache().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 217 of file qssgrendershadercache.cpp.
References QSysInfo::buildAbi(), QStandardPaths::CacheLocation, ensureWritableDir(), QString::isEmpty(), subPath(), and QStandardPaths::writableLocation().
Referenced by persistentQsbcFileName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 238 of file qssgrendershadercache.cpp.
References QString::isEmpty(), and persistentQsbcDir().
Referenced by QSSGShaderCache::QSSGShaderCache().
Here is the call graph for this function:
Here is the caller graph for this function:| Q_GLOBAL_STATIC | ( | QMutex | , |
| s_statusMutex | |||
| ) |
|
noexcept |
Definition at line 40 of file qssgrendershadercache.cpp.
References QSSGShaderFeatures::IndexMask.
Referenced by QSSGShaderCacheKey::generateHashCode().
Here is the caller graph for this function:
|
staticconstexpr |
Definition at line 62 of file qssgrendershadercache.cpp.
Referenced by QSSGShaderFeatures::asDefineString(), and QSSGShaderFeatures::fromIndex().
|
static |
Definition at line 199 of file qssgrendershadercache.cpp.
Referenced by isAutoDiskCacheEnabled(), and QtQuick3DEditorHelpers::ShaderCache::setAutomaticDiskCache().
|
static |
Definition at line 37 of file qssgrendershadercache.cpp.
Referenced by QSSGShaderCache::compileForRhi(), and QtQuick3DEditorHelpers::ShaderBaker::setStatusCallback().