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

alvinhoc...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/krit
                   |                            |a/37b716206829048456b302e84
                   |                            |a4222a7503c4b4d
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from alvinhoc...@gmail.com ---
Git commit 37b716206829048456b302e84a4222a7503c4b4d by Alvin Wong.
Committed on 15/11/2016 at 14:09.
Pushed by alvinwong into branch 'krita/3.1'.

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.
CLose: 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/37b716206829048456b302e84a4222a7503c4b4d

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

Reply via email to