[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem with cairo rendering



> I would have thought that going back to a pure xlib hid would have
> the ability to make pcb feel pretty darn snappy especially on
> smaller layouts.

Note that the lesstif HID uses pure Xlib calls to do the actual board
rendering.

> Is it the polygon dicer maybe?

See patch.  If this (uncommented) interferes with rendering speed,
we're calling the dicer too many times.

> I wonder if we need to have a way to "unpour" polygons

Please!

Index: polygon.c
===================================================================
RCS file: /cvsroot/pcb/pcb/src/polygon.c,v
retrieving revision 1.59
diff -p -U3 -r1.59 polygon.c
--- polygon.c   2 Dec 2007 09:35:40 -0000       1.59
+++ polygon.c   6 May 2008 21:30:00 -0000
@@ -1414,6 +1414,8 @@ NoHolesPolygonDicer (PolygonTypePtr p, v
 {
   POLYAREA *save, *ans;
 
+  //fprintf(stderr, "Dicing %p ... ", p); sleep(2); fprintf(stderr, "done!\n");
+
   ans = save = poly_Create ();
   /* copy the main poly only */
   poly_Copy1 (save, p->Clipped);


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user