diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-16 19:23:58 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-16 19:23:58 -0700 |
commit | deb98475a01a5e62d39109e9b703b567612260da (patch) | |
tree | 3a97fad07c293f61888eed5d79158ef8af3b83bb /src/modules/snow | |
parent | c67cbbba4b6d5073ae7b3050b0e0f96b3ce8ba84 (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/snow')
0 files changed, 0 insertions, 0 deletions