Re: NSWindow subclass VERY slow to resize

2010-03-26 Thread Jens Alfke
On Mar 26, 2010, at 11:08 AM, Daniel Weber wrote: It appears that drawing the rounded rect vs. a regular rect is slow. Also, I am filling using a pattern image vs. a solid color. These things add up to a pretty slow redraw at large sizes. I wouldn't expect those to be slow enough to notice. H

Re: NSWindow subclass VERY slow to resize

2010-03-26 Thread Paul Sanders
nders - Original Message - From: "Daniel Weber" To: Sent: Friday, March 26, 2010 6:08 PM Subject: Re: NSWindow subclass VERY slow to resize It appears that drawing the rounded rect vs. a regular rect is slow. Also, I am filling using a pattern image vs. a solid color. Thes

Re: NSWindow subclass VERY slow to resize

2010-03-26 Thread Daniel Weber
It appears that drawing the rounded rect vs. a regular rect is slow. Also, I am filling using a pattern image vs. a solid color. These things add up to a pretty slow redraw at large sizes. I can set the max size to something relative low, but does anyone have any other suggestions? How does a Find

Re: NSWindow subclass VERY slow to resize

2010-03-26 Thread Jens Alfke
On Mar 26, 2010, at 3:36 AM, Daniel Weber wrote: > Is there some way to speed this up? Could something else be going on? Sample it and find out. The way I do it is: sleep 5; sample MyApp 5 hit Return, immediately click your app’s window and start resizing. Keep going until the ‘sample