[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 Version 4.1 for AIX: Programming Concepts

Appendix C. Adapter Description Table for GL

The following tables summarize the values returned by the getgdesc subroutine for each of the available adapters as follows:

Adapter Name Column Name
8-bit 3-D Color Graphics Processor 8-bit 3-D
24-bit 3-D Color Graphics Processor 24-bit 3-D
16-bit Supergraphics Processor Subsystem 16-bit SPS
48-bit Supergraphics Processor Subsystem 48-bit SPS
16-bit POWER Gt4 and POWER Gt4x16-bit Gt4/Gt4x
                         
48-bit POWER Gt4 and POWER Gt4x48-bit Gt4/Gt4x
                         
24-bit POWER GXT1000 GXT1000
48-bit POWER GXT1000 GXT1000

The return is the value of the requested characteristic, or -1 if the request is not valid or cannot be determined. An empty entry in the table indicates that the characteristic is specific to the individual system configuration.

getgdesc Queries
Inquiry 8-bit 3-D 24-bit 3-D 16-bit SPS 48-bit SPS 16-bit Gt4/Gt4x 48-bit Gt4/Gt4x
GD_ XMMAX -1 -1 -1 -1 -1 -1
GD_ YMMAX -1 -1 -1 -1 -1 -1
GD_ XPMAX 1280 1280 1280 1280 1280 1280
GD_ YPMAX 1024 1024 1024 1024 1024 1024
GD_ZMIN -0x 800000 -0x 800000 0 0 -0x 800000 -0x 800000
GD_ZMAX 0x7fffff 0x7fffff 0x1fffff 0x1fffff 0x7fffff 0x7fffff
GD_BITS_ ALPHA- BUFFER 0 0 0 0 0 0
GD_BITS_ CURSOR 2 2 2 2 2 2
GD_BITS_ OVERLAY 2 4 2 4 0 2
GD_BITS_ PLANE_ MASK 0 0 0 0 0 0
GD_BITS_ UNDER LAY 2 4 0 0 0 0
GD_BITS_ ZBUFFER 24 24 21 21 24 24
GD_BITS_ NORM_ DBL_ CMODE 4 12 8 8 8 8
GD_BITS_ NORM_ DBL_ RGB 4 12 8 24 8 24
GD_BITS_ NORM_ SNG_ CMODE 8 12 8 8 8 8
GD_BITS_ NORM_ SNG_ RGB 8 24 8 24 8 24
GD_BIT_ OVER- UNDER_ SHARED T T F F F F
GD_ LARGE_ MAP_ SIZE 256 4096 256 256 256 256
GD_ SMALL_ MAP_ SIZE 16 256



GD_NUM_ SMALL_ MAPS 16 16



GD_ POINT- SMOOTH_ CMODE T T



GD_ POINT- SMOOTH_ RGB F F



GD_LINE- SMOOTH_ CMODE T T F F T T
GD_LINE- SMOOTH_ RGB F F T T T T
GD_ SHADE- MODEL





GD_ SHADE- BUFFERS GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN
GD_ RGBMODE GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN
GD_ DITHER GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN
GD_SUBPIXEL_ LINE

0 0

GD_SUB- PIXEL_ PNT

0 0

GD_SUB- PIXEL_ POLY

0 0

GD_POLY MODE F F F F F F
GD_BITS_ LINESTYLE 16 16 16 16 32 32
GD_MAX_ LSREPEAT 255 255 252 252 64 64
GD_MAX_ NURBS_ ORDER 4 4 8 8 8 8
GD_MAX_ TRIM_ ORDER 8 8 8 8 8 8
GD_MAX_ PATTERN _SIZE 64 64 32 32 64 64
GD_MAX_ VERTS 255 255 255 255 255 255
GD_MAX_ ATTR_ STACK- DEPTH 16 16 16 16 16 16
GD_MAX_ MATRIX_ STACK- DEPTH 32 32 64 64 32 32
GD_MAX_ VIEWPORT _STACK- DEPTH 8 8 8 8 8 8
GD_ ZDRAW_ GEOM F F F F F F
GD_ ZDRAW_ PIXELS T T T T T T
GD_ BLEND F F T T

GD_ LIGHTING _TWOSIDE F F F F T T
GD_ BUTBOX





GD_DIALS





GD_VERT_RETRACE _FREQ 60 60 60 60 60 60
GD_ TEXTPORT T T T T T T
GD_ WSYS





getgdesc Queries for 3-D and SPS Adapters
Inquiry 8-bit 3-D 24-bit 3-D 16-bit SPS 48-bit SPS
GD_XMMAX -1 -1 -1 -1
GD_YMMAX -1 -1 -1 -1
GD_XPMAX 1280 1280 1280 1280
GD_YPMAX 1024 1024 1024 1024
GD_ZMIN -0x800000 -0x800000 0 0
GD_ZMAX 0x7fffff 0x7fffff 0x1fffff 0x1fffff
GD_BITS_ ALPHA- BUFFER 0 0 0 0
GD_BITS_ CURSOR 2 2 2 2
GD_BITS_ OVERLAY 2 4 2 4
GD_BITS_ PLANE_ MASK 0 0 0 0
GD_BITS_ UNDERLAY 2 4 0 0
GD_BITS_ ZBUFFER 24 24 21 21
GD_BITS_ NORM_DBL_ CMODE 4 12 8 8
GD_BITS_ NORM_DBL_ RGB 4 12 8 24
GD_BITS_ NORM_SNG_ CMODE 8 12 8 8
GD_BITS_ NORM_SNG_ RGB 8 24 8 24
GD_BITS_ OVER- UNDER_ SHARED T T F F
GD_LARGE _MAP_SIZE 256 4096 256 256
GD_SMALL _MAP_SIZE 16 256

GD_NUM_ SMALL_ MAPS 16 16

GD_POINT- SMOOTH_ CMODE T T

GD_POINT- SMOOTH_ RGB F F

GD_LINE- SMOOTH_ CMODE T T F F
GD_LINE- SMOOTH_ RGB F F T T
GD_SHADE- MODEL



GD_SHADE- BUFFERS GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN
GD_ RGBMODE GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN
GD_DITHER GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN GD_BF_ MAIN
GD_ SUBPIXEL_ LINE

0 0
GD_ SUBPIXEL_ PNT

0 0
GD_ SUBPIXEL_ POLY

0 0
GD_ POLYMODE F F F F
GD_BITS_ LINESTYLE 16 16 16 16
GD_MAX_ LSREPEAT 255 255 252 252
GD_MAX_ NURBS_ ORDER 4 4 8 8
GD_MAX_ TRIM_ ORDER 8 8 8 8
GD_MAX_ PATTERN_ SIZE 64 64 32 32
GD_MAX_ VERTS 255 255 255 255
GD_MAX_ ATTR_ STACK- DEPTH 16 16 16 16
GD_MAX_ MATRIX_ STACK- DEPTH 32 32 64 64
GD_MAX_ VIEWPORT_ STACK- DEPTH 8 8 8 8
GD_ZDRAW_ GEOM F F F F
GD_ZDRAW_ PIXELS T T T T
GD_BLEND F F T T
GD_ LIGHTING_ TWOSIDE F F F F
GD_ BUTBOX



GD_DIALS



GD_VERT_ RETRACE_ FREQ 60 60 60 60
GD_ TEXTPORT T T T T
GD_WSYS



getgdesc Queries for Gt4, Gt4x, and GXT1000 Adapters
Inquiry 16-bit Gt4/Gt4x 48-bit Gt4/Gt4x 24-bit GXT1000 48-bit GXT1000
GD_XMMAX -1 -1 -1 -1
GD_YMMAX -1 -1 -1 -1
GD_XPMAX 1280 1280 1280 1280
GD_YPMAX 1024 1024 1024 1024
GD_ZMIN -0x800000 -0x800000 0 0
GD_ZMAX 0x7fffff 0x7fffff 0xfffff 0xfffff
GD_BITS_ ALPHA- BUFFER 0 0 0 0
GD_BITS_ CURSOR 2 2 2 2
GD_BITS_ OVERLAY 0 2 8 8
GD_BITS_ PLANE_ MASK 0 0 0 0
GD_BITS_ UNDERLAY 0 0 0 0
GD_BITS_ ZBUFFER 24 24 24 24
GD_BITS_ NORM_DBL _CMODE 8 8 12 12
GD_BITS_ NORM_DBL _RGB 8 24 8 24
GD_BITS_ NORM_SNG _CMODE 8 8 12 12
GD_BITS_ NORM_SNG _RGB 8 24 8 24
GD_BITS_ OVER- UNDER_ SHARED F F F F
GD_LARGE _MAP_SIZE 256 256 4096 4096
GD_SMALL _MAP_SIZE



GD_NUM_ SMALL_ MAPS



GD_POINT- SMOOTH _CMODE

T T
GD_POINT- SMOOTH _RGB

T T
GD_LINE- SMOOTH_ CMODE T T T T
GD_LINE- SMOOTH_ RGB T T T T
GD_SHADE- MODEL



GD_SHADE- BUFFERS GD_BF_ MAIN GD_BF_ MAIN

GD_ RGBMODE GD_BF_ MAIN GD_BF_ MAIN

GD_ DITHER GD_BF_ MAIN GD_BF_ MAIN

GD_SUB- PIXEL_LINE



GD_SUB- PIXEL_PNT



GD_SUB- PIXEL_ POLY



GD_POLY- MODE F F F F
GD_BITS_ LINESTYLE 32 32 16 16
GD_MAX_ LSREPEAT 64 64 255 255
GD_MAX_ NURBS_ ORDER 8 8 6 6
GD_MAX_ TRIM_ ORDER 8 8 6 6
GD_MAX_ PATTERN _SIZE 64 64 32 32
GD_MAX_ VERTS 255 255 ? ?
GD_MAX_ ATTR_ STACK- DEPTH 16 16 16 16
GD_MAX_ MATRIX_ STACK- DEPTH 32 32 32 32
GD_MAX_ VIEWPORT _STACK- DEPTH 8 8 16 16
GD_ZDRAW _GEOM F F F F
GD_ZDRAW _PIXELS T T T T
GD_BLEND

F F
GD_ LIGHTING _TWOSIDE T T T T
GD_ BUTBOX



GD_DIALS



GD_VERT_ RETRACE _FREQ 60 60 ? ?
GD_ TEXTPORT T T T T
GD_WSYS




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