I noticed that the next release of GCC is going to have OpenMP support. That could be a quick way to get some speedup in things that are essentially SIMD, like gaussian blur and other image filters.
--bb
On 4/7/07, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
Florian Ludwig wrote:
Hi,
is it possible to tell inkscape to make use of more than one cpu? (while rendering, svg to png)
No, Inkscape is very much single threaded. Thinking about this, it would probably not be very hard to make Inkscape uses multiple threads on a low level, as long as it's so low-level it doesn't use any libraries (in particular, I seem to remember the garbage collector isn't thread-safe, but I'm not 100% sure about that) or anything else that might not be thread-safe, but nobody has done so so far.
It might make an interesting project if you know C++ and want to try your hands on this (for something like Gaussian blur it would simply involve letting two or more threads process separate parts of the image, which should be relatively easy to program). My guess is that it would be worth it (performance wise), at least for certain expensive operations, but I have no idea how much performance gain you'd really get.
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user