I discovered that for large designs, running DBWredisplay will take
significant amounts of time even though there is no display to receive the result. However, the "suspendall" command only works if a window exists. The obvious solution is to set GrDisplayStatus to DISPLAY_SUSPEND whenever magic is run with the "-dnull" option. This should help speed up a lot of scripts, in particular where designs are large.
This commit is contained in:
parent
feeeccecda
commit
2462d6f220
|
|
@ -281,5 +281,8 @@ nullSetDisplay(dispType, outFileName, mouseFileName)
|
|||
GrScreenRect.r_xtop = 511;
|
||||
GrScreenRect.r_ytop = 483;
|
||||
|
||||
/* Set GrDisplayStatus to force graphics updates to be suspended */
|
||||
GrDisplayStatus = DISPLAY_SUSPEND;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue