summaryrefslogtreecommitdiff
path: root/src/libs/ray/ray_render.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-11-26 19:18:56 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-11-26 19:18:56 -0800
commit5f53f51e411189fc669c24be3852b42fa5121db5 (patch)
treef46e55f5543cfc27542d4b1628c303e1392e1b70 /src/libs/ray/ray_render.c
parenta1bcd46971f74e4fb6ac3b0242829601e390572f (diff)
montage: add (threaded) to description
While the montage doesn't deeply thread the per-tile/module rendering, the per-frame rendering is threaded with a work unit granularity of every module's tile. Meaning every module renders its tile in a single thread, but the tiles are all rendered in parallel. For the most part this works, and will only work better as more modules are added to rototiller increasing the granularity. In the mean time it's a bit coarse and some modules can be a lot more costly to render than others, and there can be a shortage of modules to schedule on idle CPUs. It would be an interesting task to try make each module's tile get subfragmented elastically. I didn't make any attempt to do that, but it might even be worthwhile on hidpi screens where even those small tiles may have a whole lot of pixels, especially on manycore CPUs.
Diffstat (limited to 'src/libs/ray/ray_render.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved