diff options
author | Keith Whitwell <[email protected]> | 2001-06-28 17:34:14 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-06-28 17:34:14 +0000 |
commit | 47a28c0b4d4ca27592e3cbb8e4b17d1cd8f7997d (patch) | |
tree | 0fdce5799b53ba8efcb3b30190fa746123cbee3e /src/mesa/tnl/t_context.h | |
parent | 206eda8b69ab3c63e9597015189f49d1bda9356f (diff) |
restore normal length optimization in dlists
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 226b877d852..a7ecb346b70 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -1,4 +1,4 @@ -/* $Id: t_context.h,v 1.28 2001/06/04 16:09:28 keithw Exp $ */ +/* $Id: t_context.h,v 1.29 2001/06/28 17:34:14 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -207,6 +207,7 @@ struct immediate GLfloat Color[IMM_SIZE][4]; GLfloat Obj[IMM_SIZE][4]; GLfloat Normal[IMM_SIZE][3]; + GLfloat *NormalLengthPtr; GLfloat TexCoord0[IMM_SIZE][4]; /* just VERT_TEX0 */ GLuint Elt[IMM_SIZE]; GLubyte EdgeFlag[IMM_SIZE]; @@ -256,6 +257,7 @@ typedef struct vertex_buffer GLubyte ClipOrMask; /* VERT_CLIP (3) */ GLubyte *ClipMask; /* VERT_CLIP (4) */ GLvector3f *NormalPtr; /* VERT_NORM */ + GLfloat *NormalLengthPtr; /* VERT_NORM */ GLboolean *EdgeFlag; /* VERT_EDGE */ GLvector4f *TexCoordPtr[MAX_TEXTURE_UNITS]; /* VERT_TEX_0..n */ GLvector1ui *IndexPtr[2]; /* VERT_INDEX */ @@ -525,6 +527,7 @@ typedef struct { */ GLboolean NeedProjCoords; GLboolean LoopbackDListCassettes; + GLboolean CalcDListNormalLengths; /* Derived state and storage for _tnl_eval_vb: */ |