desiboy's picture

FRAME SYNCHRONIZATION QUERY

Can anyone please assist me with this:

I am synchronizing the 120HzSamsungLCD with 120Hz Stereo projector using NVIDIA Quadro G-Sync and NVIDIA Quadro FX 4600 graphics card (it can support synchronization of both devices using one card) so that left/right images on LCD can synchronize with the left/right images on the projector.
I am using openGL to create two separate windows (one for samsungLCD and other for stereoprojector that shows left and right images alternatively) and want to enable buffer swaps of these two application windows using follwoing command so that windows running on these two systems can synchronize the application buffer swaps between them.(both system are already frame locked and running at same refresh rate of 119.993Hz).

BOOL JoinSwapGroupNV(HDC hDC, GLuint group);

but don't know where and how to use this command in openGL
any help will be greatly appreciated.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

By design, OpenTK doesn't expose wgl/glx/agl functions in its public API. However, it is quite easy to 'bind' those functions manually: see this post for example code (which actually contains JoinSwapGroupNV).

There is a feature request for adding a number of useful extensions to the public API (#1523: [WGL Extensions] JoinSwapGroupNV / Swap Barrier etc.) and I'm looking into releasing a separate add-on pack for wgl and glx at some future point.