--===============4591928998884671194== Content-Type: multipart/alternative; boundary=00504502d9d0beeb9304b76e2eb0 --00504502d9d0beeb9304b76e2eb0 Content-Type: text/plain; charset=UTF-8 > > 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 --00504502d9d0beeb9304b76e2eb0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> 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 c= an
> make composition really slow.
How much of a problem is that now with the "strokes framework&qu= ot; ?

The needRect() defines which area of layers = below current layer will be prepared and passed to the current layer. So th= e merger creates a device, prepares the image of size needRect() on it, the= n 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 im= age (width/512)*(height/512) times). Optimizations will not work in the cas= e, 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 on= ly mask of their parent layer. In many cases this is the case for preview m= ask.

--
Dmitry Kazakov
--00504502d9d0beeb9304b76e2eb0-- --===============4591928998884671194== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============4591928998884671194==--