summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt/qwinrtbackingstore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtbackingstore.h')
-rw-r--r--src/plugins/platforms/winrt/qwinrtbackingstore.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtbackingstore.h b/src/plugins/platforms/winrt/qwinrtbackingstore.h
index f00fa85a26..40728559f7 100644
--- a/src/plugins/platforms/winrt/qwinrtbackingstore.h
+++ b/src/plugins/platforms/winrt/qwinrtbackingstore.h
@@ -48,8 +48,8 @@
QT_BEGIN_NAMESPACE
class QWinRTScreen;
-class QOpenGLContext;
+class QWinRTBackingStorePrivate;
class QWinRTBackingStore : public QPlatformBackingStore
{
public:
@@ -60,19 +60,13 @@ public:
void endPaint();
void flush(QWindow *window, const QRegion &region, const QPoint &offset);
void resize(const QSize &size, const QRegion &staticContents);
- QImage toImage() const Q_DECL_OVERRIDE { return m_paintDevice; }
+ QImage toImage() const Q_DECL_OVERRIDE;
private:
bool initialize();
- bool m_initialized;
- QSize m_size;
- QScopedPointer<QOpenGLContext> m_context;
- quint32 m_shaderProgram;
- quint32 m_fbo;
- quint32 m_rbo;
- quint32 m_texture;
- QWinRTScreen *m_screen;
- QImage m_paintDevice;
+
+ QScopedPointer<QWinRTBackingStorePrivate> d_ptr;
+ Q_DECLARE_PRIVATE(QWinRTBackingStore)
};
QT_END_NAMESPACE