summaryrefslogtreecommitdiff
path: root/src/modules/checkers
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-06 18:20:33 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-06 18:29:36 -0700
commite550c9e8c6ffcdc902b56393609e76a8b191b279 (patch)
tree338093ab62b64ea26b6550361541560148997907 /src/modules/checkers
parentf9f3a51227bc6966a7031ce473b3eed6ec89fe2c (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/checkers')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved