Why is this needed, isn't QtQuick doing this internally? How/when should this be used? The documentation is missing motivation - as is I have no clue why I should use this or how.
Description
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T12130 KDeclarative API Review | ||
Open | None | T12132 ImageTexturesCache |
Comment Actions
isn't QtQuick doing this internally
It does if you go through the "normal" Qt paths where Qt is responsible for creating the texture from an image.
Plasma is doing low level QSG stuff where we're creating the textures.
If we wanted to get this into Qt we would need a QQuickItem a bit like QQuickPaintedItem that has a method "setImage(QImage)" then we could get access to all the things we need.
It seems only Plasma ended up using it, so maybe it can be with SVGItem.