Moving SVGTextureNode to KDeclarative
Marco Martin
notmart at gmail.com
Fri Oct 10 16:23:24 UTC 2014
On Friday 10 October 2014 17:58:04 Aleix Pol wrote:
> Hi,
> I'm looking into using QQuickItem to properly perform the QIconItem
> drawing, instead of QPainterItem. To do so, I thought it could be useful to
> use the SVGTextureNode for the ref-counting.
>
> It's quite a simple class, but it is quite useful. It's already used in 3
> of the classes within plasma framework. Also it doesn't look like it should
> change substantially.
>
> That would also mean renaming it into something else, because it has
> nothing to do with SVG. I suggest ManagedTextureNode.
>
> Thoughts?
> If no opposition, I'll try to get a review request in early next week.
> Aleix
also doesn't seem that SVGTextureNode does stuff fundamental enough to be put
in a public library, is just a QSGSimpleTextureNode with an internal shared
pointer, copying those 12 lines seems far less nasty than exporting symbols
or there is other code as well you need from there?
--
Marco Martin
More information about the Kde-frameworks-devel
mailing list