Release Readiness

Dmitry Kazakov dimula73 at gmail.com
Thu Jan 26 13:16:05 UTC 2012


> > As for small tiles you can try return the whole image as neededRect().
> But
> > make sure this filter is not available for filter layers, because it can
> > make composition really slow.
> How much of a problem is that now with the "strokes framework" ?
>

The needRect() defines which area of layers below current layer will be
prepared and passed to the current layer. So the merger creates a device,
prepares the image of size needRect() on it, then passes this device to the
current layer. Afterwards, all the data outside changeRect() will be thrown
away. So doing this hack will make the merger to do the same work many
times (exactly, it'll recalculate teh whole image (width/512)*(height/512)
times). Optimizations will not work in the case, because the merges are
based on requestedRect(), not need or change rect).

This hack will not create overhead only on Effect Mask which are the only
mask of their parent layer. In many cases this is the case for preview mask.

-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20120126/d7a0b639/attachment.html>


More information about the kimageshop mailing list