|
From: Joe E. <jen...@fl...> - 2005-03-10 20:01:16
|
Jim Ingham wrote: > > Have you played around with whether the double buffering is > necessary? The Aqua Tk code does this sometimes, but that is more > legacy and lack of time to see what we could rip out. Mac OS X > already double buffers all drawing, so if you are also drawing into a > pixmap, everything ends up getting drawn three times. Experiments show that this is still necessary on X11 and Windows to avoid "blinking". We can get by without it OK on X11 on really fast displays, but on older hardware and remote $DISPLAYs it's still helpful. Haven't tried on OSX though; it's worth a shot. Note that there might be coordinate system issues -- all of the aquaTheme element *Draw routines assume that the point (0,0) in QuickDraw coordinates corresponds to the top left corner of the widget after caling "SetGWorld(TkMacOSXGetDrawablePort(d), 0);". If the Drawable d is the Tk_WindowId of the widget instead of an off-screen pixmap, that won't be the case anymore. --Joe English jen...@fl... |