Re: [info-performer] Disabling VSYNC in Perfly (Performer for Windows)

Date view Thread view Subject view Author view

From: Paolo Farinelli (paolo++at++sgi.com)
Date: 08/12/2004 14:25:50


Hi,

On both win32 and linux,

pfInit will look for the environment variable PF_SYNC_TO_VBLANK.
If this is NOT set, or if it set to "1", then it will set the environment
variable __GL_SYNC_TO_VBLANK to "1" (and print a debug message).

So, you can unset __GL_SYNC_TO_VBLANK, and set
PF_SYNC_TO_VBLANK to "0" before runnig your performer app.

Regards,
Paolo

Alexander Lechner wrote:

>Hi
>
>Can't speak for Windows, but on Linux:
>When performer runs on NVIDIA hw pfInit sets the environment variable
>__GL_SYNC_TO_VBLANK=1 . Calling "unsetenv ("__GL_SYNC_TO_VBLANK")
>after pfInit does the trick.
>
>Regards,
>
>Alex
>
>

-- 
Paolo Farinelli                                           paolo++at++sgi.com
Member of Technical Staff, OpenGL Performer              1-650-933-1808
Silicon Graphics        1600 Amphitheatre Pkwy, Mountain View, CA 94043


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Aug 12 2004 - 14:26:25 PDT