Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenconfig.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 7.3 00004 * 00005 * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. 00006 * Copyright (C) 2008 VMware, Inc. All Rights Reserved. 00007 * 00008 * Permission is hereby granted, free of charge, to any person obtaining a 00009 * copy of this software and associated documentation files (the "Software"), 00010 * to deal in the Software without restriction, including without limitation 00011 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00012 * and/or sell copies of the Software, and to permit persons to whom the 00013 * Software is furnished to do so, subject to the following conditions: 00014 * 00015 * The above copyright notice and this permission notice shall be included 00016 * in all copies or substantial portions of the Software. 00017 * 00018 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00019 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00020 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00021 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00022 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00023 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00024 */ 00025 00031 #ifndef MESA_CONFIG_H_INCLUDED 00032 #define MESA_CONFIG_H_INCLUDED 00033 00034 00035 #include "main/mfeatures.h" 00036 00037 00042 00044 #define MAX_MODELVIEW_STACK_DEPTH 32 00045 00047 #define MAX_PROJECTION_STACK_DEPTH 32 00048 00050 #define MAX_TEXTURE_STACK_DEPTH 10 00051 00053 #define MAX_COLOR_STACK_DEPTH 4 00054 00056 #define MAX_ATTRIB_STACK_DEPTH 16 00057 00059 #define MAX_CLIENT_ATTRIB_STACK_DEPTH 16 00060 00062 #define MAX_LIST_NESTING 64 00063 00065 #define MAX_LIGHTS 8 00066 00068 #define MAX_CLIP_PLANES 6 00069 00071 #define MAX_PIXEL_MAP_TABLE 256 00072 00074 #define MAX_AUX_BUFFERS 4 00075 00077 #ifdef AMIGA 00078 # define MAX_EVAL_ORDER 12 00079 #else 00080 # define MAX_EVAL_ORDER 30 00081 #endif 00082 00084 #define MAX_NAME_STACK_DEPTH 64 00085 00087 #define MIN_POINT_SIZE 1.0 00088 00089 #define MAX_POINT_SIZE 60.0 00090 00091 #define POINT_SIZE_GRANULARITY 0.1 00092 00094 #define MIN_LINE_WIDTH 1.0 00095 00096 #define MAX_LINE_WIDTH 10.0 00097 00098 #define LINE_WIDTH_GRANULARITY 0.1 00099 00101 #define MAX_COLOR_TABLE_SIZE 256 00102 00104 #define MAX_TEXTURE_LEVELS 12 00105 00107 #define MAX_3D_TEXTURE_LEVELS 9 00108 00110 #define MAX_CUBE_TEXTURE_LEVELS 12 00111 00113 #define MAX_TEXTURE_RECT_SIZE 2048 00114 00116 #define MAX_ARRAY_TEXTURE_LAYERS 64 00117 00123 #define MAX_TEXTURE_COORD_UNITS 8 00124 00129 #define MAX_TEXTURE_IMAGE_UNITS 16 00130 00138 #define MAX_TEXTURE_UNITS ((MAX_TEXTURE_COORD_UNITS > MAX_TEXTURE_IMAGE_UNITS) ? MAX_TEXTURE_COORD_UNITS : MAX_TEXTURE_IMAGE_UNITS) 00139 00140 00144 #define MAX_WIDTH 4096 00145 00146 #define MAX_HEIGHT 4096 00147 00149 #define MAX_ARRAY_LOCK_SIZE 3000 00150 00152 #define SUB_PIXEL_BITS 4 00153 00155 #define HISTOGRAM_TABLE_SIZE 256 00156 00158 #define MAX_CONVOLUTION_WIDTH 9 00159 00160 #define MAX_CONVOLUTION_HEIGHT 9 00161 00163 #define MAX_COMPRESSED_TEXTURE_FORMATS 25 00164 00166 #define MAX_TEXTURE_MAX_ANISOTROPY 16.0 00167 00169 #define MAX_TEXTURE_LOD_BIAS 11.0 00170 00173 #define MAX_VERTEX_PROGRAM_ADDRESS_REGS 1 00174 #define MAX_VERTEX_PROGRAM_ATTRIBS 16 00175 00179 #define MAX_FRAGMENT_PROGRAM_ADDRESS_REGS 0 00180 #define MAX_FRAGMENT_PROGRAM_ALU_INSTRUCTIONS 48 00181 #define MAX_FRAGMENT_PROGRAM_TEX_INSTRUCTIONS 24 00182 #define MAX_FRAGMENT_PROGRAM_TEX_INDIRECTIONS 4 00183 00187 #define MAX_PROGRAM_LOCAL_PARAMS 256 00188 #define MAX_PROGRAM_ENV_PARAMS 128 00189 #define MAX_PROGRAM_MATRICES 8 00190 #define MAX_PROGRAM_MATRIX_STACK_DEPTH 4 00191 #define MAX_PROGRAM_CALL_DEPTH 8 00192 #define MAX_PROGRAM_TEMPS 128 00193 #define MAX_PROGRAM_ADDRESS_REGS 2 00194 #define MAX_UNIFORMS 1024 00195 #define MAX_VARYING 8 00196 #define MAX_SAMPLERS MAX_TEXTURE_IMAGE_UNITS 00197 #define MAX_PROGRAM_INPUTS 32 00198 #define MAX_PROGRAM_OUTPUTS 32 00199 00203 #define MAX_NV_VERTEX_PROGRAM_INSTRUCTIONS 128 00204 #define MAX_NV_VERTEX_PROGRAM_TEMPS 12 00205 #define MAX_NV_VERTEX_PROGRAM_PARAMS MAX_PROGRAM_ENV_PARAMS 00206 #define MAX_NV_VERTEX_PROGRAM_INPUTS 16 00207 #define MAX_NV_VERTEX_PROGRAM_OUTPUTS 15 00208 00212 #define MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS 1024 /* 72 for GL_ARB_f_p */ 00213 #define MAX_NV_FRAGMENT_PROGRAM_TEMPS 96 00214 #define MAX_NV_FRAGMENT_PROGRAM_PARAMS 64 00215 #define MAX_NV_FRAGMENT_PROGRAM_INPUTS 12 00216 #define MAX_NV_FRAGMENT_PROGRAM_OUTPUTS 3 00217 #define MAX_NV_FRAGMENT_PROGRAM_WRITE_ONLYS 2 00218 00223 #define MAX_VERTEX_ATTRIBS 16 00224 #define MAX_VERTEX_TEXTURE_IMAGE_UNITS MAX_TEXTURE_IMAGE_UNITS 00225 #define MAX_COMBINED_TEXTURE_IMAGE_UNITS MAX_TEXTURE_IMAGE_UNITS 00226 00231 #define MAX_DRAW_BUFFERS 4 00232 00237 #define MAX_COLOR_ATTACHMENTS 8 00238 00246 00247 00251 #define TRIANGLE_WALK_DOUBLE 0 00252 00253 00257 #ifndef DEFAULT_SOFTWARE_DEPTH_BITS 00258 #define DEFAULT_SOFTWARE_DEPTH_BITS 16 00259 #endif 00260 00261 #if DEFAULT_SOFTWARE_DEPTH_BITS <= 16 00262 #define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort 00263 #else 00264 #define DEFAULT_SOFTWARE_DEPTH_TYPE GLuint 00265 #endif 00266 00267 00271 #define STENCIL_BITS 8 00272 00273 00277 #ifndef CHAN_BITS 00278 #define CHAN_BITS 8 00279 #endif 00280 00281 00282 /* 00283 * Color channel component order 00284 * 00285 * \note Changes will almost certainly cause problems at this time. 00286 */ 00287 #define RCOMP 0 00288 #define GCOMP 1 00289 #define BCOMP 2 00290 #define ACOMP 3 00291 00292 00298 #define MAX_CLIPPED_VERTICES ((2 * (6 + MAX_CLIP_PLANES))+1) 00299 00300 00301 #endif /* MESA_CONFIG_H_INCLUDED */ Generated on Fri May 25 2012 04:16:28 for ReactOS by
1.7.6.1
|