more work on GL_ARB_texture_compression
[mesa.git] / src / mesa / main / fog.h
index cf9dcebaf7d950eaefa324c0bb2b01832e425976..bf781ffa2161173ba03375bc722f229f26f90568 100644 (file)
@@ -1,10 +1,10 @@
-/* $Id: fog.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: fog.h,v 1.4 2000/04/05 22:08:54 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  3.1
+ * Version:  3.3
  * 
- * Copyright (C) 1999  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2000  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"),
@@ -25,7 +25,6 @@
  */
 
 
-
 #ifndef FOG_H
 #define FOG_H
 
 #include "types.h"
 
 
-extern void gl_Fogfv( GLcontext *ctx, GLenum pname, const GLfloat *params );
+extern struct gl_pipeline_stage gl_fog_coord_stage;
+
+
+extern void
+_mesa_Fogf(GLenum pname, GLfloat param);
+
+
+extern void
+_mesa_Fogi(GLenum pname, GLint param );
+
+
+extern void
+_mesa_Fogfv(GLenum pname, const GLfloat *params );
+
+
+extern void
+_mesa_Fogiv(GLenum pname, const GLint *params );
+
+
 
+extern void
+_mesa_fog_vertices( struct vertex_buffer *VB );
 
-extern void gl_fog_vertices( struct vertex_buffer *VB );
+extern void
+_mesa_fog_rgba_pixels( const GLcontext *ctx,
+                       GLuint n, const GLdepth z[],
+                       GLubyte rgba[][4] );
 
-extern void gl_fog_rgba_pixels( const GLcontext *ctx,
-                                GLuint n, const GLdepth z[],
-                                GLubyte rgba[][4] );
+extern void
+_mesa_fog_ci_pixels( const GLcontext *ctx,
+                     GLuint n, const GLdepth z[], GLuint indx[] );
 
-extern void gl_fog_ci_pixels( const GLcontext *ctx,
-                              GLuint n, const GLdepth z[], GLuint indx[] );
 
+extern void
+_mesa_init_fog( void );
 
-extern void gl_init_fog( void );
 
 #endif