diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-06 18:20:33 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-06 18:29:36 -0700 |
commit | e550c9e8c6ffcdc902b56393609e76a8b191b279 (patch) | |
tree | 338093ab62b64ea26b6550361541560148997907 /src/modules/stars/Makefile.am | |
parent | f9f3a51227bc6966a7031ce473b3eed6ec89fe2c (diff) |
modules/roto: only update fill_fb on changed ticks
In compositions where roto recurs in the same frame, it's
wasteful to keep rendering the fill_fb contents manifold for the
same tick. They shouldn't be varying anyways...
It'd be different if the fill_module rendered directly to the
output fragment in an overlay manner, but the current
roto implementation doesn't do that. It's just sampling fill_fb
like a tiled texture sampler would.
The performance hit here is easily observed by doing something
like:
--module='checkers,size=4,fill_module=roto\,fill_module\=moire' --video=mem --defaults --go
Before this change, FPS=1 on my i7 X230. After, FPS=~400.
Diffstat (limited to 'src/modules/stars/Makefile.am')
0 files changed, 0 insertions, 0 deletions