summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpixmapdata_x11gl_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-15 09:10:19 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-17 14:09:55 (GMT)
commita45cec6a22c70f0b0d7e066822a74b2172d5f397 (patch)
treec2b8d7eda5a2d54120034c364d8688686f21ce4f /src/opengl/qpixmapdata_x11gl_p.h
parentf9b0efc17962df74a67d81daca5814af93a5fb97 (diff)
downloadQt-a45cec6a22c70f0b0d7e066822a74b2172d5f397.zip
Qt-a45cec6a22c70f0b0d7e066822a74b2172d5f397.tar.gz
Qt-a45cec6a22c70f0b0d7e066822a74b2172d5f397.tar.bz2
Add ultra-paranoid synchronization to QX11GLPixmapData
This is completely over the top and many of these synchronisation points should be removed before doing any serious benchmarking. However, it makes sure any remaining bugs are not due to GPU & CPU being out of sync. Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qpixmapdata_x11gl_p.h')
-rw-r--r--src/opengl/qpixmapdata_x11gl_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/opengl/qpixmapdata_x11gl_p.h b/src/opengl/qpixmapdata_x11gl_p.h
index 83cd780..8681336 100644
--- a/src/opengl/qpixmapdata_x11gl_p.h
+++ b/src/opengl/qpixmapdata_x11gl_p.h
@@ -71,6 +71,11 @@ public:
QX11GLPixmapData();
virtual ~QX11GLPixmapData();
+ // Re-implemented from QX11PixmapData:
+ void fill(const QColor &color);
+ void copy(const QPixmapData *data, const QRect &rect);
+ bool scroll(int dx, int dy, const QRect &rect);
+
// Re-implemented from QGLPaintDevice
QPaintEngine* paintEngine() const; // Also re-implements QX11PixmapData::paintEngine
void beginPaint();