doublebuffer() — Silicon Graphics
NAME
doublebuffer − sets the display mode to double buffer mode
SPECIFICATION
C
doublebuffer()
FORTRAN
subroutine double
Pascal
procedure doublebuffer;
DESCRIPTION
The IRIS has three display modes: single buffer, double buffer, and RGB. doublebuffer sets the display mode to double buffer mode. It does not take effect until you call gconfig. In double buffer mode, the bitplanes are partitioned into two groups, the front bitplane and the back bitplane. Double buffer mode displays only the front bitplanes. Drawing routines normally update only the back bitplanes; frontbuffer and backbuffer can override the default.
gconfig sets frontbuffer = FALSE (0) and backbuffer = TRUE (1) in double buffer mode.
SEE ALSO
backbuffer, frontbuffer, gconfig, getbuffer, getdisplaymode, RGBmode, singlebuffer, swapbuffers IRIS Graphics Programming, Section 6.1, Display Modes
NOTE
This routine is available only in immediate mode.
Version 2.5r1 — October 29, 1986