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

Scott Petrovic <scottpetro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/krit |http://commits.kde.org/krit
                   |a/11f0acc2ce291a020c7b53eb3 |a/7d9d92a9bbcda54321c4d3515
                   |8a547a095553c00             |0688829356d8e08

--- Comment #18 from Scott Petrovic <scottpetro...@gmail.com> ---
Git commit 7d9d92a9bbcda54321c4d35150688829356d8e08 by Scott Petrovic, on
behalf of Alvin Wong.
Committed on 19/11/2016 at 15:23.
Pushed by scottpetrovic into branch 'petrovic/impex-brush-editor-ui'.

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/7d9d92a9bbcda54321c4d35150688829356d8e08

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

Reply via email to