20class ThumbnailTextureProvider;
21class WindowThumbnailSource;
31 static std::shared_ptr<WindowThumbnailSource>
getOrCreate(QQuickWindow *window,
Window *handle);
47 QPointer<QQuickWindow> m_view;
48 QPointer<Window> m_handle;
50 std::shared_ptr<GLTexture> m_offscreenTexture;
51 std::unique_ptr<GLFramebuffer> m_offscreenTarget;
52 GLsync m_acquireFence = 0;
74 QSGNode *
updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *) override;
78 void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &value) override;
85 QImage fallbackImage() const;
86 QRectF paintedRect() const;
87 void updateImplicitSize();
void setWId(qulonglong wId)
QSGNode * updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) override
QSGTextureProvider * textureProvider() const override
bool isTextureProvider() const override
void releaseResources() override
void setClient(Window *client)
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &value) override
~WindowThumbnailSource() override
WindowThumbnailSource(QQuickWindow *view, Window *handle)
static std::shared_ptr< WindowThumbnailSource > getOrCreate(QQuickWindow *window, Window *handle)
std::shared_ptr< GLTexture > texture