config.h revision 610d59981a9f43fefe29b34ef19c184d28e2bef5
1610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul/* $Id: config.h,v 1.43 2003/01/14 04:55:45 brianp Exp $ */ 2afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 3afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 4afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Mesa 3-D graphics library 5610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul * Version: 5.1 622144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * 7610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. 822144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * 9afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Permission is hereby granted, free of charge, to any person obtaining a 10afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * copy of this software and associated documentation files (the "Software"), 11afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * to deal in the Software without restriction, including without limitation 12afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 13afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * and/or sell copies of the Software, and to permit persons to whom the 14afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Software is furnished to do so, subject to the following conditions: 1522144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * 16afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * The above copyright notice and this permission notice shall be included 17afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * in all copies or substantial portions of the Software. 1822144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * 19afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 20afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 22afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 23afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 24afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 26afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 27afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 28afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 29afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Tunable configuration parameters. 30afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 31afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 32afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 33afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 34afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#ifndef CONFIG_H 35afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define CONFIG_H 36afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 37afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#ifdef HAVE_CONFIG_H 38afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#include "conf.h" 39afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 40afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 41fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 42afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 43afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * OpenGL implementation limits 44afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 45afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 46afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum modelview matrix stack depth: */ 47afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_MODELVIEW_STACK_DEPTH 32 48afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 49afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum projection matrix stack depth: */ 50afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_PROJECTION_STACK_DEPTH 32 51afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 52afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum texture matrix stack depth: */ 53afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_TEXTURE_STACK_DEPTH 10 54afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 55250069dbb443f26f4dcc409c9c873019a5f50f9dBrian Paul/* Maximum color matrix stack depth: */ 56250069dbb443f26f4dcc409c9c873019a5f50f9dBrian Paul#define MAX_COLOR_STACK_DEPTH 4 57250069dbb443f26f4dcc409c9c873019a5f50f9dBrian Paul 5830f51ae067379c2b3573c06b707d25a9704df7beBrian Paul/* Vertex program matrix stacks: */ 5930f51ae067379c2b3573c06b707d25a9704df7beBrian Paul#define MAX_PROGRAM_MATRICES 8 6030f51ae067379c2b3573c06b707d25a9704df7beBrian Paul#define MAX_PROGRAM_STACK_DEPTH 4 6130f51ae067379c2b3573c06b707d25a9704df7beBrian Paul 62afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum attribute stack depth: */ 63afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_ATTRIB_STACK_DEPTH 16 64afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 65afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum client attribute stack depth: */ 66afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_CLIENT_ATTRIB_STACK_DEPTH 16 67afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 68afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum recursion depth of display list calls: */ 69afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_LIST_NESTING 64 70afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 71afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum number of lights: */ 72afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_LIGHTS 8 73afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 74afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum user-defined clipping planes: */ 75afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_CLIP_PLANES 6 76afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 77afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum pixel map lookup table size: */ 78afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_PIXEL_MAP_TABLE 256 79afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 80afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Number of auxillary color buffers: */ 81afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define NUM_AUX_BUFFERS 0 82afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 83afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum order (degree) of curves: */ 84afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#ifdef AMIGA 85afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg# define MAX_EVAL_ORDER 12 86afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#else 87afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg# define MAX_EVAL_ORDER 30 88afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 89afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 90afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maximum Name stack depth */ 91afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_NAME_STACK_DEPTH 64 92afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 93afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Min and Max point sizes and granularity */ 94afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MIN_POINT_SIZE 1.0 956c408b46678637959dba04663fbc34eb9c4bc397Brian Paul#define MAX_POINT_SIZE 20.0 96afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define POINT_SIZE_GRANULARITY 0.1 97afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 98afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Min and Max line widths and granularity */ 99afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MIN_LINE_WIDTH 1.0 100afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_LINE_WIDTH 10.0 10165cd4d80c4093e44e6a340b41e7bae3489b7ea4aBrian Paul#define LINE_WIDTH_GRANULARITY 0.1 102afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 10313811376c99addb0616c9397cc7d5715befcd8d4Brian Paul/* Max texture palette / color table size */ 10413811376c99addb0616c9397cc7d5715befcd8d4Brian Paul#define MAX_COLOR_TABLE_SIZE 256 105afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 106cd1cefae9146fc14b35ee93a04bdb1b1590fba7bBrian Paul/* Number of 1D/2D texture mipmap levels */ 107afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_TEXTURE_LEVELS 12 108afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 109cd1cefae9146fc14b35ee93a04bdb1b1590fba7bBrian Paul/* Number of 3D texture mipmap levels */ 110cd1cefae9146fc14b35ee93a04bdb1b1590fba7bBrian Paul#define MAX_3D_TEXTURE_LEVELS 8 111cd1cefae9146fc14b35ee93a04bdb1b1590fba7bBrian Paul 1128afe7de8deaf3c9613fd68b344de8c52b02b1879Brian Paul/* Number of cube texture mipmap levels - GL_ARB_texture_cube_map */ 113cd1cefae9146fc14b35ee93a04bdb1b1590fba7bBrian Paul#define MAX_CUBE_TEXTURE_LEVELS 12 114cd1cefae9146fc14b35ee93a04bdb1b1590fba7bBrian Paul 1158afe7de8deaf3c9613fd68b344de8c52b02b1879Brian Paul/* Maximum rectangular texture size - GL_NV_texture_rectangle */ 1168afe7de8deaf3c9613fd68b344de8c52b02b1879Brian Paul#define MAX_TEXTURE_RECT_SIZE 2048 1178afe7de8deaf3c9613fd68b344de8c52b02b1879Brian Paul 118afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Number of texture units - GL_ARB_multitexture */ 11988f3b89a2cb77766d2009b9868c44e03abe2dbb2Keith Whitwell#define MAX_TEXTURE_UNITS 8 120afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 121610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul/* New: separate numbers of texture coordinates and texture image units. 122610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul * These values will eventually replace most instances of MAX_TEXTURE_UNITS. 123610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul * We should always have MAX_TEXTURE_COORD_UNITS <= MAX_TEXTURE_IMAGE_UNITS. 124610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul * And, GL_MAX_TEXTURE_UNITS <= MAX_TEXTURE_COORD_UNITS. 125610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul */ 126610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_TEXTURE_COORD_UNITS 8 127610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_TEXTURE_IMAGE_UNITS 8 128610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul 129a38e117fe61efeee57adfb142296e213b6ca1ba0Brian Paul/* Maximum viewport/image size: */ 130a38e117fe61efeee57adfb142296e213b6ca1ba0Brian Paul#define MAX_WIDTH 2048 131f89035b8c45ff13392fe7cb3ce0c2bdb7e4166beBrian Paul#define MAX_HEIGHT 2048 132afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 133afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* Maxmimum size for CVA. May be overridden by the drivers. */ 134afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define MAX_ARRAY_LOCK_SIZE 3000 135afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 13665cd4d80c4093e44e6a340b41e7bae3489b7ea4aBrian Paul/* Subpixel precision for antialiasing, window coordinate snapping */ 13765cd4d80c4093e44e6a340b41e7bae3489b7ea4aBrian Paul#define SUB_PIXEL_BITS 4 13865cd4d80c4093e44e6a340b41e7bae3489b7ea4aBrian Paul 1390771d159d59a856135e375ba89f6af2a057d4f5bBrian Paul/* Size of histogram tables */ 1400771d159d59a856135e375ba89f6af2a057d4f5bBrian Paul#define HISTOGRAM_TABLE_SIZE 256 1410771d159d59a856135e375ba89f6af2a057d4f5bBrian Paul 14282b02f0ef24bf139778c8eec8d62dfa3366dff35Brian Paul/* Max convolution filter sizes */ 143a6d46f6b9922327fe9a268b003134a27ba8b931fBrian Paul#define MAX_CONVOLUTION_WIDTH 9 144a6d46f6b9922327fe9a268b003134a27ba8b931fBrian Paul#define MAX_CONVOLUTION_HEIGHT 9 145afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1461207bf057aeea3376e5e0f03f789a5d67ed4d29dBrian Paul/* GL_ARB_texture_compression */ 1471207bf057aeea3376e5e0f03f789a5d67ed4d29dBrian Paul#define MAX_COMPRESSED_TEXTURE_FORMATS 25 1481207bf057aeea3376e5e0f03f789a5d67ed4d29dBrian Paul 1492c3d34c905fa6b831a066afae83b938de05eb241Gareth Hughes/* GL_EXT_texture_filter_anisotropic */ 1502c3d34c905fa6b831a066afae83b938de05eb241Gareth Hughes#define MAX_TEXTURE_MAX_ANISOTROPY 16.0 1512c3d34c905fa6b831a066afae83b938de05eb241Gareth Hughes 15287c964d3885d84959f86d5d7d9c4358240b6da3cBrian Paul/* GL_EXT_texture_lod_bias */ 15387c964d3885d84959f86d5d7d9c4358240b6da3cBrian Paul#define MAX_TEXTURE_LOD_BIAS 4.0 15487c964d3885d84959f86d5d7d9c4358240b6da3cBrian Paul 155610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul/* GL_NV_vertex_program */ 156610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_VERTEX_PROGRAM_INSTRUCTIONS 128 157610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_VERTEX_PROGRAM_TEMPS 12 158610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_VERTEX_PROGRAM_PARAMS 96 159610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_VERTEX_PROGRAM_INPUTS 16 160610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_VERTEX_PROGRAM_OUTPUTS 15 161610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul 162610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul/* GL_NV_fragment_program */ 163610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS 128 164610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_FRAGMENT_PROGRAM_TEMPS 96 165610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_FRAGMENT_PROGRAM_PARAMS 64 166610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_FRAGMENT_PROGRAM_INPUTS 12 167610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_FRAGMENT_PROGRAM_OUTPUTS 7 168610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define MAX_NV_FRAGMENT_PROGRAM_WRITE_ONLYS 2 169610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul 1701207bf057aeea3376e5e0f03f789a5d67ed4d29dBrian Paul 171fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 172afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 173afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Mesa-specific parameters 174afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 175afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 176afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 177afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 178f431a3fb4dc1bf860203d79e54657e3a62bc50dfBrian Paul * Bits per accumulation buffer color component: 8, 16 or 32 179afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1804b334b2db68b1f448165c37fe756cc0aa80b56c5Brian Paul#define ACCUM_BITS 16 181afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 182afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 183fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* 18466202b75d561b2275022bea8b5936a7482c1c315Brian Paul * Bits per depth buffer value. Any reasonable value up to 31 will 18566202b75d561b2275022bea8b5936a7482c1c315Brian Paul * work. 32 doesn't work because of integer overflow problems in the 18666202b75d561b2275022bea8b5936a7482c1c315Brian Paul * rasterizer code. 187fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul */ 188a1503b00f863a48a517939a42d512f9cfe77f79cBrian Paul#ifndef DEFAULT_SOFTWARE_DEPTH_BITS 189ed30dfa1264ec8875a3162c3c8778bc703bf11d5Brian Paul#define DEFAULT_SOFTWARE_DEPTH_BITS 16 190a1503b00f863a48a517939a42d512f9cfe77f79cBrian Paul#endif 19166202b75d561b2275022bea8b5936a7482c1c315Brian Paul#if DEFAULT_SOFTWARE_DEPTH_BITS <= 16 192ed30dfa1264ec8875a3162c3c8778bc703bf11d5Brian Paul#define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort 19366202b75d561b2275022bea8b5936a7482c1c315Brian Paul#else 19466202b75d561b2275022bea8b5936a7482c1c315Brian Paul#define DEFAULT_SOFTWARE_DEPTH_TYPE GLuint 19566202b75d561b2275022bea8b5936a7482c1c315Brian Paul#endif 196ed30dfa1264ec8875a3162c3c8778bc703bf11d5Brian Paul 197afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 198afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 199afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 200afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Bits per stencil value: 8 201afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 202afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define STENCIL_BITS 8 203afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 204afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 205afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 206d8af040f5eb2dd2e40339b83a02f4a42b64619adBrian Paul * Bits per color channel: 8, 16 or 32 207afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 208785c3469f45ef4b96f2622cd1575229a1fd9d250Brian Paul#ifndef CHAN_BITS 209afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define CHAN_BITS 8 210785c3469f45ef4b96f2622cd1575229a1fd9d250Brian Paul#endif 211afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 212afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 213afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 214afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Color channel component order 215afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * (changes will almost certainly cause problems at this time) 216afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 217afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define RCOMP 0 218afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define GCOMP 1 219afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define BCOMP 2 220afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define ACOMP 3 221afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 222afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 2238dfc5b9863f08a713177fd92847573e17febbac9Brian Paul 2248dfc5b9863f08a713177fd92847573e17febbac9Brian Paul/* 2258dfc5b9863f08a713177fd92847573e17febbac9Brian Paul * Enable/disable features (blocks of code) by setting FEATURE_xyz to 0 or 1. 2268dfc5b9863f08a713177fd92847573e17febbac9Brian Paul */ 2278dfc5b9863f08a713177fd92847573e17febbac9Brian Paul#define FEATURE_NV_vertex_program 1 2288dfc5b9863f08a713177fd92847573e17febbac9Brian Paul 229610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul#define FEATURE_NV_fragment_program 1 230610d59981a9f43fefe29b34ef19c184d28e2bef5Brian Paul 2318dfc5b9863f08a713177fd92847573e17febbac9Brian Paul 2320ab16e01348a8feceda9ee55f14b035e400d3c01Brian Paul#endif /* CONFIG_H */ 233