Diffusion Krita 36565b97efb0

Implement caching of paint devices in layer styles

Authored by dkazakov on Oct 2 2019, 6:33 PM.

Description

Implement caching of paint devices in layer styles

Creation of a paint device is an expensive operation, so layer styles
should cache them using KisCachedPaintDevice and KisCachedSelection.

The patch also implement a small RAII-concept for fetching a cached
device and returning it back to the store.

Details

Committed
dkazakovOct 2 2019, 7:41 PM
Parents
R37:02ea1386def5: Fix rounding in opacity of layer styles
Branches
Unknown
Tags
Unknown