summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-04-15 08:04:56 (GMT)
committercon <qtc-committer@nokia.com>2011-04-15 09:15:33 (GMT)
commita67ab4fd1065d434f4a14b72ee2d991a71af493c (patch)
tree5197a5217ca6fab07dfe9deac22dd97fbed6f5be
parente90c655dc88776947a0e98cc21f8e49069b09a45 (diff)
downloadQt-a67ab4fd1065d434f4a14b72ee2d991a71af493c.zip
Qt-a67ab4fd1065d434f4a14b72ee2d991a71af493c.tar.gz
Qt-a67ab4fd1065d434f4a14b72ee2d991a71af493c.tar.bz2
Compile fix for window surface features. (uikit)
-rw-r--r--src/plugins/platforms/uikit/quikitwindowsurface.h1
-rw-r--r--src/plugins/platforms/uikit/quikitwindowsurface.mm6
2 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/uikit/quikitwindowsurface.h b/src/plugins/platforms/uikit/quikitwindowsurface.h
index 58ccb1b..ca10a71 100644
--- a/src/plugins/platforms/uikit/quikitwindowsurface.h
+++ b/src/plugins/platforms/uikit/quikitwindowsurface.h
@@ -53,6 +53,7 @@ public:
QPaintDevice *paintDevice();
void flush(QWidget *widget, const QRegion &region, const QPoint &offset);
+ WindowSurfaceFeatures features() const;
private:
QPaintDevice *mPaintDevice;
diff --git a/src/plugins/platforms/uikit/quikitwindowsurface.mm b/src/plugins/platforms/uikit/quikitwindowsurface.mm
index dd188fb..bb7dcd7 100644
--- a/src/plugins/platforms/uikit/quikitwindowsurface.mm
+++ b/src/plugins/platforms/uikit/quikitwindowsurface.mm
@@ -73,7 +73,6 @@ QT_BEGIN_NAMESPACE
QUIKitWindowSurface::QUIKitWindowSurface(QWidget *window)
: QWindowSurface(window), mPaintDevice(new EAGLPaintDevice(window->platformWindow()))
{
- setPartialUpdateSupport(false);
}
QPaintDevice *QUIKitWindowSurface::paintDevice()
@@ -89,4 +88,9 @@ void QUIKitWindowSurface::flush(QWidget *widget, const QRegion &region, const QP
widget->platformWindow()->glContext()->swapBuffers();
}
+QWindowSurface::WindowSurfaceFeatures QUIKitWindowSurface::features() const
+{
+ return PartialUpdates;
+}
+
QT_END_NAMESPACE