aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickcanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickcanvas.h')
-rw-r--r--src/quick/items/qquickcanvas.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quick/items/qquickcanvas.h b/src/quick/items/qquickcanvas.h
index 4ac9509896..787bb7e3c7 100644
--- a/src/quick/items/qquickcanvas.h
+++ b/src/quick/items/qquickcanvas.h
@@ -114,6 +114,12 @@ public:
void setClearColor(const QColor &color);
QColor clearColor() const;
+ void setPersistentOpenGLContext(bool persistent);
+ bool isPersistentOpenGLContext() const;
+
+ void setPersistentSceneGraph(bool persistent);
+ bool isPersistentSceneGraph() const;
+
QOpenGLContext *openglContext() const;
Q_SIGNALS: