[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: QRegion
From:       Cyrille Berger <cberger () cberger ! net>
Date:       2007-06-04 18:38:41
Message-ID: 200706042038.41821.cberger () cberger ! net
[Download RAW message or body]

On Monday 04 June 2007, Boudewijn Rempt wrote:
> Where does the use of QRegion show up?

When painting, it takes 40% of the painting time (and 30% of the remaining is 
taken by QMutex). I haven't looked at how faster/slower the projection 
happen.

As for QRegion, I haven't look at how it works, but considering the time spend 
I wouldn't be surprised if it isn't trying to do the merging of each QRect 
one after an other. Ah there doesn't seem to be a way to have our own list of 
rect and then add them all together :/ It sounds like an interesting 
algorithmic problem :)

-- 
Cyrille Berger
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic