• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Occasional stutter on animated window resize?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Occasional stutter on animated window resize?


  • Subject: Occasional stutter on animated window resize?
  • From: Jonathan del Strother <email@hidden>
  • Date: Fri, 21 Oct 2005 23:16:20 +0100

I'm using [window setFrame:target display:YES animate:YES] to zoom a window to fullscreen (like the QuickTime Pro fullscreen effect). Very occasionally, there's a nasty stutter as the window approaches about 90% of fullscreen, and I'm having problems pinpointing the cause.
I don't get any stuttering if I manually resize the window to a similar size.


I've been trying to profile the stutter with Shark, but I'm not doing very well - it's a very sporadic thing, and only stutters for half a second, so it's a little tricky to catch... My only potential culprit is that quite a bit of time seemed to be spent in _handleWindowNeedsDisplay->CGContextFillRect->ripc_Render- >ARGB32_mark, for the samples where stuttering occurred.

The window is filled with an OpenGL-based NSView. It can stutter even if I'm doing something as trivial as glClear(), glSwapAPPLE().


Any suggestions what I might be able to do to reduce this stutter, or tests that might help me find the cause?
Thanks
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Making transparent parts of an opengl view drop clicks to the application behind it
  • Next by Date: Re: OT: Cocoa or Carbon?
  • Previous by thread: Re: Making transparent parts of an opengl view drop clicks to the application behind it
  • Next by thread: [newbie] how to create an inspector
  • Index(es):
    • Date
    • Thread