35 QOpenGLCompositorBackingStore(QWindow *window);
36 ~QOpenGLCompositorBackingStore();
38 QPaintDevice *paintDevice() override;
40 void beginPaint(
const QRegion ®ion) override;
42 void flush(QWindow *window,
const QRegion ®ion,
const QPoint &offset) override;
43 void resize(
const QSize &size,
const QRegion &staticContents) override;
45 QImage toImage()
const override;
47 FlushResult rhiFlush(QWindow *window,
48 qreal sourceDevicePixelRatio,
49 const QRegion ®ion,
51 QPlatformTextureList *textures,
52 bool translucentBackground,
53 qreal sourceTransformFactor = 0) override;
55 const QPlatformTextureList *textures()
const {
return m_textures; }
57 void notifyComposited();
66 QRhiTexture *m_bsTextureWrapper;
67 QOpenGLContext *m_bsTextureContext;
68 QPlatformTextureList *m_textures;
69 QPlatformTextureList *m_lockedWidgetTextures;