For the next release
Boudewijn Rempt
boud at valdyas.org
Thu Aug 11 16:31:45 CEST 2005
On Thursday 11 August 2005 16:28, Bart Coppens wrote:
> On Thursday 11 August 2005 16:16, Boudewijn Rempt wrote:
> > If you use a timer, and every time the timer fires dry only a 10x10 area
> > of pixels, and make sure the areas you dry are distributed you might be
> > able to fake multithreading.
>
> I don't think the physics code can be easily distributed among tiles. From
> what I remember, the drying itself is a simple 'water-=1', but the entire
> processing that comes before that is a lot more complicated than that.
Even when running in a thread it may be important to distribute the activity
over the canvas, instead of doing it scanline by scanline. Cockshott warns
explicitly against the windscreen-wiper effect.
> That sounds very bad. So multithreaded krita will definitely need a lot
> more investigation to do. And that's probably not the best thing to spend
> our time on if we want to do a release in the near future.
Yes -- it's a bit harder with C++ than with Java, I discovered. But Michael
and I spent only one evening on it, not more -- and there may be an easy way
to serialize access to areas of interest and enable reading from the olddata
from one thread while writing to newdata of a single from another thread.
It's interesting stuff, but as you, say, if we start playing with that, we'll
never release, or at least not soon.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050811/400f41ef/attachment.pgp
More information about the kimageshop
mailing list