diff options
author | Michael Dominic K <mdk@codethink.co.uk> | 2010-07-01 13:19:51 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-07-01 13:19:51 (GMT) |
commit | 7394aadc24bc5318fdd9498931a882f8b8533365 (patch) | |
tree | 0db9c328635475468e7263a2e1f33d08edc4494f /src/opengl/qgl_p.h | |
parent | 7727c6b2aa577f87e3d30adcf3fd96be5f62ded9 (diff) | |
download | Qt-7394aadc24bc5318fdd9498931a882f8b8533365.zip Qt-7394aadc24bc5318fdd9498931a882f8b8533365.tar.gz Qt-7394aadc24bc5318fdd9498931a882f8b8533365.tar.bz2 |
QGLWindowSurface support for partial updates via EGL_NOK_swap_region2
(if extension available).
Merge-request: 712
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index 34a6b7c..32feacd 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -334,6 +334,7 @@ public: void setVertexAttribArrayEnabled(int arrayIndex, bool enabled = true); void syncGlState(); // Makes sure the GL context's state is what we think it is + void swapRegion(const QRegion *region); #if defined(Q_WS_WIN) void updateFormatVersion(); |