summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidgetbackingstore_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qwidgetbackingstore_p.h')
-rw-r--r--src/widgets/kernel/qwidgetbackingstore_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidgetbackingstore_p.h b/src/widgets/kernel/qwidgetbackingstore_p.h
index 2fe58fa4a7..e362ee4ac1 100644
--- a/src/widgets/kernel/qwidgetbackingstore_p.h
+++ b/src/widgets/kernel/qwidgetbackingstore_p.h
@@ -61,6 +61,7 @@
QT_BEGIN_NAMESPACE
class QPlatformTextureList;
+class QPlatformTextureListWatcher;
class QWidgetBackingStore;
struct BeginPaintInfo {
@@ -70,6 +71,7 @@ struct BeginPaintInfo {
uint backingStoreRecreated : 1;
};
+#ifndef QT_NO_OPENGL
class QPlatformTextureListWatcher : public QObject
{
Q_OBJECT
@@ -86,6 +88,7 @@ private:
bool m_locked;
QWidgetBackingStore *m_backingStore;
};
+#endif
class Q_AUTOTEST_EXPORT QWidgetBackingStore
{
@@ -135,6 +138,9 @@ private:
static bool flushPaint(QWidget *widget, const QRegion &rgn);
static void unflushPaint(QWidget *widget, const QRegion &rgn);
+ static void qt_flush(QWidget *widget, const QRegion &region, QBackingStore *backingStore,
+ QWidget *tlw, const QPoint &tlwOffset,
+ QPlatformTextureList *widgetTextures = 0);
void doSync();
bool bltRect(const QRect &rect, int dx, int dy, QWidget *widget);