diff options
Diffstat (limited to 'src/plugins/platforms/openwfd/qopenwfdbackingstore.cpp')
-rw-r--r-- | src/plugins/platforms/openwfd/qopenwfdbackingstore.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugins/platforms/openwfd/qopenwfdbackingstore.cpp b/src/plugins/platforms/openwfd/qopenwfdbackingstore.cpp new file mode 100644 index 0000000000..2638d8cd5a --- /dev/null +++ b/src/plugins/platforms/openwfd/qopenwfdbackingstore.cpp @@ -0,0 +1,25 @@ +#include "qopenwfdbackingstore.h" + +QOpenWFDBackingStore::QOpenWFDBackingStore(QWindow *window) + : QPlatformBackingStore(window) +{ +} + +QPaintDevice * QOpenWFDBackingStore::paintDevice() +{ + return &mImage; +} + +//we don't support flush yet :) +void QOpenWFDBackingStore::flush(QWindow *window, const QRegion ®ion, const QPoint &offset) +{ + Q_UNUSED(window); + Q_UNUSED(region); + Q_UNUSED(offset); +} + +void QOpenWFDBackingStore::resize(const QSize &size, const QRegion &staticContents) +{ + Q_UNUSED(staticContents); + mImage = QImage(size,QImage::Format_RGB32); +} |