https://bugs.kde.org/show_bug.cgi?id=399686

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED
                 CC|                            |k...@davidedmundson.co.uk

--- Comment #1 from David Edmundson <k...@davidedmundson.co.uk> ---
Relevant API to do it natively is
QSGTextureProvider *QQuickItem::textureProvider() const

Never done it before, but it doesn't seem too difficult. We generate
QSGTextures elsewhere in that same code; we just need to make this interim
class.

But in any case, what you're looking for is ShaderEffectSource which will work
for any item(s).

Not as performant as the above as it effectively renders then captures the
content, but it's fine for small cases.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to