Diffusion Krita 11f0acc2ce29

Work around low framerate of stabilizer

Authored by alvinhochun on Nov 12 2016, 8:09 AM.

Description

Work around low framerate of stabilizer

Work around low framerate of stabilizer by delaying and painting the
stroke progressively.

The KisStabilizerDelayedPaintHelper class collects the sampled events
and distributes them evenly with a timestamp attached, then a timer firing
at a closer interval would paint the line bit by bit in order to give a
smoother user feedback.

The config option stabilizerDelayedPaintInterval with default value 20
controls the paint interval. The delayed painting is disabled if this
value is higher than stabilizerSampleSize, which means it is disabled by
default on non-Windows system.

BUG: 369349
Maniphest Tasks: T4182
Differential Revision: https://phabricator.kde.org/D3321

Details

Committed
alvinhochunNov 16 2016, 10:50 AM
Differential Revision
D3321: Work around low framerate of stabilizer
Parents
R37:c2c8830c2f8a: Remove unused stuff in KisStabilizedEventsSampler
Branches
Unknown
Tags
Unknown