From 40897672efd931e0094c42db9c5f931da795f84f Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 28 Apr 2022 13:46:05 -0700 Subject: 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. --- src/modules/swab/swab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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); } -- cgit v1.2.3