diff options
author | Keith Whitwell <[email protected]> | 2000-10-27 16:44:40 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-10-27 16:44:40 +0000 |
commit | fe5d67d95f3a5fc84c5421d409a6464642aaf2cb (patch) | |
tree | e425a9d97e9e1bbdf4848b313c7c1548db11cb36 /src/mesa/main/fog.h | |
parent | ba58a6665f21319a636ec4c09f7f592fbc8e36b5 (diff) |
Implement EXT_fog_coord and EXT_secondary_color.
EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
Diffstat (limited to 'src/mesa/main/fog.h')
-rw-r--r-- | src/mesa/main/fog.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/src/mesa/main/fog.h b/src/mesa/main/fog.h index bf781ffa216..d9b30d6000b 100644 --- a/src/mesa/main/fog.h +++ b/src/mesa/main/fog.h @@ -1,4 +1,4 @@ -/* $Id: fog.h,v 1.4 2000/04/05 22:08:54 brianp Exp $ */ +/* $Id: fog.h,v 1.5 2000/10/27 16:44:40 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -32,8 +32,6 @@ #include "types.h" -extern struct gl_pipeline_stage gl_fog_coord_stage; - extern void _mesa_Fogf(GLenum pname, GLfloat param); @@ -57,12 +55,32 @@ _mesa_fog_vertices( struct vertex_buffer *VB ); extern void _mesa_fog_rgba_pixels( const GLcontext *ctx, - GLuint n, const GLdepth z[], + GLuint n, const GLfixed fog[], GLubyte rgba[][4] ); extern void _mesa_fog_ci_pixels( const GLcontext *ctx, - GLuint n, const GLdepth z[], GLuint indx[] ); + GLuint n, const GLfixed fog[], GLuint indx[] ); + + +extern void +_mesa_make_win_fog_coords( struct vertex_buffer *VB ); + + +extern void +_mesa_win_fog_coords_from_z( const GLcontext *ctx, + GLuint n, + const GLdepth z[], + GLfixed fogcoord[] ); + +extern void +_mesa_depth_fog_rgba_pixels( const GLcontext *ctx, + GLuint n, const GLdepth z[], GLubyte rgba[][4] ); + +extern void +_mesa_depth_fog_ci_pixels( const GLcontext *ctx, + GLuint n, const GLdepth z[], GLuint index[] ); + extern void |