34 QOpenGLCompositorBackingStore(QWindow *window);
35 ~QOpenGLCompositorBackingStore();
37 QPaintDevice *paintDevice() override;
39 void beginPaint(
const QRegion ®ion) override;
41 void flush(QWindow *window,
const QRegion ®ion,
const QPoint &offset) override;
42 void resize(
const QSize &size,
const QRegion &staticContents) override;
44 QImage toImage()
const override;
46 FlushResult rhiFlush(QWindow *window,
47 qreal sourceDevicePixelRatio,
48 const QRegion ®ion,
50 QPlatformTextureList *textures,
51 bool translucentBackground) override;
53 const QPlatformTextureList *textures()
const {
return m_textures; }
55 void notifyComposited();
64 QRhiTexture *m_bsTextureWrapper;
65 QOpenGLContext *m_bsTextureContext;
66 QPlatformTextureList *m_textures;
67 QPlatformTextureList *m_lockedWidgetTextures;