OpenGL implementation limits | |
| #define | MAX_MODELVIEW_STACK_DEPTH 32 |
| Maximum modelview matrix stack depth. More... | |
| #define | MAX_PROJECTION_STACK_DEPTH 32 |
| Maximum projection matrix stack depth. More... | |
| #define | MAX_TEXTURE_STACK_DEPTH 10 |
| Maximum texture matrix stack depth. More... | |
| #define | MAX_COLOR_STACK_DEPTH 4 |
| Maximum color matrix stack depth. More... | |
| #define | MAX_ATTRIB_STACK_DEPTH 16 |
| Maximum attribute stack depth. More... | |
| #define | MAX_CLIENT_ATTRIB_STACK_DEPTH 16 |
| Maximum client attribute stack depth. More... | |
| #define | MAX_LIST_NESTING 64 |
| Maximum recursion depth of display list calls. More... | |
| #define | MAX_LIGHTS 8 |
| Maximum number of lights. More... | |
| #define | MAX_CLIP_PLANES 6 |
| Maximum user-defined clipping planes. More... | |
| #define | MAX_PIXEL_MAP_TABLE 256 |
| Maximum pixel map lookup table size. More... | |
| #define | MAX_AUX_BUFFERS 4 |
| Maximum Number of auxillary color buffers. More... | |
| #define | MAX_EVAL_ORDER 30 |
| Maximum order (degree) of curves. More... | |
| #define | MAX_NAME_STACK_DEPTH 64 |
| Maximum Name stack depth. More... | |
| #define | MIN_POINT_SIZE 1.0 |
| Minimum point size. More... | |
| #define | MAX_POINT_SIZE 20.0 |
| Maximum point size. More... | |
| #define | POINT_SIZE_GRANULARITY 0.1 |
| Point size granularity. More... | |
| #define | MIN_LINE_WIDTH 1.0 |
| Minimum line width. More... | |
| #define | MAX_LINE_WIDTH 10.0 |
| Maximum line width. More... | |
| #define | LINE_WIDTH_GRANULARITY 0.1 |
| Line width granularity. More... | |
| #define | MAX_COLOR_TABLE_SIZE 256 |
| Max texture palette / color table size. More... | |
| #define | MAX_TEXTURE_LEVELS 12 |
| Number of 1D/2D texture mipmap levels. More... | |
| #define | MAX_3D_TEXTURE_LEVELS 9 |
| Number of 3D texture mipmap levels. More... | |
| #define | MAX_CUBE_TEXTURE_LEVELS 12 |
| Number of cube texture mipmap levels - GL_ARB_texture_cube_map. More... | |
| #define | MAX_TEXTURE_RECT_SIZE 2048 |
| Maximum rectangular texture size - GL_NV_texture_rectangle. More... | |
| #define | MAX_TEXTURE_UNITS 8 |
| Number of texture units - GL_ARB_multitexture. More... | |
Separate numbers of texture coordinates and texture image units. | |
| These values will eventually replace most instances of MAX_TEXTURE_UNITS.
We should always have MAX_TEXTURE_COORD_UNITS <= MAX_TEXTURE_IMAGE_UNITS. And, GL_MAX_TEXTURE_UNITS <= MAX_TEXTURE_COORD_UNITS. | |
| #define | MAX_TEXTURE_COORD_UNITS 8 |
| #define | MAX_TEXTURE_IMAGE_UNITS 8 |
Mesa-specific parameters | |
| #define | TRIANGLE_WALK_DOUBLE 0 |
| If non-zero use GLdouble for walking triangle edges, for better accuracy. More... | |
| #define | ACCUM_BITS 16 |
| Bits per accumulation buffer color component: 8, 16 or 32. More... | |
| #define | DEFAULT_SOFTWARE_DEPTH_BITS 16 |
| Bits per depth buffer value. More... | |
| #define | DEFAULT_SOFTWARE_DEPTH_TYPE GLushort |
| Depth buffer data type. More... | |
| #define | STENCIL_BITS 8 |
| Bits per stencil value: 8. More... | |
| #define | CHAN_BITS 8 |
| Bits per color channel: 8, 16 or 32. More... | |
| #define | RCOMP 0 |
| #define | GCOMP 1 |
| #define | BCOMP 2 |
| #define | ACOMP 3 |
| #define | FEATURE_ARB_vertex_buffer_object _HAVE_FULL_GL |
| #define | FEATURE_ARB_vertex_program _HAVE_FULL_GL |
| #define | FEATURE_ARB_fragment_program _HAVE_FULL_GL |
| #define | FEATURE_ARB_occlusion_query _HAVE_FULL_GL |
| #define | FEATURE_EXT_pixel_buffer_object _HAVE_FULL_GL |
| #define | FEATURE_MESA_program_debug _HAVE_FULL_GL |
| #define | FEATURE_NV_fence _HAVE_FULL_GL |
| #define | FEATURE_NV_fragment_program _HAVE_FULL_GL |
| #define | FEATURE_NV_vertex_program _HAVE_FULL_GL |
| #define | FEATURE_userclip _HAVE_FULL_GL |
| #define | FEATURE_texgen _HAVE_FULL_GL |
| #define | FEATURE_windowpos _HAVE_FULL_GL |
Defines | |
| #define | MAX_WIDTH 4096 |
| Maximum viewport/image width. More... | |
| #define | MAX_HEIGHT 4096 |
| Maximum viewport/image height. More... | |
| #define | MAX_ARRAY_LOCK_SIZE 3000 |
| Maxmimum size for CVA. More... | |
| #define | SUB_PIXEL_BITS 4 |
| Subpixel precision for antialiasing, window coordinate snapping. More... | |
| #define | HISTOGRAM_TABLE_SIZE 256 |
| Size of histogram tables. More... | |
| #define | MAX_CONVOLUTION_WIDTH 9 |
| Max convolution filter width. More... | |
| #define | MAX_CONVOLUTION_HEIGHT 9 |
| Max convolution filter height. More... | |
| #define | MAX_COMPRESSED_TEXTURE_FORMATS 25 |
| For GL_ARB_texture_compression. More... | |
| #define | MAX_TEXTURE_MAX_ANISOTROPY 16.0 |
| For GL_EXT_texture_filter_anisotropic. More... | |
| #define | MAX_TEXTURE_LOD_BIAS 11.0 |
| For GL_EXT_texture_lod_bias (typically MAX_TEXTURE_LEVELS - 1). More... | |
|
|
Bits per accumulation buffer color component: 8, 16 or 32.
|
|
|
|
|
|
|
|
|
Bits per color channel: 8, 16 or 32.
|
|
|
Bits per depth buffer value. Any reasonable value up to 31 will work. 32 doesn't work because of integer overflow problems in the rasterizer code. |
|
|
Depth buffer data type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Size of histogram tables.
|
|
|
Line width granularity.
|
|
|
Number of 3D texture mipmap levels.
|
|
|
Maxmimum size for CVA. May be overridden by the drivers. |
|
|
Maximum attribute stack depth.
|
|
|
Maximum Number of auxillary color buffers.
|
|
|
Maximum client attribute stack depth.
|
|
|
Maximum user-defined clipping planes.
|
|
|
Maximum color matrix stack depth.
|
|
|
Max texture palette / color table size.
|
|
|
For GL_ARB_texture_compression.
|
|
|
Max convolution filter height.
|
|
|
Max convolution filter width.
|
|
|
Number of cube texture mipmap levels - GL_ARB_texture_cube_map.
|
|
|
Maximum order (degree) of curves.
|
|
|
For GL_ARB_fragment_program.
|
|
|
|
|
|
|
|
|
|
|
|
Maximum viewport/image height.
|
|
|
Maximum number of lights.
|
|
|
Maximum line width.
|
|
|
Maximum recursion depth of display list calls.
|
|
|
Maximum modelview matrix stack depth.
|
|
|
Maximum Name stack depth.
|
|
|
|
|
|
For GL_NV_fragment_program.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For GL_NV_vertex_program.
|
|
|
|
|
|
|
|
|
|
|
|
Maximum pixel map lookup table size.
|
|
|
Maximum point size.
|
|
|
For any program target/extension.
|
|
|
|
|
|
|
|
|
Maximum projection matrix stack depth.
|
|
|
|
|
|
|
|
|
Number of 1D/2D texture mipmap levels.
|
|
|
For GL_EXT_texture_lod_bias (typically MAX_TEXTURE_LEVELS - 1).
|
|
|
For GL_EXT_texture_filter_anisotropic.
|
|
|
Maximum rectangular texture size - GL_NV_texture_rectangle.
|
|
|
Maximum texture matrix stack depth.
|
|
|
Number of texture units - GL_ARB_multitexture.
|
|
|
For GL_ARB_vertex_program.
|
|
|
|
|
|
Maximum viewport/image width. Must accomodate all texture sizes too. |
|
|
Minimum line width.
|
|
|
Minimum point size.
|
|
|
Point size granularity.
|
|
|
|
|
|
Bits per stencil value: 8.
|
|
|
Subpixel precision for antialiasing, window coordinate snapping.
|
|
|
If non-zero use GLdouble for walking triangle edges, for better accuracy.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001