Diffusion Krita 0ca332c7089c

Fix hiccups when doing canvas actions

Authored by dkazakov on Jan 30 2020, 5:09 PM.

Description

Fix hiccups when doing canvas actions

Fixed KisSignalCompressor became too precise and tries to keep
the interval too hard. Sometimes the signal handler is too slow, in
such cases we should still give some time for event loop to execute.

To achieve that, KisSignalCompressor now has an additional operational
mode: "additive interval mode". When this mode is active, then interval
time is counted from the moment, when the execution path is returned from
the signal handler. In "precise interval mode" (default), in reverse, the
interval is counted from the moment, when start() signal arrives.

BUG:414576,415773
CC:kimageshop@kde.org

Details

Committed
dkazakovJan 31 2020, 2:06 PM
Parents
R37:1375973a8b29: Use OPENEXR_INCLUDE_DIRS instead of OPENEXR_INCLUDE_DIR
Branches
Unknown
Tags
Unknown