ImageTexturesCache
Open, Needs TriagePublic

Description

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.

Related Objects

StatusAssignedTask
OpenNone
OpenNone
mwolff created this task.Nov 23 2019, 11:34 AM

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.

nicolasfella moved this task from Backlog to Done on the KF6 board.Feb 18 2023, 10:27 PM