diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-07-06 14:52:01 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-07-06 14:52:01 +0000 |
commit | a1a1b9bf8b12615ec8dfb2ad346a278f6c344b74 (patch) | |
tree | d1279398962b763a9fed4278b2564f4c0ba44935 | |
parent | 675835139a439a0b287f0fcb8ddc212da35f6620 (diff) |
changed MAX_WIDTH to 2048
-rw-r--r-- | src/mesa/main/config.h | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 9affa9c4d3..9151e680a7 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -1,10 +1,10 @@ -/* $Id: config.h,v 1.2 1999/11/11 01:22:25 brianp Exp $ */ +/* $Id: config.h,v 1.1.1.1.2.1 2000/07/06 14:52:01 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.3 + * Version: 3.2.1 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -25,12 +25,6 @@ */ -/* - * Tunable configuration parameters. - */ - - - #ifndef CONFIG_H #define CONFIG_H @@ -40,7 +34,9 @@ /* + * * OpenGL implementation limits + * */ /* Maximum modelview matrix stack depth: */ @@ -103,16 +99,17 @@ #define MAX_TEXTURE_UNITS 2 /* Maximum viewport size: */ -#define MAX_WIDTH 1600 +#define MAX_WIDTH 2048 #define MAX_HEIGHT 1200 /* Maxmimum size for CVA. May be overridden by the drivers. */ #define MAX_ARRAY_LOCK_SIZE 3000 - /* + * * Mesa-specific parameters + * */ @@ -122,9 +119,6 @@ #define ACCUM_BITS 16 -/* - * Bits per depth buffer value: 16 or 32 - */ #ifdef MESAD3D /* Mesa / Direct3D driver only */ extern float g_DepthScale, g_MaxDepth; @@ -132,6 +126,9 @@ # define DEPTH_SCALE g_DepthScale # define MAX_DEPTH g_MaxDepth #else + /* + * Bits per depth buffer value: 16 or 32 + */ # define DEPTH_BITS 16 # if DEPTH_BITS==16 # define MAX_DEPTH 0xffff @@ -194,6 +191,19 @@ #define VB_SIZE (VB_MAX + VB_MAX_CLIPPED_VERTS) +/* + * + * For X11 driver only: + * + */ + +/* + * When defined, use 6x6x6 dithering instead of 5x9x5. + * 5x9x5 better for general colors, 6x6x6 better for grayscale. + */ +/*#define DITHER666*/ + + typedef struct gl_context GLcontext; |