El dom, 22-10-2006 a las 23:04 +0100, Peter Clifton escribió:
[snip]
> Personally, I'd like to see the complete removal of cached screen coords
> unless it is deemed absolutely necessary. I did a brief (huge patch)
> test of this some months back, and discovered that at least for zooming
> (and possibly panning?) a large schematic, the speedup is noticable by
> _removing_ the caching. (Since a lot of recalculation is done at each
> zoom).
> 
> Removing cached screen coords (at least in their present form) is
> necessary to implement multiple views on a single open page. If
> necessary, perhaps it could be implemented in a more abstracted fashion,
> with cached coordinates saved per view, and invalidated / updated as
> necessary, rather than en-masse.
> 
> The drawing code is much simplified by the removal of the cached coords,
> and whilst there are only a few minor redraw bugs in gschem at the
> moment, I suspect it will be easier to get _zero_ redraw bugs without
> the extra complexity of the recalculation system at present.

I'd love to see the drawing code simpler than it is now. It gave me some
headaches while working on the zooming while moving/copying patch.

Maybe the best thing is to do that work on a separate branch, as I'm
doing now with the above patch, and let everybody test it and show their
thoughts.
However, I suspect CVS won't be able to manage the merging back to HEAD
of two different branches doing fundamental changes. So I think it's
better to finish the one currently in progress, and then start another
one to change the drawing system.

Regards,

Carlos



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to