gEDA-dev: PCB GTK HID Speedups (PATCH for testing / comment)

Peter Clifton pcjc2 at cam.ac.uk
Sun Dec 23 22:54:35 EST 2007


Here is a patch to greatly speed up move operations on complex boards.
(Might help more generally too).

Its not a clean patch (it comments Draw() calls rather removing them at
this stage, as I want / need someone more familiar with the drawing
architecture to verify / confirm why this works without hurting the
drawing.

The portion to queue pending redraws to an idle function helps and is
much more like the lesstif hid, although might hurt the feel of
responsiveness when zooming. (My idle function might not have enough
priority, or perhaps it needs to be combined with a maximum elapsed time
before drawing).

Attached.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speedup.diff
Type: text/x-patch
Size: 5777 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071224/79c7580a/attachment.bin 


More information about the geda-dev mailing list