summaryrefslogtreecommitdiff
path: root/src/libs/txt
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-11-24 22:05:22 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-11-24 22:05:22 -0800
commit5be99f176e6bab0d3cb45aa396d4ab852719db5d (patch)
tree97c2292b0264fb60d547a4020a2cd5409208afed /src/libs/txt
parent7857405e735fcf4542f9022d8f9e00c176f86597 (diff)
snow: only create n_cpus fragments
Since snow_context_t needs another member anyways, stick n_cpus in there to inform the fragmenter of precisely how many fragments to make. This renderer doesn't benefit from tiling or any such locality, so it uses the slice fragmenter and really only benefits from as many fragments as there are CPUs. Any additional fragments is just wasted fragmenting overhead.
Diffstat (limited to 'src/libs/txt')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved