summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-05-21 16:41:03 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-05-21 16:41:03 +0000
commit3893e638e6521b9c070e01c0b31d22754ff97a88 (patch)
treef92282e8466199dd45c72e6725c3fa0263bae2e0 /src/mesa/main/mtypes.h
parente7e38a47a8dd567fd5a848cbef09b14018fb2fe0 (diff)
initial support for GL_SGIS_generate_mipmap extension
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 651b6bb7b9..b8c2ec7af6 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1,4 +1,4 @@
-/* $Id: mtypes.h,v 1.41 2001/04/28 08:39:17 keithw Exp $ */
+/* $Id: mtypes.h,v 1.42 2001/05/21 16:41:03 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -430,12 +430,9 @@ struct gl_hint_attrib {
GLenum LineSmooth;
GLenum PolygonSmooth;
GLenum Fog;
-
- /* GL_EXT_clip_volume_hint */
- GLenum ClipVolumeClipping;
-
- /* GL_ARB_texture_compression */
- GLenum TextureCompression;
+ GLenum ClipVolumeClipping; /* GL_EXT_clip_volume_hint */
+ GLenum TextureCompression; /* GL_ARB_texture_compression */
+ GLenum GenerateMipmap; /* GL_SGIS_generate_mipmap */
};
@@ -826,6 +823,8 @@ struct gl_texture_object {
GLchan ShadowAmbient; /* GL_SGIX_shadow_ambient */
GLint _MaxLevel; /* actual max mipmap level (q in the spec) */
GLfloat _MaxLambda; /* = _MaxLevel - BaseLevel (q - b in spec) */
+ GLboolean GenerateMipmap; /* GL_SGIS_generate_mipmap */
+
struct gl_texture_image *Image[MAX_TEXTURE_LEVELS];
/* Texture cube faces */
@@ -1218,6 +1217,7 @@ struct gl_extensions {
GLboolean NV_texgen_reflection;
GLboolean SGI_color_matrix;
GLboolean SGI_color_table;
+ GLboolean SGIS_generate_mipmap;
GLboolean SGIS_pixel_texture;
GLboolean SGIS_texture_edge_clamp;
GLboolean SGIX_depth_texture;