Decora and Multithreading
Hi everyone (especially Chris, since i believe you might be one of the few that can answer the question)
After building the Decora SSE backend, i'm not so sure i can see a definitive increase in performance over the regular Java based renderer (a testament to the power of the vm :). However, i see that the backends (java & simd) only use one of my cpu cores.
I had a thought, since 1) the base jsl shader for an effect is the same for cpu based and gpu based renderers, and 2) i assume the style of coding in jsl shaders allows for parallel execution (otherwise i believe it would quite hard to generate pixel/fragment shaders), would it then be hard to add multithreading to those renderers so they use all the available cores.
The first idea that came to my mind was just to divide source content and give them to 'X instances' of the renderer code (inside the renderer singleton).
Is this a reasonable way ? Could i do it myself for instance ?
I haven't seen much activity in the svns for scenario and decora recently so i guess you must all be working on something else for the javafx sdk release - or on a private svn :( - and maybe you have other tricks up your sleeve for the software decora performance we don't know about (mind to share if it's the case) ?
BTW, the d3d backend perf rocks (and the zoomy demo is quite trippy, it's like getting back to the 70s)