aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindow_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-12-18 12:24:56 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-17 14:37:33 +0100
commit742a7a0bd18d4ec23288b132a0e190235bff0547 (patch)
tree0935bcbedd0d07349b092706557767cfc473d350 /src/quick/items/qquickwindow_p.h
parente6a5e693a5abeab1a1634b71da33c9c93e2e7b98 (diff)
Introducing QQuickWidget
Renders into an FBO, and provides a texture that is composed by the QPA/widget kernel compositor. Also introducing QQuickRenderControl, which is private API for now. Change-Id: I710c16e1506124a17f91e87344496471803a448b Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
-rw-r--r--src/quick/items/qquickwindow_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h
index 944a320dce..5f61403a40 100644
--- a/src/quick/items/qquickwindow_p.h
+++ b/src/quick/items/qquickwindow_p.h
@@ -74,6 +74,7 @@ QT_BEGIN_NAMESPACE
class QQuickAnimatorController;
class QSGRenderLoop;
+class QQuickRenderControl;
class QQuickDragGrabber;
class QQuickRootItem : public QQuickItem
@@ -103,7 +104,7 @@ public:
QQuickWindowPrivate();
virtual ~QQuickWindowPrivate();
- void init(QQuickWindow *);
+ void init(QQuickWindow *, QQuickRenderControl *control = 0);
void initContentItem();//Currently only used if items added in QML
QQuickRootItem *contentItem;
@@ -204,6 +205,7 @@ public:
QByteArray customRenderMode; // Default renderer supports "clip", "overdraw", "changes", "batches" and blank.
QSGRenderLoop *windowManager;
+ QQuickRenderControl *renderControl;
QQuickAnimatorController *animationController;
QColor clearColor;
@@ -217,6 +219,7 @@ public:
uint lastWheelEventAccepted : 1;
bool componentCompleted : 1;
+ bool forceRendering : 1;
QOpenGLFramebufferObject *renderTarget;
uint renderTargetId;