swapin(3G)swapin(3G)NAMEswapin - defines a minimum time between buffer swaps
FORTRAN 77 SPECIFICATION
subroutine swapin(i)
integer*4 i
PARAMETERS
i expects the number of retraces to wait before swapping the front and
back buffers. The default interval is 1.
DESCRIPTIONswapin defines a minimum number of retraces between buffer swaps. For
example, for a swap interval of 5, the system refreshes the screen at
least five times between successive buffer swaps. swapin changes frames
at a steady rate if a new image can be created within one swap interval.
Like the swapbu and mswapb commands that it affects, swapin is ignored by
framebuffers in single buffer mode.
A single swap interval counter is shared by the normal, overlay, and
underlay framebuffers. The interval is enforced between all buffer swap
requests, regardless of which framebuffers are swapped.
SEE ALSO
double, drawmo, mswapb, swapbu
NOTE
This routine is available only in immediate mode.
Page 1