Diffusion Krita 54282a72cee6

Implement data pool for the chunks in openGL canvas updates

Authored by dkazakov on Jul 15 2016, 9:54 AM.

Description

Implement data pool for the chunks in openGL canvas updates

This patch implements KisTextureTileInfoPool. A special object that keeps
track of all the chunks allocated during the openGL canvas updates.

This class is also capable of tracking multiple openGL tile sizes
and color space pixel sizes.

It should fix the most of the memory fragmentation problems,
especially on Windows.

CCBUG:363334,364848

Details

Committed
dkazakovJul 15 2016, 10:01 AM
Parents
R37:550ff114cbae: Release all the tile pools forcefully when a document is closed
Branches
Unknown
Tags
Unknown