NVIDIA Corporation
Frame Synchronization User’s Guide
– Version 3.0
23
C
HAPTER
3
Using the OpenGL Extensions
Frame Synchronization Using the OpenGL Extensions
Swap sync refers to the synchronization of buffer swaps of multiple application windows.
By means of swap sync, applications running on multiple systems can synchronize the
application buffer swaps between all the systems.
Swap sync requires
• proper connection and synchronization of the timing signals
• a mechanism for binding several windows together so that buffer swaps can be
synchronized across all windows
About Buffer Swaps
Key Points and Definitions
Buffer swaps are performed on windows.
• Swap Groups
If buffer swaps must be synchronized across several windows on a single system, you
can define a “group” that consists of the specified windows.
• Swap Barriers
If buffer swaps must be synchronized across several systems, you can define a
“barrier” that consists of the specified groups.
Buffer Swap Criteria
The criteria for buffer swaps involves when a window is ready to swap and when a group
is ready to swap.
Window Buffer Swaps
Any
hDC
that is not a window—such as a non-visible rendering buffer—is always ready,
otherwise the following criteria must be satisfied before a buffer swap for a window can
be performed:
• The window itself must be ready, meaning:
•
A buffer swap command has been issued for it.
•
Its swap interval has elapsed.
• If the window belongs to a group, all the windows in the group must be ready.