summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qioscontext.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2012-12-10 17:49:53 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:55:51 +0100
commit21965187096f8bde7866b05459444793e1a6c1b1 (patch)
tree099a58bd0cc98be844ffb4009040055d334786e4 /src/plugins/platforms/ios/qioscontext.h
parentd059866eb43a7415dd786a2bcba14f729d938675 (diff)
iOS: Update GL render buffers when the accociated window is resized
We keep track of the with and height of the FBO's buffers, and update their storage if the window size has changed since last time. Change-Id: I97788b69e7067a5b5b9f28e8498cf1bc5d2cf6ea Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qioscontext.h')
-rw-r--r--src/plugins/platforms/ios/qioscontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qioscontext.h b/src/plugins/platforms/ios/qioscontext.h
index 102aaaa387..b45917832c 100644
--- a/src/plugins/platforms/ios/qioscontext.h
+++ b/src/plugins/platforms/ios/qioscontext.h
@@ -62,6 +62,8 @@ public:
void doneCurrent();
GLuint defaultFramebufferObject(QPlatformSurface *) const;
+ GLuint defaultColorRenderbuffer(QPlatformSurface *) const;
+
QFunctionPointer getProcAddress(const QByteArray &procName);
EAGLContext *nativeContext() const;