Re: VBL sync
Re: VBL sync
- Subject: Re: VBL sync
- From: "Corey O'Connor" <email@hidden>
- Date: Thu, 6 Apr 2006 11:01:53 -0700
Forgot to ask...
Are you using the 10.4 SDK in you XCode project? If you are on tiger
but linking to the 10.3 or below SDK then the VSync'd drawing is not
enforced I believe.
On 4/6/06, Corey O'Connor <email@hidden> wrote:
> Are you on Tiger?
>
> In this context, "flush" is the process of writing the window's
> back-buffers to the screen.
>
> -Corey
>
> On 4/6/06, Valerio Ferrucci <email@hidden> wrote:
> > What do you mean by "flush"?
> > I don't flush anything. I simply draw rects (and other stuffs) in my
> > "drawRect" routine.
> >
> > I see flickering when I scroll some elements in my view and I was
> > sure it was dued to VBL async draw.
> >
> >
> >
> >
> > Il giorno 05/apr/06, alle ore 23:20, Ricky Sharp ha scritto:
> >
> > >
> > > 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
> > >
> >
> > ==================================================================
> > Valerio Ferrucci Tabasoft Sas
> > email@hidden http://www.tabasoft.it
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> --
> -Corey O'Connor
>
--
-Corey O'Connor
_______________________________________________
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