• 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
Re: Smooth Scrolling / Animation with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smooth Scrolling / Animation with Cocoa


  • Subject: Re: Smooth Scrolling / Animation with Cocoa
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 22 Nov 2004 09:03:23 +0100

At 11:32 Uhr -0800 19.11.2004, Mike Solomon wrote:
The timer fires approximately 30 times per second and my scroll velocity is 30 pps (pixels per second).

(...)

I have tried a few things to improve the drawing:
1. higher refresh rate (60, 90 Hz), no effect
2. very high refresh rate with culling (high frequency timer, skip drawing calls to emulate 30 frames per second, sort of a wall clock technique), no effect
3. wrote a sample using a programmatic NSClipView to scroll the items, no effect
4. renice the process to real time priority (renice -20 -p <pid>), no effect

Have you tried having less frames per second? I could see how you would run afoul of the vertical blank at 30 frames a second. Depends on what kind of screen you have, though.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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
References: 
 >Smooth Scrolling / Animation with Cocoa (From: Mike Solomon <email@hidden>)

  • Prev by Date: Re: NSPanel with just a close button & title on title bar?
  • Next by Date: Drag & Drop problem solved.
  • Previous by thread: Smooth Scrolling / Animation with Cocoa
  • Next by thread: resetting sorting on a tableview
  • Index(es):
    • Date
    • Thread