summaryrefslogtreecommitdiff
path: root/src/modules/sparkler
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-16 19:23:58 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-16 19:23:58 -0700
commitdeb98475a01a5e62d39109e9b703b567612260da (patch)
tree3a97fad07c293f61888eed5d79158ef8af3b83bb /src/modules/sparkler
parentc67cbbba4b6d5073ae7b3050b0e0f96b3ce8ba84 (diff)
modules/moire: some simple optimizations
Major gain comes from eliminating the cosf() from the inner loop... There's still a bunch left on the table for moire but even just these changes turn 19FPS into 81FPS over here for: '--module=compose,layers=moire\\\,centers\\\=2\,moire\\\,centers\\\=2\,moire\\\,centers\\\=2\,moire\\\,centers\\\=2,texture=none' '--video=mem,size=1366x768'
Diffstat (limited to 'src/modules/sparkler')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved