https://bugs.kde.org/show_bug.cgi?id=369349

alvinhoc...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/krit |http://commits.kde.org/krit
                   |a/37b716206829048456b302e84 |a/11f0acc2ce291a020c7b53eb3
                   |a4222a7503c4b4d             |8a547a095553c00

--- Comment #13 from alvinhoc...@gmail.com ---
Git commit 11f0acc2ce291a020c7b53eb38a547a095553c00 by Alvin Wong.
Committed on 16/11/2016 at 10:50.
Pushed by alvinwong into branch 'rempt/impex-refactoring'.

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.
Maniphest Tasks: T4182
Differential Revision: https://phabricator.kde.org/D3321

M  +1    -0    libs/ui/CMakeLists.txt
M  +13   -0    libs/ui/kis_config.cc
M  +3    -0    libs/ui/kis_config.h
A  +85   -0    libs/ui/tool/KisStabilizerDelayedPaintHelper.cpp     [License:
GPL (v2+)]
A  +86   -0    libs/ui/tool/KisStabilizerDelayedPaintHelper.h     [License: GPL
(v2+)]
M  +44   -5    libs/ui/tool/kis_tool_freehand_helper.cpp

http://commits.kde.org/krita/11f0acc2ce291a020c7b53eb38a547a095553c00

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to