[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

getdisplaymode Subroutine

Purpose

Returns the current display mode.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getdisplaymode( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETDIS

Description

The getdisplaymode subroutine returns the current configuration of the frame buffer bitplanes and color map.

Note: This subroutine cannot be used to add to a display list.

Return Values

Symbolic Name
C FORTRAN Display Mode
DMRGB DMRGB RGB single buffer mode
DMSINGLE DMSING Color map single buffer mode
DMDOUBLE DMDOUB Color map double buffer mode
DMRGBDOUBLE DMRGBD RGB double buffermode

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/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.

Related Information

Setting color mode as the current mode with the cmode subroutine.

Setting the display mode to double buffer mode with the doublebuffer subroutine.

Returning the organization of the current color map with the getcmmode subroutine.

Returning the current drawing mode with the getdrawmode subroutine.

Setting a display mode that bypasses the color map with the RGBmode subroutine.

Setting the display to single buffer mode with the singlebuffer subroutine.

Understanding the Hardware Used by GL, Creating Animated Scenes, Querying the System.

Working in Color Map and RGB Modes and Configuring the Frame Buffer for GL.


[ Previous | Next | Contents | Glossary | Home | Search ]