summaryrefslogtreecommitdiff
path: root/src/modules/stars/stars.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-05-01 11:27:23 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-01 13:49:57 -0700
commit45d1f956b35fa9003106716e42425cc86cadc7a1 (patch)
treef90106b3ac93981e37f4027caa5cf9c626ac3403 /src/modules/stars/stars.c
parenta4d50ba990cd8df5617bb945938aee7b5b556d11 (diff)
til: introduce some generic fragmenters for convenience
Most of the threaded modules have settled down on two basic forms of fragmenter function: 1. a slice per cpu, where tile-oriented locality isn't useful 2. ~64x64 tiles, in scenarios where screen-space locality helps Now that n_cpus is wired up to the fragmenter, #1 can be fulfilled without requiring a module-private context plumbing n_cpus from create_context(). A future commit will replace some module-specific fragmenters by returning one of these instead as res_fragmenter in their prepare_frame(), wherever applicable.
Diffstat (limited to 'src/modules/stars/stars.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved