diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-05-27 19:10:26 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-05-27 23:09:05 -0700 |
commit | 31c03632c303c6087768f37a8fe02bc8571f6560 (patch) | |
tree | f98dd4cf80fea40f0cda9ec1c95bf2e06f209d5a /src/til.c | |
parent | d86a346790c5405c29ba80cf200bba4f99bd775a (diff) |
modules/voronoi: split voronoi_calculate_distances()
Preparatory commit for doing the voronoi distance calculations in
parallel when possible, as part of render_fragment() instead of
all in prepare_frame().
Not all of the distance calculation work can easily be threaded,
but it should be possible to compute the post-seed distances
concurrently within the spatial bounds of the tiled fragment.
This commit doesn't actually change anything functionally, as
it's just splitting the old voronoi_calculate_distances() into
two and calling them both in succession still from
voronoi_prepare_frame().
Subsequent commits will work towards making the render_pass()
fragment-aware then ultimately moved to voronoi_render_fragment()
Diffstat (limited to 'src/til.c')
0 files changed, 0 insertions, 0 deletions