Initializes the graphics system.
Graphics Library (libgl.a)
void ginit( )
The ginit subroutine initializes the graphics environment to its default values for the global state attributes and creates a window that covers the screen. The ginit subroutine queues the REDRAW window manager device.
Call the ginit subroutine once, before any other GL subroutine.
The recommendation is to use the winopen subroutine for initialization functions to take advantage of the window manager and to avoid unexpected events in the event queue.
Note: This subroutine cannot be used to add to a display list.
The example C language program prompt.c uses the ginit subroutine to do a basic graphics setup.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
|/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.|
Initializing the graphics system without changing the color map with the gbegin subroutine.
Terminating a graphics program with the gexit subroutine.
Resetting all global state attributes to their initial values with the greset subroutine.
Creating a new window with the winopen subroutine.
Setting Drawing Attributes and Controlling Queues and Devices.
Understanding the Hardware Used by GL, Clearing, Resetting, and Initializing GL, and Windows and Input Control Overview.