[Kst] branches/work/kst/portto4/kst/src
Adam Treat
treat at kde.org
Wed Oct 3 16:12:32 CEST 2007
On Wednesday 03 October 2007, Brisset, Nicolas wrote:
> > SVN commit 720290 by treat:
> >
> > * Debug and fixup the curve drawing. I *think* we are
> > comparable to the performance in 1.4.x now.
> > Doubtless more bugs, but still...
>
> He he, I can confirm this is much better. I don't really see a
> difference with 1.x at first glance (while yesterday was painfully slow,
> in my Cygwin/Xfree86 remote connection on an "old" FC2 Linux PC which is
> maybe a bit peculiar).
> Looking quickly at the diff, the only thing I saw that looked like more
> than a cosmetic change was:
>
> + painter->setRenderHint(QPainter::Antialiasing, false);
>
> Was this really the cause of all slowness or have I missed something ???
Yep, it sure was. Note, that we are planning on some performance improvements
in this version that *might* allow us to turn anti-aliasing back on or to
make it an option. Not sure how desirable that is, but the curves do look
better with antialiasing.
OTOH, looking for this also led me to a bugfix for the curves viewport. We
were not drawing the correct range before, but now we are. You plot the
gyrodata.dat vectors in portto4 and they look the same as in 1.4.x when the
plot is the same size :)
Cheers,
Adam
More information about the Kst
mailing list