Re: VBL sync
Re: VBL sync
- Subject: Re: VBL sync
- From: Ricky Sharp <email@hidden>
- Date: Wed, 5 Apr 2006 16:20:58 -0500
On Apr 5, 2006, at 7:51 AM, Valerio Ferrucci wrote:
Hi,
does anyone can give me some hints about syncing my drawing with
the vertical retrace of the screen?
Note:
I'm not using OpenGL (no directly) but simple cocoa drawing
(NSBezierPath etc...)
Do you need to run on systems before 10.4 (Tiger)? On Tiger, drawing
is already synced up. Here's a quote from a while back on quartz-dev:
"one important change that will affect performance (and more likely
benchmarks) is flushing. For the past few years we've been telling
developers not to flush faster than the display refresh rate as that
is just wasteful, and in Tiger we will be enforcing this by making
every flush operation vbl syned. This is important to reduce or
eliminate visual tearing in the system and continue going forward
with glitch free playback in the system."
I know for my app which does tons of custom drawing, no tearing
exists when running on Tiger.
If you need further assistance, quartz-dev would be a better place to
ask.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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: | |
| >VBL sync (From: Valerio Ferrucci <email@hidden>) |