19 QQuickGraphicsConfiguration();
20 ~QQuickGraphicsConfiguration();
21 QQuickGraphicsConfiguration(
const QQuickGraphicsConfiguration &other);
22 QQuickGraphicsConfiguration &operator=(
const QQuickGraphicsConfiguration &other);
24 static QByteArrayList preferredInstanceExtensions();
26 void setDeviceExtensions(
const QByteArrayList &extensions);
27 QByteArrayList deviceExtensions()
const;
29 void setDepthBufferFor2D(
bool enable);
30 bool isDepthBufferEnabledFor2D()
const;
32 void setDebugLayer(
bool enable);
33 bool isDebugLayerEnabled()
const;
35 void setDebugMarkers(
bool enable);
36 bool isDebugMarkersEnabled()
const;
38 void setTimestamps(
bool enable);
39 bool timestampsEnabled()
const;
41 void setPreferSoftwareDevice(
bool enable);
42 bool prefersSoftwareDevice()
const;
44 void setAutomaticPipelineCache(
bool enable);
45 bool isAutomaticPipelineCacheEnabled()
const;
47 void setPipelineCacheSaveFile(
const QString &filename);
48 QString pipelineCacheSaveFile()
const;
50 void setPipelineCacheLoadFile(
const QString &filename);
51 QString pipelineCacheLoadFile()
const;
55 QQuickGraphicsConfigurationPrivate *d;
56 friend class QQuickGraphicsConfigurationPrivate;
57#ifndef QT_NO_DEBUG_STREAM
58 friend Q_QUICK_EXPORT QDebug operator<<(QDebug dbg,
const QQuickGraphicsConfiguration &config);