Re: NOT synchronizing to vertical retrace
Rémi Arnaud (remi++at++remi.asd.sgi.com)
Wed, 15 Jan 1997 10:56:51 -0800 (PST)
Orad Hi-Tec Systems wrote:
>
> Angus Dorbie wrote:
> >
> > On Jan 14, 9:32pm, Orad Hi-Tec Systems wrote:
> > > Subject: NOT synchronizing to vertical retrace
> > > I want to synchronize my Performer app to an event different
> > > from a vertical retrace of the framebuffer (i.e., NOT to
> > > glXSwapBuffers(), glXWaitVideoSyncSGI(), etc.). If I refrain
> > > from calling pfSync() directly, it gets called internally by
> > > pfFrame().
> > > How can I do this?
> > > For simplicity, lets assume that we are running single-process.
> > >
> >
> > The video rate is king. Even if you lock the app to a different rate
> > you'll still experience problems because your draw will still render
> > to a multiple of the video. You either have to genlock the video to
> > bring the I.G. into line or use the vertical sync to lock your i/o.
> >
> > You could also try resampling the data to match your video rate and
> > don't bother with the lock. Usually this is less than an optimal
> > solution.
> >
> > Cheers,
> > Angus.
>
>
> The video rate is king only if I am rendering into the framebuffer.
> (And even then, only if the drawable is double-buffered and I am trying
> to swap the buffers).
> But here I am rendering to an off-screen PBuffer!
> (which of course doesn't need "swapbuffers")
Did you try to use a separate pfPipeWindow and set the pfPipe::setSwapFunc()
function ?
>
> Moshe Nissim
> Orad Hi-Tec Systems
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
_ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:54:21 PDT