more work on GL_ARB_texture_compression
[mesa.git] / src / mesa / main / clip.h
index 03e09ca7e55155462e421a508cee5e3db1ca7f3c..abf2f7e9ce0abb99d8135b01e4a3e17300bf8322 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: clip.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: clip.h,v 1.3 1999/11/11 01:22:25 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
 
 
 
-typedef GLuint (*clip_line_func)( struct vertex_buffer *VB, 
-                                 GLuint *i, GLuint *j,
-                                 GLubyte mask);
-typedef GLuint (*clip_poly_func)( struct vertex_buffer *VB,
-                                 GLuint n, GLuint vlist[],
-                                 GLubyte mask );
 
-
-extern clip_poly_func gl_poly_clip_tab[5];
-extern clip_line_func gl_line_clip_tab[5];
+#define CLIP_TAB_EDGEFLAG 1
 
 extern void gl_init_clip(void);
 
@@ -71,11 +63,9 @@ extern GLuint gl_userclip_point( GLcontext* ctx, const GLfloat v[] );
 extern void gl_user_cliptest( struct vertex_buffer *VB );
 
 
-extern void gl_ClipPlane( GLcontext* ctx,
-                          GLenum plane, const GLfloat *equation );
+extern void _mesa_ClipPlane( GLenum plane, const GLdouble *equation );
 
-extern void gl_GetClipPlane( GLcontext* ctx,
-                             GLenum plane, GLdouble *equation );
+extern void _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
 
 
 /*