aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgcanvas_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-07-01 08:19:52 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-01 08:21:15 +0200
commit890648a91b266a889ac5c4d20acad2fe8ecb11e3 (patch)
treee2bd20c0c87dce5dd870b13465b166fbb968868c /src/declarative/items/qsgcanvas_p.h
parent3296449d5cd9491b56914a23a78d2f78982a6856 (diff)
Support setting an FBO as the render target for a canvas
Change-Id: I8049580f1d2b27d6ebc4d595712939338c01b711 Reviewed-on: http://codereview.qt.nokia.com/986 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/declarative/items/qsgcanvas_p.h')
-rw-r--r--src/declarative/items/qsgcanvas_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/items/qsgcanvas_p.h b/src/declarative/items/qsgcanvas_p.h
index 7f7182ee52..c4c82b666c 100644
--- a/src/declarative/items/qsgcanvas_p.h
+++ b/src/declarative/items/qsgcanvas_p.h
@@ -65,6 +65,7 @@
#include <QtCore/qwaitcondition.h>
#include <private/qwidget_p.h>
#include <private/qgl_p.h>
+#include <QtOpenGL/qglframebufferobject.h>
QT_BEGIN_NAMESPACE
@@ -168,6 +169,8 @@ public:
QAnimationDriver *animationDriver;
+ QGLFramebufferObject *renderTarget;
+
QHash<int, QSGItem *> itemForTouchPointId;
};