Added KoCachedGradient for optimizing gradient textures (and gradient brushtips in the future).
Also made some changes to KisTextureProperties::apply() to make it easier to optimize in the future if necessary.
Performance of gradient textures is greatly improved with the cached gradient, so might not be necessary.
- Conflicts:
- plugins/paintops/libpaintop/kis_texture_option.h