summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_fog.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-02-17 17:30:57 +0000
committerBrian Paul <[email protected]>2002-02-17 17:30:57 +0000
commit711e27fda27e4235b20a4cf73c2767c984ab2b81 (patch)
tree55eb0c7433328b7dbee613eb6fdc75286544d50c /src/mesa/swrast/s_fog.h
parent983bc3e018ad6a36f0feeac70974cb30a90698b8 (diff)
Simplified fog code.
Diffstat (limited to 'src/mesa/swrast/s_fog.h')
-rw-r--r--src/mesa/swrast/s_fog.h33
1 files changed, 5 insertions, 28 deletions
diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h
index e254f8dd51d..c7b234aee6e 100644
--- a/src/mesa/swrast/s_fog.h
+++ b/src/mesa/swrast/s_fog.h
@@ -1,10 +1,10 @@
-/* $Id: s_fog.h,v 1.8 2002/02/02 21:40:33 brianp Exp $ */
+/* $Id: s_fog.h,v 1.9 2002/02/17 17:30:58 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.5
+ * Version: 4.1
*
- * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -36,34 +36,11 @@
extern GLfloat
_mesa_z_to_fogfactor(GLcontext *ctx, GLfloat z);
-
-extern void
-_mesa_fog_rgba_pixels( const GLcontext *ctx, struct sw_span *span,
- GLchan rgba[][4]);
extern void
-_mesa_fog_rgba_pixels_with_array( const GLcontext *ctx, struct sw_span *span,
- const GLfloat fog[], GLchan rgba[][4] );
-
+_mesa_fog_rgba_span( const GLcontext *ctx, struct sw_span *span );
extern void
-_mesa_fog_ci_pixels( const GLcontext *ctx, struct sw_span *span,
- GLuint indx[]);
-extern void
-_mesa_fog_ci_pixels_with_array( const GLcontext *ctx, struct sw_span *span,
- const GLfloat fog[], GLuint index[] );
+_mesa_fog_ci_span( const GLcontext *ctx, struct sw_span *span );
-extern void
-_mesa_win_fog_coords_from_z( const GLcontext *ctx,
- GLuint n,
- const GLdepth z[],
- GLfloat fogcoord[] );
-
-extern void
-_mesa_depth_fog_rgba_pixels( const GLcontext *ctx, struct sw_span *span,
- GLchan rgba[][4] );
-
-extern void
-_mesa_depth_fog_ci_pixels( const GLcontext *ctx, struct sw_span *span,
- GLuint index[] );
#endif