diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-04-28 13:46:05 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-04-28 13:46:05 -0700 |
commit | 40897672efd931e0094c42db9c5f931da795f84f (patch) | |
tree | 9c9fff58fee0ccdb90542485d066f10ab2d608bd /src/modules/swab/swab.c | |
parent | 622483af261224355bd66734266773a136a1110f (diff) |
modules/swab: switch to tiled fragmenter
Quick FPS based comparisons shows this simple change gets a
nearly 10% FPS boost on this particular 4-core i7 laptop.
Diffstat (limited to 'src/modules/swab/swab.c')
-rw-r--r-- | src/modules/swab/swab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/swab/swab.c b/src/modules/swab/swab.c index a635e4d..7d7c440 100644 --- a/src/modules/swab/swab.c +++ b/src/modules/swab/swab.c @@ -96,7 +96,7 @@ static int swab_fragmenter(void *context, const til_fb_fragment_t *fragment, uns { swab_context_t *ctxt = context; - return til_fb_fragment_slice_single(fragment, ctxt->n_cpus, number, res_fragment); + return til_fb_fragment_tile_single(fragment, 64, number, res_fragment); } |