Re: NSWindow subclass VERY slow to resize
Re: NSWindow subclass VERY slow to resize
- Subject: Re: NSWindow subclass VERY slow to resize
- From: Daniel Weber <email@hidden>
- Date: Fri, 26 Mar 2010 11:08:48 -0700
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 Finder window redraw so fast at large sizes?
On Fri, Mar 26, 2010 at 7:19 AM, Jens Alfke <email@hidden> wrote:
>
> 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’ command says it’s processing the samples.
>
> —Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden