summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/drizzle/drizzle.c2
-rw-r--r--src/modules/julia/julia.c2
-rw-r--r--src/modules/meta2d/meta2d.c2
-rw-r--r--src/modules/mixer/mixer.c2
-rw-r--r--src/modules/moire/moire.c2
-rw-r--r--src/modules/plasma/plasma.c2
-rw-r--r--src/modules/roto/roto.c2
-rw-r--r--src/modules/shapes/shapes.c2
-rw-r--r--src/modules/snow/snow.c2
-rw-r--r--src/modules/strobe/strobe.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/drizzle/drizzle.c b/src/modules/drizzle/drizzle.c
index 83ba334..d85d904 100644
--- a/src/modules/drizzle/drizzle.c
+++ b/src/modules/drizzle/drizzle.c
@@ -133,7 +133,7 @@ static void drizzle_prepare_frame(til_module_context_t *context, til_stream_t *s
if (!til_stream_tap_context(stream, context, NULL, &ctxt->taps.rainfall))
*ctxt->rainfall = RAINFALL_CNT;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
for (unsigned i = 0; i < (unsigned)*ctxt->rainfall; i++) {
int x = rand_r(&ctxt->til_module_context.seed) % (PUDDLE_SIZE - 1);
diff --git a/src/modules/julia/julia.c b/src/modules/julia/julia.c
index e5ce433..82c899f 100644
--- a/src/modules/julia/julia.c
+++ b/src/modules/julia/julia.c
@@ -110,7 +110,7 @@ static void julia_prepare_frame(til_module_context_t *context, til_stream_t *str
{
julia_context_t *ctxt = (julia_context_t *)context;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
ctxt->rr += .01;
/* Rather than just sweeping creal,cimag from -2.0-+2.0, I try to keep things confined
diff --git a/src/modules/meta2d/meta2d.c b/src/modules/meta2d/meta2d.c
index 804e4fc..0cf7101 100644
--- a/src/modules/meta2d/meta2d.c
+++ b/src/modules/meta2d/meta2d.c
@@ -121,7 +121,7 @@ static void meta2d_prepare_frame(til_module_context_t *context, til_stream_t *st
{
meta2d_context_t *ctxt = (meta2d_context_t *)context;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
if (!til_stream_tap_context(stream, context, NULL, &ctxt->taps.min_t))
*ctxt->min_t = .7f;
diff --git a/src/modules/mixer/mixer.c b/src/modules/mixer/mixer.c
index 793df50..b9e4bfd 100644
--- a/src/modules/mixer/mixer.c
+++ b/src/modules/mixer/mixer.c
@@ -118,7 +118,7 @@ static void mixer_prepare_frame(til_module_context_t *context, til_stream_t *str
til_fb_fragment_t *fragment = *fragment_ptr;
size_t i = 0;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
mixer_update_taps(ctxt, stream, ticks);
diff --git a/src/modules/moire/moire.c b/src/modules/moire/moire.c
index a06549c..853b106 100644
--- a/src/modules/moire/moire.c
+++ b/src/modules/moire/moire.c
@@ -67,7 +67,7 @@ static void moire_prepare_frame(til_module_context_t *context, til_stream_t *str
{
moire_context_t *ctxt = (moire_context_t *)context;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
for (unsigned i = 0; i < ctxt->setup->n_centers; i++) {
ctxt->centers[i].x = cosf(ctxt->centers[i].seed + (float)ticks * .001f * ctxt->centers[i].dir);
diff --git a/src/modules/plasma/plasma.c b/src/modules/plasma/plasma.c
index 473574a..de14ed1 100644
--- a/src/modules/plasma/plasma.c
+++ b/src/modules/plasma/plasma.c
@@ -79,7 +79,7 @@ static void plasma_prepare_frame(til_module_context_t *context, til_stream_t *st
{
plasma_context_t *ctxt = (plasma_context_t *)context;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
ctxt->rr += 3;
}
diff --git a/src/modules/roto/roto.c b/src/modules/roto/roto.c
index ac6fa4f..8c9dd99 100644
--- a/src/modules/roto/roto.c
+++ b/src/modules/roto/roto.c
@@ -327,7 +327,7 @@ static void roto_prepare_frame(til_module_context_t *context, til_stream_t *stre
{
roto_context_t *ctxt = (roto_context_t *)context;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
// This governs the rotation and color cycle.
if (ticks != context->last_ticks) {
diff --git a/src/modules/shapes/shapes.c b/src/modules/shapes/shapes.c
index b32d7ce..56ad35a 100644
--- a/src/modules/shapes/shapes.c
+++ b/src/modules/shapes/shapes.c
@@ -203,7 +203,7 @@ static void shapes_destroy_context(til_module_context_t *context)
static void shapes_prepare_frame(til_module_context_t *context, til_stream_t *stream, unsigned ticks, til_fb_fragment_t **fragment_ptr, til_frame_plan_t *res_frame_plan)
{
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
/* TODO:
* I've implemented this ad-hoc here for shapes, but I think there's a case to be made that
diff --git a/src/modules/snow/snow.c b/src/modules/snow/snow.c
index 1640ff2..64a2d0d 100644
--- a/src/modules/snow/snow.c
+++ b/src/modules/snow/snow.c
@@ -39,7 +39,7 @@ static til_module_context_t * snow_create_context(const til_module_t *module, ti
static void snow_prepare_frame(til_module_context_t *context, til_stream_t *stream, unsigned ticks, til_fb_fragment_t **fragment_ptr, til_frame_plan_t *res_frame_plan)
{
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
}
diff --git a/src/modules/strobe/strobe.c b/src/modules/strobe/strobe.c
index a8d4237..1ed0b8b 100644
--- a/src/modules/strobe/strobe.c
+++ b/src/modules/strobe/strobe.c
@@ -54,7 +54,7 @@ static void strobe_prepare_frame(til_module_context_t *context, til_stream_t *st
{
strobe_context_t *ctxt = (strobe_context_t *)context;
- *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu };
+ *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 };
if (ctxt->flash_ready && (ticks - ctxt->ticks >= (unsigned)(ctxt->setup->period * 1000.f))){
ctxt->flash = 1;
© All Rights Reserved