summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/flui2d/flui2d.c4
-rw-r--r--src/modules/julia/julia.c4
-rw-r--r--src/modules/plasma/plasma.c4
-rw-r--r--src/modules/ray/ray.c4
-rw-r--r--src/modules/roto/roto.c4
-rw-r--r--src/modules/snow/snow.c4
-rw-r--r--src/modules/sparkler/sparkler.c4
-rw-r--r--src/modules/submit/submit.c4
-rw-r--r--src/modules/swab/swab.c4
9 files changed, 18 insertions, 18 deletions
diff --git a/src/modules/flui2d/flui2d.c b/src/modules/flui2d/flui2d.c
index 1464c7d..b7aa1b1 100644
--- a/src/modules/flui2d/flui2d.c
+++ b/src/modules/flui2d/flui2d.c
@@ -208,9 +208,9 @@ static void flui2d_destroy_context(void *context)
}
-static int flui2d_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int flui2d_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
- return fb_fragment_tile_single(fragment, 64, num, res_fragment);
+ return fb_fragment_tile_single(fragment, 64, number, res_fragment);
}
diff --git a/src/modules/julia/julia.c b/src/modules/julia/julia.c
index ff44a70..22a79fd 100644
--- a/src/modules/julia/julia.c
+++ b/src/modules/julia/julia.c
@@ -102,11 +102,11 @@ static inline unsigned julia_iter(float real, float imag, float creal, float cim
}
-static int julia_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int julia_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
julia_context_t *ctxt = context;
- return fb_fragment_slice_single(fragment, ctxt->n_cpus, num, res_fragment);
+ return fb_fragment_slice_single(fragment, ctxt->n_cpus, number, res_fragment);
}
diff --git a/src/modules/plasma/plasma.c b/src/modules/plasma/plasma.c
index cf32a41..ba34054 100644
--- a/src/modules/plasma/plasma.c
+++ b/src/modules/plasma/plasma.c
@@ -59,11 +59,11 @@ static void plasma_destroy_context(void *context)
}
-static int plasma_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int plasma_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
plasma_context_t *ctxt = context;
- return fb_fragment_slice_single(fragment, ctxt->n_cpus, num, res_fragment);
+ return fb_fragment_slice_single(fragment, ctxt->n_cpus, number, res_fragment);
}
diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c
index ad710bc..dd33b19 100644
--- a/src/modules/ray/ray.c
+++ b/src/modules/ray/ray.c
@@ -136,9 +136,9 @@ static void ray_destroy_context(void *context)
}
-static int ray_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int ray_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
- return fb_fragment_tile_single(fragment, 64, num, res_fragment);
+ return fb_fragment_tile_single(fragment, 64, number, res_fragment);
}
diff --git a/src/modules/roto/roto.c b/src/modules/roto/roto.c
index 8e91c89..56ca08a 100644
--- a/src/modules/roto/roto.c
+++ b/src/modules/roto/roto.c
@@ -169,11 +169,11 @@ static void init_roto(uint8_t texture[256][256], int32_t *costab, int32_t *sinta
}
-static int roto_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int roto_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
roto_context_t *ctxt = context;
- return fb_fragment_slice_single(fragment, ctxt->n_cpus, num, res_fragment);
+ return fb_fragment_slice_single(fragment, ctxt->n_cpus, number, res_fragment);
}
diff --git a/src/modules/snow/snow.c b/src/modules/snow/snow.c
index cf3ffa7..8968e47 100644
--- a/src/modules/snow/snow.c
+++ b/src/modules/snow/snow.c
@@ -17,9 +17,9 @@
*/
static int snow_seed;
-static int snow_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int snow_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
- return fb_fragment_slice_single(fragment, 32, num, res_fragment);
+ return fb_fragment_slice_single(fragment, 32, number, res_fragment);
}
diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c
index 12138c9..b2de5ee 100644
--- a/src/modules/sparkler/sparkler.c
+++ b/src/modules/sparkler/sparkler.c
@@ -59,11 +59,11 @@ static void sparkler_destroy_context(void *context)
}
-static int sparkler_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int sparkler_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
sparkler_context_t *ctxt = context;
- return fb_fragment_slice_single(fragment, ctxt->n_cpus, num, res_fragment);
+ return fb_fragment_slice_single(fragment, ctxt->n_cpus, number, res_fragment);
}
static void sparkler_prepare_frame(void *context, unsigned ncpus, fb_fragment_t *fragment, rototiller_fragmenter_t *res_fragmenter)
diff --git a/src/modules/submit/submit.c b/src/modules/submit/submit.c
index 254cc78..7035a3a 100644
--- a/src/modules/submit/submit.c
+++ b/src/modules/submit/submit.c
@@ -284,9 +284,9 @@ static void submit_destroy_context(void *context)
}
-static int submit_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int submit_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
- return fb_fragment_tile_single(fragment, 32, num, res_fragment);
+ return fb_fragment_tile_single(fragment, 32, number, res_fragment);
}
diff --git a/src/modules/swab/swab.c b/src/modules/swab/swab.c
index 9c26da2..e4c3670 100644
--- a/src/modules/swab/swab.c
+++ b/src/modules/swab/swab.c
@@ -87,11 +87,11 @@ static void swab_destroy_context(void *context)
}
-static int swab_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment)
+static int swab_fragmenter(void *context, const fb_fragment_t *fragment, unsigned number, fb_fragment_t *res_fragment)
{
swab_context_t *ctxt = context;
- return fb_fragment_slice_single(fragment, ctxt->n_cpus, num, res_fragment);
+ return fb_fragment_slice_single(fragment, ctxt->n_cpus, number, res_fragment);
}
© All Rights Reserved