summaryrefslogtreecommitdiff
path: root/src/modules
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/modules
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/modules')
-rw-r--r--src/modules/montage/montage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/montage/montage.c b/src/modules/montage/montage.c
index bf5aef4..92cf7dc 100644
--- a/src/modules/montage/montage.c
+++ b/src/modules/montage/montage.c
@@ -29,7 +29,7 @@ rototiller_module_t montage_module = {
.prepare_frame = montage_prepare_frame,
.render_fragment = montage_render_fragment,
.name = "montage",
- .description = "Rototiller montage",
+ .description = "Rototiller montage (threaded)",
.author = "Vito Caputo <vcaputo@pengaru.com>",
.license = "GPLv2",
};
© All Rights Reserved