Reconfigures the system.
void gconfig( )
The gconfig subroutine reconfigures the system by setting the requested modes. This subroutine must be called after any call to the overlay, underlay, doublebuffer, multimap, onemap, RGBmode, cmode, or singlebuffer subroutines.
After a call to the gconfig subroutine, the current writemask and color are reset to their default values. The contents of the color map do not change.
- The operation of this subroutine for the Supergraphics Processor Subsystem is modified. (See " Understanding the Adapter".)
- This subroutine cannot be used to add to a display list.
The example C language program overlay.c uses the qconfig subroutine to configure the system after calling the overlay subroutine and the doublebuffer subroutine.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
The POWERgraphics GXT1000 supports RGB and color index modes by creating separate separate and distinct X11 windows--one window is permanently in RGB mode, and the other is permanently in color index mode. The gconfig subroutine on this adapter merely redirects drawing into one of these two windows. This requires a round-trip to the X11 server causing gconfig to run more slowly than on earlier adapters.
The gconfig subroutine cannot be used to change the rendering mode (RGB mode versus colorindex mode) of windows created with the winX subroutine.
|/usr/include/gl/gl.h||Contains C language constant and variable type definitions for GL.|
|/usr/include/gl/fgl.h||Contains FORTRAN constant and variable type definitions for GL.|
Setting color map mode as the current mode with the cmode subroutine.
Setting the display mode to double buffer mode with the doublebuffer subroutine.
Organizing the color map as 16 small maps with the multimap subroutine.
Organizing the color map as one large map with the onemap subroutine.
Setting the number of bitplanes used for overlay with the overlay subroutine.
Setting a display mode that bypasses the color map with the RGBmode subroutine.
Setting the display mode to single buffer mode with the singlebuffer subroutine.
Setting the number of bitplanes used for underlay with the underlay subroutine.
Understanding the Adapter and Working in Color Map and RGB Modes.
Clearing, Resetting, and Initializing GL and Configuring the Frame Buffer.