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,
52 qreal sourceTransformFactor = 0) override;
54 const QPlatformTextureList *textures()
const {
return m_textures; }
56 void notifyComposited();
65 QRhiTexture *m_bsTextureWrapper;
66 QOpenGLContext *m_bsTextureContext;
67 QPlatformTextureList *m_textures;
68 QPlatformTextureList *m_lockedWidgetTextures;