summaryrefslogtreecommitdiff
path: root/src/modules/roto
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-04-27 09:53:50 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-04-27 14:17:07 -0700
commit4d57f2c2bbd147d8b141cbf49fd49eafd014e69b (patch)
tree70d9d00578c3aeb1cc316c41972281b1f2a3f18d /src/modules/roto
parentfc4e5f9d1e734affab9917558f19102a1331942f (diff)
sparkler: enable rudimentary threaded rendering
This moves most of the particle system maintenance into the serially executed sparkler_prepare_frame(), divides the frame into ncpus fragments, and leaves the draw to occur concurrently. The drawing must still currently process all particles and simply skips drawing those falling outside the fragment. Moving more of the computation out of prepare_frame() and into render_fragment() is left for future improvements, as it's a bit complex to do gainfully.
Diffstat (limited to 'src/modules/roto')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved