Diffusion Krita 9547c8d0e3b2

Delay purging of KisTextureTileInfoPoolSingleSize

Authored by poke1024 on Oct 23 2017, 2:20 PM.

Description

Delay purging of KisTextureTileInfoPoolSingleSize

Adds a KisSignalCompressor to the purge memory logic in KisTextureTileInfoPool, such that the pool items are not freed immediately as the pool allocation reaches 0, but only after a delay of 1s. This fixes a performance hit on some systems, where the pool gets completely freed and reallocated several times a second.

Differential Revision: https://phabricator.kde.org/D8279

Details

Committed
remptNov 2 2017, 8:01 AM
Differential Revision
D8279: Delay purging of KisTextureTileInfoPoolSingleSize
Parents
R37:069423ead7ab: Fix a leak in smudge radius options
Branches
Unknown
Tags
Unknown