Google made a game in QML, the TextureManager for QML's Image component might be interesting
Mark Gaiser
markg85 at gmail.com
Fri Jul 18 14:16:48 UTC 2014
Hi,
I don't know exactly how they use it, but they needed it for a QML
based game they call VoltAir. You can find the code here [1].
The issues they found while making the game can be found here [2].
Quite a few issues actually!
The "TextureManager" classes [3, 4]
I'm reporting this because i've just read the "Summary: Convert
FrameSvg to 9 textures: different approach" [5] and this stuff google
did (specially the texture manager) might be interesting for a SVG to
QSGTexture approach. It probably won't be a perfect drop in class for
you folks to use in Plasma, but it might be an interesting starting
point.
Cheers,
Mark
[1] https://github.com/google/VoltAir
[2] http://google.github.io/VoltAir/doc/main/html/index.html#24
[3] https://github.com/google/VoltAir/blob/develop/VoltAir/Engine/graphics/TextureManager.cpp
[4] https://github.com/google/VoltAir/blob/develop/VoltAir/Engine/graphics/TextureManager.h
[5] https://git.reviewboard.kde.org/r/119336/
More information about the Plasma-devel
mailing list