diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-10-22 10:17:56 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-10-22 15:43:43 (GMT) |
commit | 9d81ddd3da51166a9fc92073cf7ba508cdd22dd1 (patch) | |
tree | ce8986e23ca8f6ec5f520a10222785b478a30343 /src/opengl/qwindowsurface_gl_p.h | |
parent | 98824c2ebe97f61bf294b0be07ac164aed470fbf (diff) | |
download | Qt-9d81ddd3da51166a9fc92073cf7ba508cdd22dd1.zip Qt-9d81ddd3da51166a9fc92073cf7ba508cdd22dd1.tar.gz Qt-9d81ddd3da51166a9fc92073cf7ba508cdd22dd1.tar.bz2 |
Added support for blitting to native child widgets in GL window surface.
Support blitting by copying from the top-level window's back buffer to
a temporary texture and then blitting from the texture to the native
child widget. Performance suffers, but it's better than failing.
Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl/qwindowsurface_gl_p.h')
-rw-r--r-- | src/opengl/qwindowsurface_gl_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qwindowsurface_gl_p.h b/src/opengl/qwindowsurface_gl_p.h index ffc2e86..6906f35 100644 --- a/src/opengl/qwindowsurface_gl_p.h +++ b/src/opengl/qwindowsurface_gl_p.h @@ -107,6 +107,7 @@ private slots: private: void hijackWindow(QWidget *widget); + bool initializeOffscreenTexture(const QSize &size); QGLWindowSurfacePrivate *d_ptr; }; |