diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-17 10:01:01 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-17 14:10:24 (GMT) |
commit | cb06b04338545ee3f0227faaa26d0f97addb5cdd (patch) | |
tree | 9fdbee6a0660255dbc72be803516bf22cab2f56a /src/opengl/qwindowsurface_x11gl_p.h | |
parent | 65313ab37780191c5aacd88f246aec6f8d839543 (diff) | |
download | Qt-cb06b04338545ee3f0227faaa26d0f97addb5cdd.zip Qt-cb06b04338545ee3f0227faaa26d0f97addb5cdd.tar.gz Qt-cb06b04338545ee3f0227faaa26d0f97addb5cdd.tar.bz2 |
Implement scrolling in QX11GLWindowSurface
Seems to have some artifacts when scrolling by 1 pixel, but apart
from that works pretty well.
Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qwindowsurface_x11gl_p.h')
-rw-r--r-- | src/opengl/qwindowsurface_x11gl_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_x11gl_p.h b/src/opengl/qwindowsurface_x11gl_p.h index 90f3ad5..3a952e8 100644 --- a/src/opengl/qwindowsurface_x11gl_p.h +++ b/src/opengl/qwindowsurface_x11gl_p.h @@ -70,7 +70,8 @@ public: bool scroll(const QRegion &area, int dx, int dy); private: - GC m_GC; + GC m_windowGC; + GC m_pixmapGC; QPixmap m_backBuffer; QWidget *m_window; }; |