[Kde-games-devel] best way to get a sprite from current theme?

Stefan Majewsky stefan.majewsky at googlemail.com
Mon Jul 2 14:36:59 UTC 2012


On Thu, Jun 21, 2012 at 2:28 AM, Ian Wadham <iandw.au at gmail.com> wrote:
> AFAIK the SVG load step cannot be multi-threaded and it takes a large proportion
> of the time.

The SVG loading happens in worker threads, too. QSvgRenderer is
completely not thread-safe, so we need one QSvgRenderer instance per
thread. See KGRInternal::RendererPool in kgamerenderer{_p.h,.cpp}.

Greetings
Stefan


More information about the kde-games-devel mailing list