Skip to content
Commit 551b0e25 authored by Halla Rempt's avatar Halla Rempt
Browse files

Optimize the creation of a flood selection

Flood selection uses KoColorSpace::difference which is very, very
expensive. Implement a simple cache that works in the most common
situation: 8 bit rgba (or any other colorspace where a pixel fits
exactly in a quint32).

It's still too slow, though.

CCBUG: 268212
parent fde3816c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment