From: Brian Paul Date: Fri, 15 Feb 2002 16:37:36 +0000 (+0000) Subject: Finished up GL_ARB_depth_texture and GL_ARB_shadow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e47ff7b9c4b7092c9a1d6c29eb03f440cd701a0;p=mesa.git Finished up GL_ARB_depth_texture and GL_ARB_shadow --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 14b9f0188a6..626602fa909 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.64 2002/02/13 00:53:19 keithw Exp $ */ +/* $Id: mtypes.h,v 1.65 2002/02/15 16:37:36 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -362,7 +362,6 @@ struct gl_current_attrib { GLuint RasterIndex; /* Current raster index */ GLfloat *RasterTexCoord; /* Current raster texcoord */ GLfloat RasterMultiTexCoord[MAX_TEXTURE_UNITS][4]; - GLfloat RasterFogCoord; GLboolean RasterPosValid; /* Raster pos valid flag */ }; @@ -900,7 +899,7 @@ struct gl_texture_object { GLchan ShadowAmbient; /* GL_SGIX/ARB_shadow_ambient */ GLenum CompareMode; /* GL_ARB_shadow */ GLenum CompareFunc; /* GL_ARB_shadow */ - GLenum CompareResult; /* GL_ARB_shadow */ + GLenum DepthMode; /* GL_ARB_depth_texture */ GLint _MaxLevel; /* actual max mipmap level (q in the spec) */ GLfloat _MaxLambda; /* = _MaxLevel - BaseLevel (q - b in spec) */ GLboolean GenerateMipmap; /* GL_SGIS_generate_mipmap */ @@ -1377,6 +1376,7 @@ struct gl_extensions { /* Flags to quickly test if certain extensions are available. * Not every extension needs to have such a flag, but it's encouraged. */ + GLboolean ARB_depth_texture; GLboolean ARB_imaging; GLboolean ARB_multisample; GLboolean ARB_multitexture; @@ -1429,7 +1429,7 @@ struct gl_extensions { GLboolean SGIS_generate_mipmap; GLboolean SGIS_pixel_texture; GLboolean SGIS_texture_edge_clamp; - GLboolean SGIX_depth_texture; /* or GL_ARB_depth_texture */ + GLboolean SGIX_depth_texture; GLboolean SGIX_pixel_texture; GLboolean SGIX_shadow; GLboolean SGIX_shadow_ambient; /* or GL_ARB_shadow_ambient */