summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/stencil.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-12-10 16:15:04 +0000
committerBrian Paul <[email protected]>1999-12-10 16:15:04 +0000
commit5ee41bda2cbcaf77b8ce08f1735141a68a872751 (patch)
tree1a9b9844ac7aef514425558e8d4272405ab1ba4c /src/mesa/main/stencil.h
parent86d518ec5b12248a985dc28021a2f8f4a2a2e525 (diff)
updated for hardware stencil support
Diffstat (limited to 'src/mesa/main/stencil.h')
-rw-r--r--src/mesa/main/stencil.h35
1 files changed, 14 insertions, 21 deletions
diff --git a/src/mesa/main/stencil.h b/src/mesa/main/stencil.h
index 8d8cbda4bc2..f1a9d74eae8 100644
--- a/src/mesa/main/stencil.h
+++ b/src/mesa/main/stencil.h
@@ -1,4 +1,4 @@
-/* $Id: stencil.h,v 1.2 1999/11/11 01:22:27 brianp Exp $ */
+/* $Id: stencil.h,v 1.3 1999/12/10 16:15:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -49,33 +49,26 @@ _mesa_StencilOp( GLenum fail, GLenum zfail, GLenum zpass );
-extern GLint gl_stencil_span( GLcontext *ctx,
- GLuint n, GLint x, 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[] );
-extern void gl_depth_stencil_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
- const GLdepth z[], GLubyte mask[] );
+extern GLboolean
+gl_stencil_and_depth_test_pixels( GLcontext *ctx, GLuint n,
+ const GLint x[], const 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 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 );