diff options
author | con <qtc-committer@nokia.com> | 2011-04-15 08:04:56 (GMT) |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2011-04-15 09:15:33 (GMT) |
commit | a67ab4fd1065d434f4a14b72ee2d991a71af493c (patch) | |
tree | 5197a5217ca6fab07dfe9deac22dd97fbed6f5be | |
parent | e90c655dc88776947a0e98cc21f8e49069b09a45 (diff) | |
download | Qt-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.h | 1 | ||||
-rw-r--r-- | src/plugins/platforms/uikit/quikitwindowsurface.mm | 6 |
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 ®ion, 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 ®ion, const QP widget->platformWindow()->glContext()->swapBuffers(); } +QWindowSurface::WindowSurfaceFeatures QUIKitWindowSurface::features() const +{ + return PartialUpdates; +} + QT_END_NAMESPACE |