Re: Clipfly & PFPHASE_LOCK

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++bvr.co.il)
Sun, 28 Mar 1999 12:38:46 +0200


Moshe Nissim wrote:

>
> Beside the sad fact that sginap() behaves this way on 6.5, why does Performer
> use this technique of sginap() loop at all?
> The OpenGL call glXWaitVideoSyncSGI() was constructed in such a way
> that it can wait not just simply for the next vertical retrace. From its man:
>
> glXWaitVideoSyncSGI puts the calling process to sleep until
> the value of the vertical retrace counter modulo divisor
> equals remainder.
>
> Wouldn't this be a better way to accomplish PFPHASE_LOCK ?
>
>

Hi Moshe,

I suppose that if you are using a swapbuffers callback for the pfPipe, you'de
like it to be called near the end of the frame. After you call glXWaiVideoSync,
you're too late.

Ran

--
 __                                  | Ran Yakir
 /_)  _  __   \  / _   / o __        | BVR Technologies Ltd.
/ )_ (_(_) )   \/ (_(_/<_(_)(        |
              _/                     |
-------------------------------------+--------------------------------
Phone :                              | E-mail : rany++at++bvr.co.il
  Work : 972-3-5715671 #166,#177     |
  Res. : 972-9-7489974               |
Fax    : 972-3-5715668               |

http://www.rtset.co.il/rany


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Sun Mar 28 1999 - 02:41:18 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.