kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #03913
Re: R2217 bugs
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"emmedics4" <marco.serantoni@...>
-
Date:
Fri, 15 Jan 2010 10:51:52 -0000
-
In-reply-to:
<4B4F90DB.7070103@...>
-
User-agent:
eGroups-EW/0.82
> > I'm unsure where the problem lies, but with wxAutoBufferedPaint the
> > drawing is really double buffered --> no flicker on zoom. There has to be
> > a very serious problem if one can get 80% Xorg and 30% PCBnew CPU usageon
> > C2D just by rolling zoom on an empty board (grid dots on). My gut feeling
> > is immediate drawing mode and not using wxGC. Isn't wxDC going to get
> > phased out soon too?
>
> This may fall under the category of be careful what you wish for. Many
> of the drawing problems in Kicad are a result of how wxDC is used rather
> than any inherent issues with wxDC. If the scaling, offsetting, and
> orientation of coordinates where done using wxDC instead of the Kicad
> drawing code, that would solve a great many problems. This would also
> make the upgrade path to wxGCDC a lot easier. There is also some
> drawing recursion that I am in the process of looking into as well.
I completly agree with you.
This is a long standing problem that i think should be attacked as soon as possible also in the mainstream SVN.
I think that code will be simplified much and we could exploit better the power of the modern UI API.
--
Marco
References