-/* $Id: stencil.h,v 1.2 1999/11/11 01:22:27 brianp Exp $ */
+/* $Id: stencil.h,v 1.4 1999/12/13 04:08:27 joukj Exp $ */
/*
* Mesa 3-D graphics library
-extern GLint gl_stencil_span( GLcontext *ctx,
- GLuint n, GLint x, GLint y, GLubyte mask[] );
-
-
-extern void gl_depth_stencil_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
- const GLdepth z[], GLubyte mask[] );
-
-
-extern GLint gl_stencil_pixels( GLcontext *ctx,
- GLuint n, const GLint x[], const GLint y[],
- GLubyte mask[] );
+extern GLboolean
+gl_stencil_and_depth_test_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
+ const GLdepth z[], GLubyte mask[] );
+#ifdef VMS /* VMS allows externals of 31 characters maximum */
+#define gl_stencil_and_depth_test_pixels gl_stencil_and_depth_test_pixel
+#endif
+extern GLboolean
+gl_stencil_and_depth_test_pixels( GLcontext *ctx, GLuint n,
+ const GLint x[], const GLint y[],
+ const GLdepth z[], GLubyte mask[] );
-extern void gl_depth_stencil_pixels( GLcontext *ctx,
- GLuint n, const GLint x[],
- const GLint y[], const GLdepth z[],
- GLubyte mask[] );
-extern void gl_read_stencil_span( GLcontext *ctx,
- GLuint n, GLint x, GLint y,
- GLstencil stencil[] );
+extern void
+gl_read_stencil_span( GLcontext *ctx, GLint n, GLint x, GLint y,
+ GLstencil stencil[] );
-extern void gl_write_stencil_span( GLcontext *ctx,
- GLuint n, GLint x, GLint y,
- const GLstencil stencil[] );
+extern void
+gl_write_stencil_span( GLcontext *ctx, GLint n, GLint x, GLint y,
+ const GLstencil stencil[] );
extern void gl_alloc_stencil_buffer( GLcontext *ctx );