diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-21 21:47:45 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-21 21:47:45 +0000 |
commit | 418ac00e7583bf3136816a43b3357e0d0b0c776d (patch) | |
tree | 4e75fbf211fff0700c85f2f69d75e0b535ba1efb /src/mesa/main/mtypes.h | |
parent | 068a4812fc1d9e321aa65a91ceb8bc824bedc69a (diff) |
GL_SGI_texture_color_table extension (Eric Plante)
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 353dc0d471..37268c2afc 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.99 2003/01/21 15:49:15 brianp Exp $ */ +/* $Id: mtypes.h,v 1.100 2003/01/21 21:47:50 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -975,6 +975,10 @@ struct gl_texture_attrib { /* GL_EXT_shared_texture_palette */ GLboolean SharedPalette; struct gl_color_table Palette; + /* GL_SGI_texture_color_table */ + GLfloat ColorTableScale[4]; + GLfloat ColorTableBias[4]; + GLboolean ColorTableEnabled; }; @@ -1395,6 +1399,7 @@ struct gl_extensions { GLboolean NV_vertex_program1_1; GLboolean SGI_color_matrix; GLboolean SGI_color_table; + GLboolean SGI_texture_color_table; GLboolean SGIS_generate_mipmap; GLboolean SGIS_pixel_texture; GLboolean SGIS_texture_edge_clamp; @@ -1715,6 +1720,8 @@ struct __GLcontextRec { struct gl_color_table ProxyPostConvolutionColorTable; struct gl_color_table PostColorMatrixColorTable; struct gl_color_table ProxyPostColorMatrixColorTable; + struct gl_color_table TextureColorTable; + struct gl_color_table ProxyTextureColorTable; struct program_state Program; /* for vertex or fragment progs */ struct vertex_program_state VertexProgram; /* GL_NV_vertex_program */ |