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

(4949768067cfc8a16c0cef958928e94147842bb8)

#include "qsgrhisupport_p.h"
#include "qsgcontext_p.h"
#include "qsgdefaultrendercontext_p.h"
#include <QtQuick/private/qquickitem_p.h>
#include <QtQuick/private/qquickwindow_p.h>
#include <QtGui/qwindow.h>
#include <QOperatingSystemVersion>
#include <QLockFile>
#include <QSaveFile>
#include <QStandardPaths>
#include <QDir>
#include <QFileInfo>
#include <QSysInfo>
#include <QOffscreenSurface>
#include <memory>
+ Include dependency graph for qsgrhisupport.cpp:

Go to the source code of this file.

Functions

static bool ensureWritableDir (const QString &name)
 
static QString automaticPipelineCacheDir ()
 
static QString automaticPipelineCacheFileName (QRhi *rhi)
 
static bool isAutomaticPipelineCacheLoadSkippedForWindow (Qt::WindowFlags wflags)
 
static bool isAutomaticPipelineCacheSaveSkippedForWindow (Qt::WindowFlags wflags)
 
static QString pipelineCacheLockFileName (const QString &name)
 

Function Documentation

◆ automaticPipelineCacheDir()

static QString automaticPipelineCacheDir ( )
static

Definition at line 941 of file qsgrhisupport.cpp.

References QSysInfo::buildAbi(), QStandardPaths::CacheLocation, ensureWritableDir(), subPath(), and QStandardPaths::writableLocation().

Referenced by automaticPipelineCacheFileName().

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

◆ automaticPipelineCacheFileName()

static QString automaticPipelineCacheFileName ( QRhi * rhi)
inlinestatic

Definition at line 968 of file qsgrhisupport.cpp.

References automaticPipelineCacheDir(), QRhi::backendName(), and QString::fromLatin1().

+ Here is the call graph for this function:

◆ ensureWritableDir()

static bool ensureWritableDir ( const QString & name)
inlinestatic

Definition at line 935 of file qsgrhisupport.cpp.

References QFileInfo::isWritable(), and QDir::root().

Referenced by automaticPipelineCacheDir().

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

◆ isAutomaticPipelineCacheLoadSkippedForWindow()

static bool isAutomaticPipelineCacheLoadSkippedForWindow ( Qt::WindowFlags wflags)
inlinestatic

Definition at line 977 of file qsgrhisupport.cpp.

References Qt::SplashScreen, and Qt::ToolTip.

◆ isAutomaticPipelineCacheSaveSkippedForWindow()

static bool isAutomaticPipelineCacheSaveSkippedForWindow ( Qt::WindowFlags wflags)
inlinestatic

Definition at line 982 of file qsgrhisupport.cpp.

References Qt::Dialog, and Qt::Popup.

Referenced by QSGRhiSupport::createRhi().

+ Here is the caller graph for this function:

◆ pipelineCacheLockFileName()

static QString pipelineCacheLockFileName ( const QString & name)
inlinestatic

Definition at line 988 of file qsgrhisupport.cpp.