Diffusion Krita 7a68c33bc8af

Implement more strict brush update time calculation algorithm

Authored by dkazakov on Dec 1 2017, 1:18 PM.

Description

Implement more strict brush update time calculation algorithm

If the brush is fully cached while painting (e.g. "Deevad 2e big brush"),
then dabRenderignTime becomes almost null. And a lot of cached dabs are put
into the queue to be rendered on screen, which might take more than 100ms.

Therefore we should limit the number of dabs that can be fetched from
the queue in one go so that they would fit into the update period.

Ref T7309

Details

Committed
dkazakovDec 1 2017, 1:33 PM
Parents
R37:c556a62adb6a: Fix minor typos
Branches
Unknown
Tags
Unknown
Tasks
T7309: Multithreaded Brush bugs